commit | 23dcf76a36c4990af410dc54b0653b60b782e9bb | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Nov 11 16:04:34 2019 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Nov 12 13:59:49 2019 -0800 |
tree | 826dfbdcd571f2a60658275241742c7ad9a24583 | |
parent | 834b91f20eb26b2980fc34618cce4a387a3de5e9 [diff] |
Set pools manually for rules that can run in RBE or goma Use .KATI_NINJA_POOL := none to mark rules that can run in RBE or goma when they are enabled, which along with passing --default_pool=local_pool will allow moving remoteable jobs into the remote pool without relying on hacks in kati. Fixes: 143938974 Test: inspect pools in build-${TARGET-PRODUCT}.ninja for m USE_RBE=true Test: inspect pools in build-${TARGET-PRODUCT}.ninja for m USE_GOMA=true Change-Id: I08615ae1f2eaef9ff0ba253b8aa3d83ab57ebb27
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.