From f16d7988220b0970600e8913272f6348d899504e Mon Sep 17 00:00:00 2001 From: Kousik Kumar Date: Wed, 25 Nov 2020 12:14:16 -0500 Subject: [PATCH] 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 --- rbesetup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rbesetup.sh b/rbesetup.sh index 410ed86aa..ec39e6ef1 100644 --- a/rbesetup.sh +++ b/rbesetup.sh @@ -65,7 +65,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