
Incredibuild Team
reading time:
In the world of Android Open Source Project (AOSP) development, there is a growing, uncomfortable asymmetry. On one side, AI coding assistants are helping developers write code at lightning speeds. On the other hand, the infrastructure used to build that code is stuck in the past, with build times often stretching from 2 to 6 hours.
This isn’t just a minor inconvenience; it’s a massive bottleneck that is stagnating the power of AI agents. If your code takes minutes to write but hours to build, your “rapid iteration” isn’t actually rapid.
The Complexity Beast: Why AOSP is Getting Slower
AOSP builds have reached a level of complexity that traditional tools struggle to manage. We’re seeing a “variant explosion” where the sheer number of targets, products, and SoCs is growing exponentially.
Furthermore, the pipeline itself is evolving. While older AOSP versions were primarily C++, modern builds (AOSP 12 through 16) are increasingly multi-language, incorporating Rust, Java, and Kotlin. In fact, C++ tasks now often account for less than 25% of a common AOSP target. This means legacy acceleration tools that only focus on C++ are leaving roughly 75% of your performance on the table.
Where Traditional Approaches Fall Short
When trying to tame AOSP build times, most organizations look at two standard options, both of which have significant drawbacks:
- ccache (The Partial Fix): While great for C++, it doesn’t cover the modern Rust, Java, or Kotlin components that now dominate the AOSP landscape.
- Bazel Migration (The High-Risk Fix): Migrating to Bazel is a massive undertaking that requires specialized expertise and constant maintenance. For many, the cost of supporting a dedicated “Bazel team” of 6 to 10 engineers is simply prohibitive.
The Incredibuild Approach: Universal Acceleration
At Incredibuild, we believe you shouldn’t have to serve your acceleration solution – it should serve you. Our approach to AOSP is built on a ‘Universal’ platform that requires zero changes to your existing build tools, scripts, or workflows. Incredibuild handles the Soong/Ninja complexity of AOSP 12–16 natively without script changes, as well as any other build such as QNX and Linux Kernel.
Our solution operates on two core pillars:
- Native Soong/Ninja Support: Incredibuild handles the inherent complexity of Soong and Ninja in AOSP 12–16 natively. There is no need for script modifications, whether you are running AOSP, QNX, or Linux Kernel builds.
- Comprehensive Tool Acceleration: We accelerate over 18 different tools. This includes Rust, Kotlin, Java, and Metalava, as well as Android App builds via Gradle.
- Eliminating Hidden Bottlenecks: We specifically target AOSP-specific tools that are often hidden bottlenecks, such as AIDL and HIDL compilers.
- Universal Shared Caching: We intercept processes – compilers, linkers, and tools – and hash their inputs. If inputs haven’t changed, we pull the result from a shared cache across all languages.
- Distributed Execution: On a cache miss, Incredibuild seamlessly distributes the task across a network of idle CPUs or cloud spot instances, turning every workstation into a supercomputer.
Proven Results in the Field
We aren’t just talking about marginal gains. In our recent benchmarks for AOSP 16, we reduced a full clean build on a 32-core machine from 1 hour and 46 minutes down to just 17 minutes – a 7x improvement.
| Project | Original Time | Accelerated Time | Impact |
| AAOS 15 (Major OEM) & Android Apps | 110 min | 33 min (with gradle caching) | 3.33x Faster |
| QNX ADAS AV | 50 min | 18 min | 3x Faster |
| ADAS Perception (EV OEM) | 32 min | 7 min | 4.5x Faster |
What’s Next: Moving Toward “Bulk Caching”
The future of AOSP acceleration lies in moving from “leaf caching” (caching individual tasks) to Bulk Caching. By skipping entire branches of the execution graph when nothing has changed, we’ve already seen internal lab results where that 17-minute build is further reduced to just 7 minutes.
Stop Guessing. Start Accelerating.
Slow builds are a tax on your innovation. They lead to long build queues, release friction, and escalating cloud costs.
Want to identify your team’s acceleration potential? Schedule a free AOSP site survey to analyze your team’s specific pipelines.
Table of Contents
Shorten your builds
Incredibuild empowers your teams to be productive and focus on innovating.