commit | 9942f4e51eab8d51df8573e5ce96c56b906bcf0b | [log] [tgz] |
---|---|---|
author | Yi-Yo Chiang <yochiang@google.com> | Fri Oct 01 21:33:42 2021 +0800 |
committer | Yi-Yo Chiang <yochiang@google.com> | Wed Oct 06 16:17:50 2021 +0800 |
tree | d1b6bae93258ad60168cb3759689eedd69d22bca | |
parent | b3be181687fc0c0aeb2648cba618d34ac6efea04 [diff] |
Cleanup dependencies of debug boot images Remove redundant dependencies and adjust build rule, so that ramdisk-debug.img is built iff. boot-debug.img is built same adjustment for vendor_boot-debug.img, boot-test-harness.img, vendor_boot-test-harness.img. Also remove "rsync" build rule in test harness ramdisk. Bug: 201753847 Test: PRODUCT_BUILD_DEBUG_BOOT_IMAGE=true \ PRODUCT_BUILD_DEBUG_VENDOR_BOOT_IMAGE=false \ => ramdisk-debug.img is built; vendor_ramdisk-debug.img is not Test: PRODUCT_BUILD_DEBUG_BOOT_IMAGE=false \ PRODUCT_BUILD_DEBUG_VENDOR_BOOT_IMAGE=true \ => ramdisk-debug.img is not built; vendor_ramdisk-debug.img is Test: PRODUCT_BUILD_DEBUG_BOOT_IMAGE=true \ PRODUCT_BUILD_DEBUG_VENDOR_BOOT_IMAGE=true \ => ramdisk-debug.img is built; so do vendor_ramdisk-debug.img Change-Id: I33f526bd3c50b9c4010f46e490cab778fcb23371
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.