Merge "Add an RBE setup script that developers can source to run RBE builds"...
Merge "Add an RBE setup script that developers can source to run RBE builds" into rvc-dev am: 8a4d69f7 am: c2ff46a8 am: 33951261
Change-Id: I5ad0fa28bdadc7b9e7a97e3b695a436eccb39bad
# This function prefixes the given command with appropriate variables needed
# for the build to be executed with RBE.
function use_rbe(){
local RBE_LOG_DIR="/tmp"
local RBE_BINARIES_DIR="prebuilts/remoteexecution-client/latest/"
local DOCKER_IMAGE="gcr.io/androidbuild-re-dockerimage/android-build-remoteexec-image@sha256:582efb38f0c229ea39952fff9e132ccbe183e14869b39888010dacf56b360d62"
# Do not set an invocation-ID and let reproxy auto-generate one.