[build] Fix RBE fallback on pkg, ddc and dyn bots.
Also fix --check-clean. `ninja target -t commands` reports the commands for the default target, fix to use `ninja -t commands target` instead. Change-Id: Ice179290e75b083a96abadb7540ca960eafcc982 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/510440 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
a7c437e4d8
commit
b5eb9af663
@@ -11,11 +11,14 @@ template("wasm_module") {
|
||||
action(target_name) {
|
||||
script = rebase_path("//build/gn_run_binary.py")
|
||||
args = [
|
||||
rebase_path("//third_party/emsdk/upstream/emscripten/emcc"),
|
||||
rebase_path("//third_party/emsdk/upstream/emscripten/emcc",
|
||||
root_build_dir),
|
||||
"--no-entry",
|
||||
rebase_path("//tests/web/wasm/ffi/${invoker.module_name}.c"),
|
||||
rebase_path("//tests/web/wasm/ffi/${invoker.module_name}.c",
|
||||
root_build_dir),
|
||||
"-o",
|
||||
rebase_path("$root_out_dir/wasm/${invoker.module_name}.wasm"),
|
||||
rebase_path("$root_out_dir/wasm/${invoker.module_name}.wasm",
|
||||
root_build_dir),
|
||||
"-O",
|
||||
]
|
||||
inputs = [ "//tests/web/wasm/ffi/${invoker.module_name}.c" ]
|
||||
|
||||
Reference in New Issue
Block a user