Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea5689db authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add function to export default values for RBE related variables" am: 2babdad9

Original change: https://android-review.googlesource.com/c/platform/build/+/1399249

Change-Id: I7a122ffd97aa9619254ef69a4079f4797f10d317
parents e60f9825 2babdad9
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -33,4 +33,15 @@ function _export_metrics_uploader() {
  fi
}

# This function sets RBE specific environment variables needed for the build to
# executed by RBE. This file should be sourced once per checkout of Android code.
function _set_rbe_vars() {
  export USE_RBE="true"
  export RBE_CXX_EXEC_STRATEGY="remote_local_fallback"
  export RBE_JAVAC=1
  export RBE_R8=1
  export RBE_D8=1
}

_export_metrics_uploader
_set_rbe_vars