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
Notes: sideshowbarker 2024-07-17 04:10:16 +09:00
6 changed files with 5 additions and 5 deletions

View file

@ -438,7 +438,7 @@ action("generate_version_header") {
if (current_cpu == "x86_64") {
action("preprocess_linker_script") {
script = "//Meta/gn/secondary/Ladybird/invoke_process_with_args.py"
script = "//Meta/gn/build/invoke_process_with_args.py"
inputs = [ "Arch/x86_64/linker.ld" ]
outputs = [ "$target_gen_dir/linker.ld" ]
args = [

View file

@ -31,7 +31,7 @@ executable("Prekernel_bin") {
}
action("postprocess_prekernel") {
script = "//Meta/gn/secondary/Ladybird/invoke_process_with_args.py"
script = "//Meta/gn/build/invoke_process_with_args.py"
inputs = [ "$target_out_dir/Prekernel_bin" ]
outputs = [ "$target_gen_dir/Prekernel" ]
deps = [ ":Prekernel_bin" ]

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

@ -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 = [