summaryrefslogtreecommitdiff
path: root/rbesetup.sh
AgeCommit message (Collapse)Author
2023-11-15fix RE for metalava actions Anas Sulaiman
Some of those actions use unzip which is not available in the source tree and needs to be installed in the container. Bug: b/309783005 Test: Ran an android build and verified there are no local fallbacks from metalava actions. Change-Id: I360c3fb30e2eacc0615ed636115bce011bff5bf3
2023-11-01fix potential encoding issues in remote actions Anas Sulaiman
The new docker image contains all en_*.UTF-8 locales to ensure Java (and other) actions produce the correct bytes. Bug: b/300624128 Test: Ran an android build and verified there are no encoding issues in metalava outputs. Change-Id: Id1eab37edfc71b3b56f4ac38259407c0a1b10667
2022-05-27Update rbesetup.sh script to no longer set certain env variables Kousik Kumar
These environment variables are no longer needed to be set explicitly. Soong can set reasonable defaults for these variables. Bug: b/233382420 Change-Id: Ie07e93a68b9d7fa6de576efd976c208761ee0063
2021-07-14Add the ability to source RBE related scripts from envsetup.sh Kousik Kumar
This is so that developers don't have to remember to source a separate script to source RBE related variables. I'll modify the docs once this change is submitted. Test: Ran forrest build with fix for previous build failure - https://android-build.googleplex.com/builds/abtd/run/L72300000950316038 Bug: b/193407413 Change-Id: I16f057086e2ee4f5918816ea70dbb33d0f5e99ab
2021-07-13Revert "Add the ability to source RBE related scripts from envsetup.sh" Ahaan Ugale
This reverts commit 9aa9e47b8c3921037f779453341ae1a822d454ce. Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_rvc-qpr-dev-plus-aosp&target=ndk&lkgb=7546337&lkbb=7546521&fkbb=7546426, bug https://buganizer.corp.google.com/issues/193566521 Fix: 193566521 Change-Id: I7196a00006499f729baa86a252b0df6535c6aeaa
2021-07-12Add the ability to source RBE related scripts from envsetup.sh Kousik Kumar
This is so that developers don't have to remember to source a separate script to source RBE related variables. I'll modify the docs once this change is submitted. Test: USE_RBE=true source build/envsetup.sh sources RBE variables. USE_RBE=false source build/envsetup.sh does NOT source RBE variables. source build/envsetup.sh does NOT source RBE variables. Bug: b/193407413 Change-Id: Ib8abf4c307b02fbb0c63b8a62d7aeda8be42d0fb
2020-11-25Switch default execution strategy to racing for developer builds Kousik Kumar
This is to efficiently use both local and remote resources when using RBE for Android developers. Bug: b/170699893 Change-Id: I46bc3ff9c0d8d08e8f3aaa15076eb606737355af
2020-11-24Use unified cas uploads / downloads Kousik Kumar
This is to deduplciate uploads and downloads when running builds with RBE. Especially useful for certain Java / R8 / D8 actions that have JAR files as common inputs. Change-Id: I0459d4e5c89bd93e5c0c53195fdabccabec08674
2020-09-28Source rbesetup.sh from any location inside of a repo directory. Patrice Arruda
The current rbesetup.sh has to be source from the root directory of the checked out repo since it has a relative path to the sourced build/envsetup.sh script. A function was written in rbesetup.sh script to source the rbesetup.sh script anywhere inside of a checked out repo. Added additional error checking to validate the envsetup.sh is available and not to continue sourcing the script if envsetup.sh script is not found. Fixes: b/169438960 Test: Sourced the rbesetup script from * external directory * inside of a symlink * outside of repo (sourcing fails which is correct) * root repo Change-Id: I2db66a444074adca4d4ab87b8786e9044a3646f8
2020-08-26Unset USE_GOMA when using RBE. Ramy Medhat
Test: Ran rbesetup.sh after setting USE_GOMA Change-Id: Idf6c1b4f7591aed96d5365e461260060004d4494
2020-08-13Add function to export default values for RBE related variables Ramy Medhat
Test: ran rbesetup.sh and small build after. Change-Id: I429835f1bb6da75e2fcee7e9ddac6b11672121cd
2020-07-10Set ANDROID_ENABLE_METRICS_UPLOAD to the metrics_uploader path to upload ↵ Patrice Arruda
metrics. This is to collect metrics from our RBE dogfooders. This CL will be rolledback once the metrics pipeline is turned live. Bug: b/140638454 Test: source the script and then "m nothing". Monitored the uploading of the metrics. Change-Id: Ide996a44a5a651ed026d7c8272283675fbb092b5
2020-06-13rbe: Remove stray / Luca Stefani
Test: use_rbe m Change-Id: I5c1b1f07ac2079474c0f81935aaa1d3c035c51c4
2020-03-05Add an RBE setup script that developers can source to run RBE builds Kousik Kumar
Test: Ran "source build/envsetup.sh && source build/rbesetup.sh", then ran "use_rbe m" and that worked. Change-Id: I2413a3648e9b2ff680cab6fededc07bbdd43378f