1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 19:17:44 +00:00

Meta: Move invoke_process_with_args.py to common location

This script was already used by both Ladybird and the Kernel, so move it
into Meta/gn/build instead.
This commit is contained in:
Andrew Kaster 2023-10-22 14:38:34 -06:00 committed by Andrew Kaster
parent 00826b2512
commit 10298f1e9a
6 changed files with 5 additions and 5 deletions

View file

@ -257,7 +257,7 @@ if (current_os == "mac") {
}
action("ladybird_create_icon") {
script = "//Meta/gn/secondary/Ladybird/invoke_process_with_args.py"
script = "//Meta/gn/build/invoke_process_with_args.py"
icon_path = "//Ladybird/Icons/macos/app_icon.iconset"
sources = [
"$icon_path/icon_128x128.png",

View file

@ -4,7 +4,7 @@ template("compile_qt_resource_file") {
action_foreach(target_name) {
forward_variables_from(invoker, [ "sources" ])
script = "//Meta/gn/secondary/Ladybird/invoke_process_with_args.py"
script = "//Meta/gn/build/invoke_process_with_args.py"
outputs = [ "$target_gen_dir/rcc_{{source_name_part}}.cpp" ]
depfile = "$target_gen_dir/rcc_{{source_name_part}}.cpp.d"

View file

@ -1,6 +0,0 @@
#!/usr/bin/env python3
import subprocess
import sys
sys.exit(subprocess.call(sys.argv[1:]))

View file

@ -4,7 +4,7 @@ template("moc_qt_objects") {
action_foreach(target_name) {
forward_variables_from(invoker, [ "sources" ])
script = "//Meta/gn/secondary/Ladybird/invoke_process_with_args.py"
script = "//Meta/gn/build/invoke_process_with_args.py"
outputs = [ "$target_gen_dir/moc_{{source_name_part}}.cpp" ]
args = [