Merge "Add function to export default values for RBE related variables" am: 2babdad949
am: ea5689db88
am: ec23f7e9c3
am: 3ea35d4f0a
Original change: https://android-review.googlesource.com/c/platform/build/+/1399249 Change-Id: I6fa8edc5f89c326f63e03ab62d0ae874f60a556f
This commit is contained in:
commit
df47be6cad
1 changed files with 11 additions and 0 deletions
11
rbesetup.sh
11
rbesetup.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue