commit | bb5bb5e242fba18f7820ce14330f81afb8d76505 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Oct 10 10:16:23 2022 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Oct 10 10:16:23 2022 -0700 |
tree | 62bb2beb154408c400dddcf73aae2022faa5abf3 | |
parent | 6fcd760988aa06b8a2eeb5b972400b8e441604dc [diff] |
Limit cts-api-coverage parallelism to 8 cts-api-coverage is getting OOM killed in presubmit, likely due to spawning a copy of dexdeps in parallel for every cpu in the system. Limit it to 8 parallel subprocesses when running inside the build, as other processes are likely already using cpu and memory. Bug: 252817769 Test: m out/host/linux-x86/cts-api-coverage/system-api-coverage.html Change-Id: Iaae6561ac173d32c1b5af895cab76f3f898da4bb
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.