Skip to content

Building Android with Remote Build Execution (RBE)

This documentation outlines how to configure and use Remote Build Execution (RBE) to accelerate Android builds. This includes utilizing remote caching with reclient, and optionally, remote execution. While BuildBuddy is featured in this guide, other remote executors such as Buildfarm, Buildbarn, and Nativelinks are also compatible with RBE and AOSP. Future iterations of this documentation will include specific configuration guides for these alternative executors, as well as detailed instructions on configuring and using remote caching independently.

Contents:

  1. Configure reclient: Download and extract the reclient package.
  2. Configure BuildBuddy (Optional): Integrate with BuildBuddy for enhanced RBE.
  3. Configure RBE: Set environment variables to enable and configure RBE.
  4. Build Normally: Build AOSP as you normally do.
  5. Results: View performance benchmarks.
  6. Contact: Get in touch for support.