[build] Remove unused "exec_script" mode from gn_run_binary.py.

Change-Id: Ie7d184dfe1694985fdff318736f34b45267a5bf3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509141
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak
2026-06-03 12:33:31 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent 42ebe08081
commit 40acd32778
6 changed files with 15 additions and 35 deletions
+4 -6
View File
@@ -68,12 +68,10 @@ template("compile_platform") {
depfile = outputs[0] + ".d"
script = "$_dart_root/build/gn_run_binary.py"
args = [
"compiled_action",
rebase_path(get_label_info(compile_platform_tool, "root_out_dir") +
"/compile_platform.exe",
root_build_dir),
]
args =
[ rebase_path(get_label_info(compile_platform_tool, "root_out_dir") +
"/compile_platform.exe",
root_build_dir) ]
args += invoker.args
if (defined(invoker.single_root_scheme)) {
args += [ "--single-root-scheme=" + invoker.single_root_scheme ]
-1
View File
@@ -11,7 +11,6 @@ template("wasm_module") {
action(target_name) {
script = rebase_path("//build/gn_run_binary.py")
args = [
"compiled_action",
rebase_path("//third_party/emsdk/upstream/emscripten/emcc"),
"--no-entry",
rebase_path("//tests/web/wasm/ffi/${invoker.module_name}.c"),
+3 -6
View File
@@ -112,12 +112,9 @@ template("kernel_service_dill") {
scheme = "org-dartlang-kernel-service"
script = "$_dart_root/build/gn_run_binary.py"
args = [
"compiled_action",
rebase_path(
get_label_info(gen_kernel_tool, "root_out_dir") + "/gen_kernel.exe",
root_build_dir),
]
args = [ rebase_path(get_label_info(gen_kernel_tool, "root_out_dir") +
"/gen_kernel.exe",
root_build_dir) ]
args += invoker.extra_args
args += [
"--depfile=" + rebase_path(depfile, root_build_dir),