commit | 307224c7d4b600ccc16f7aa19154ab218988f972 | [log] [tgz] |
---|---|---|
author | Spandan Das <spandandas@google.com> | Mon Apr 08 17:45:26 2024 +0000 |
committer | Spandan Das <spandandas@google.com> | Mon Apr 08 18:02:01 2024 +0000 |
tree | dc9501da10b1ebbaefb008544536e0583c73ed28 | |
parent | 83066f6dc0caafed1ca1a05a5cd112ac430dd49c [diff] |
Drop some special casing of source vs prebuilt mainline selection soong config vars are no longer needed to support the following two special cases 1. Santized builds. google hwasan products have been updated to explicitly list PRODUCT_MODULE_BUILD_FROM_SOURCE ag/26576335 2. Coverage builds. product specific overrides of build flags are not possible, so apex_contributions.go has been special cased to ignore prebuilts. Since RELEASE_APEX_CONTRIBUTIONS_* are now used to select prebuilts of mainline modules, we can drop the special-case of coverage builds in this .mk file Bug: 308188056 Bug: 325666427 Test: lunch cf_x86_64_phone-next-userdebug && EMMA_INSTRUMENT=true m nothing; # verified that no path exists between droid and the prebuilt bt apex Change-Id: Ide50e4463615fef5f540130f6a6bce50c00eddb8
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.