commit | 42879ff5363526c60e16d33404b216ce5f80c772 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Tue Oct 06 11:09:56 2020 -0700 |
committer | Daniel Norman <danielnorman@google.com> | Thu Oct 08 22:31:52 2020 +0000 |
tree | 27387051a65ba3f5ce80b432e1a01cb6d71ee7a8 | |
parent | 2f171ac0a5586fa9f3dd7859d542c64a185228ca [diff] |
Various fixes to PRODUCT_BUILD_<IMAGE> variables. - Introduces PRODUCT_BUILD_VENDOR_BOOT_IMAGE. - Controls vendor_boot.img, replacing TARGET_NO_VENDOR_BOOT. - Matches the naming convention of other similar vars. - Guards boot-debug.img behind BUILDING_BOOT_IMAGE - Restructures BUILDING_BOOT_IMAGE to give priority to PRODUCT_BUILD_BOOT_IMAGE, as do other partitions. - ^ for BUILDING_RECOVERY_IMAGE. Test: PRODUCT_BUILD_{BOOT,RECOVERY,VENDOR_BOOT}_IMAGE := false m dist Observe no boot, boot-debug, recovery, or vendor_boot images. Bug: 169968221 Bug: 170423509 Change-Id: I629bf08ba08e5db14c1bf92bb338fb3ce59d5b73
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.