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

Commit 3491bbdb authored by Ramy Medhat's avatar Ramy Medhat
Browse files

Add function to export default values for RBE related variables

Test: ran rbesetup.sh and small build after.
Change-Id: I429835f1bb6da75e2fcee7e9ddac6b11672121cd
parent 14350c57
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