commit | fd54f03d1bd08800a003b6058da46d2365005cc6 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Oct 08 21:06:56 2021 -0700 |
committer | Colin Cross <ccross@android.com> | Sat Oct 09 13:33:40 2021 -0700 |
tree | 396525195192d3af3afd6eb981e84c0f98fff950 | |
parent | b9b28016e645ffec7e9e5e2bdac85b6c6cf35d8e [diff] |
Use the Soong output as the checkbuild target Save disk space when building checkbuild by avoiding copying the Soong output file into the Make intermediates directory. All the same files in out/soong that were created by m checkbuild before this patch are still created after this patch. In the internal branch the total size of the out directory after m checkbuild is reduced from 1320 GB to 965 GB. Bug: 201816050 Test: m checkbuild Change-Id: I6370df44f9baab00fcfe30c072600fe58109954d
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.