summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kousik Kumar <kousikk@google.com> 2020-11-25 12:14:16 -0500
committer Kousik Kumar <kousikk@google.com> 2021-01-06 15:04:13 +0000
commit524428a647f67b498756f50546a5f26f5eb1a14c (patch)
tree2503943576087d7d8d66b9f16e8fad4c145945a6
parenta92f3e0804c5c758cd4c9f685479a9ce959a3de5 (diff)
Switch default execution strategy to racing for developer builds
This is to efficiently use both local and remote resources when using RBE for Android developers. Bug: b/170699893 Change-Id: I46bc3ff9c0d8d08e8f3aaa15076eb606737355af Merged-In: I46bc3ff9c0d8d08e8f3aaa15076eb606737355af
-rw-r--r--rbesetup.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/rbesetup.sh b/rbesetup.sh
index 3e78a57262..da257b9946 100644
--- a/rbesetup.sh
+++ b/rbesetup.sh
@@ -62,7 +62,10 @@ function _export_metrics_uploader() {
function _set_rbe_vars() {
unset USE_GOMA
export USE_RBE="true"
- export RBE_CXX_EXEC_STRATEGY="remote_local_fallback"
+ export RBE_CXX_EXEC_STRATEGY="racing"
+ export RBE_JAVAC_EXEC_STRATEGY="racing"
+ export RBE_R8_EXEC_STRATEGY="racing"
+ export RBE_D8_EXEC_STRATEGY="racing"
export RBE_use_unified_cas_ops="true"
export RBE_JAVAC=1
export RBE_R8=1