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
This commit is contained in:
Kousik Kumar 2020-11-25 12:14:16 -05:00
parent aa79007e04
commit f16d798822
1 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,10 @@ function _export_metrics_uploader() {
function _set_rbe_vars() { function _set_rbe_vars() {
unset USE_GOMA unset USE_GOMA
export USE_RBE="true" 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_use_unified_cas_ops="true"
export RBE_JAVAC=1 export RBE_JAVAC=1
export RBE_R8=1 export RBE_R8=1