Setup RBE
This replaces the old manual reclient download steps. It uses a patched reclient bundle.
1. Apply the Fix
Run these commands from the root of your Android source tree (where you normally run source build/envsetup.sh):
Clone the fix repository:
bashgit clone https://github.com/Rares6567/new_rbe_fix tutorialBuild the patched reclient bundle:
bashbash tutorial/scripts/build_patched_reclient.sh .Note the path of the output folder printed by the script (usually
tutorial/outputor similar). You will need it forRBE_DIR.Patch the build system defaults:
bashpatch -p1 < tutorial/patches/android-rbe-buildbuddyfix-defaults.patch
2. Next Steps
After applying this fix:
- Set
RBE_DIRto the output folder path produced bybuild_patched_reclient.sh(see Step 1 above). - Proceed to Configure BuildBuddy and then Configure Environment Variables to finish enabling RBE.