mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:37:43 +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:
parent
00826b2512
commit
10298f1e9a
6 changed files with 5 additions and 5 deletions
|
@ -438,7 +438,7 @@ action("generate_version_header") {
|
||||||
|
|
||||||
if (current_cpu == "x86_64") {
|
if (current_cpu == "x86_64") {
|
||||||
action("preprocess_linker_script") {
|
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" ]
|
inputs = [ "Arch/x86_64/linker.ld" ]
|
||||||
outputs = [ "$target_gen_dir/linker.ld" ]
|
outputs = [ "$target_gen_dir/linker.ld" ]
|
||||||
args = [
|
args = [
|
||||||
|
|
|
@ -31,7 +31,7 @@ executable("Prekernel_bin") {
|
||||||
}
|
}
|
||||||
|
|
||||||
action("postprocess_prekernel") {
|
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" ]
|
inputs = [ "$target_out_dir/Prekernel_bin" ]
|
||||||
outputs = [ "$target_gen_dir/Prekernel" ]
|
outputs = [ "$target_gen_dir/Prekernel" ]
|
||||||
deps = [ ":Prekernel_bin" ]
|
deps = [ ":Prekernel_bin" ]
|
||||||
|
|
|
@ -257,7 +257,7 @@ if (current_os == "mac") {
|
||||||
}
|
}
|
||||||
|
|
||||||
action("ladybird_create_icon") {
|
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"
|
icon_path = "//Ladybird/Icons/macos/app_icon.iconset"
|
||||||
sources = [
|
sources = [
|
||||||
"$icon_path/icon_128x128.png",
|
"$icon_path/icon_128x128.png",
|
||||||
|
|
|
@ -4,7 +4,7 @@ template("compile_qt_resource_file") {
|
||||||
action_foreach(target_name) {
|
action_foreach(target_name) {
|
||||||
forward_variables_from(invoker, [ "sources" ])
|
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" ]
|
outputs = [ "$target_gen_dir/rcc_{{source_name_part}}.cpp" ]
|
||||||
depfile = "$target_gen_dir/rcc_{{source_name_part}}.cpp.d"
|
depfile = "$target_gen_dir/rcc_{{source_name_part}}.cpp.d"
|
||||||
|
|
|
@ -4,7 +4,7 @@ template("moc_qt_objects") {
|
||||||
action_foreach(target_name) {
|
action_foreach(target_name) {
|
||||||
forward_variables_from(invoker, [ "sources" ])
|
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" ]
|
outputs = [ "$target_gen_dir/moc_{{source_name_part}}.cpp" ]
|
||||||
args = [
|
args = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue