commit | 7a430fd4c8661f73afe070a858e7e56b86eaa86b | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Thu Jun 04 15:16:39 2020 +0100 |
committer | Martin Stjernholm <mast@google.com> | Thu Jun 11 01:09:07 2020 +0100 |
tree | 7788d63913e0095efd6bd5b60bd364ce88c2cb89 | |
parent | 9df45f6ec2662932a1286bc32d2e9f517dc83a21 [diff] |
Introduce TARGET_BUILD_UNBUNDLED. Setting this flag enables unbundled building, i.e. without support for building the system image and other platform targets. This functionality was previously enabled by TARGET_BUILD_APPS, and setting that still implies TARGET_BUILD_UNBUNDLED. This helps unbundled builds that aren't apps, e.g. ART runtest builds. Specifically, with the topic of the child CL https://r.android.com/1324517 TARGET_BUILD_UNBUNDLED does not imply disabling dexpreopting, unlike TARGET_BUILD_APPS. TODO: There may still be app-specific conditions that are incorrectly controlled by TARGET_BUILD_UNBUNDLED, in particular on the Soong side through config.UnbundledBuild(). Test: Flash & boot Test: TH, in particular builds green on ub-launcher3-master Bug: 157549171 Change-Id: Ic09fc879117ee06cab5444edfc280ed2b52d2870
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.