Skip to content

Commit 04dc8cc

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[build] Expand when compiled_action / prebuilt_tool_action can run on RBE.
Change-Id: I37b0fb9ef35339b3b387879245c93f2f5d693d83 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/398952 Reviewed-by: Alexander Aprelev <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent 9f38338 commit 04dc8cc

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

build/dart/dart_action.gni

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ template("_compiled_action") {
8989
# it will exit with a non-zero status when the target program does.
9090
args = [ "compiled_action" ]
9191

92-
if (_is_dart && use_rbe &&
93-
(target_os == rbe_os ||
94-
(target_os == "android" && rbe_os == "linux")) &&
95-
target_cpu == rbe_cpu) {
92+
if (_is_dart && use_rbe && host_os == rbe_os && host_cpu == rbe_cpu) {
9693
args += [
9794
"/usr/bin/python3",
9895
rebase_path("//build/rbe/rewrapper_dart.py", root_build_dir),
@@ -142,10 +139,7 @@ template("_prebuilt_tool_action") {
142139

143140
args = [ "compiled_action" ]
144141

145-
if (_is_dart && use_rbe &&
146-
(target_os == rbe_os ||
147-
(target_os == "android" && rbe_os == "linux")) &&
148-
target_cpu == rbe_cpu) {
142+
if (_is_dart && use_rbe && host_os == rbe_os && host_cpu == rbe_cpu) {
149143
args += [
150144
"/usr/bin/python3",
151145
rebase_path("//build/rbe/rewrapper_dart.py", root_build_dir),

0 commit comments

Comments
 (0)