commit | 203191b5be3591643ba7871c8f8cc66ea8f38f6f | [log] [tgz] |
---|---|---|
author | Chris Gross <chrisgross@google.com> | Sat May 30 02:39:12 2020 +0000 |
committer | Chris Gross <chrisgross@google.com> | Thu Jun 04 17:53:04 2020 +0000 |
tree | b88c29ac895b45914184f75983d92d6fede5d934 | |
parent | 0dcb96c2045d38c0d97c60769548343caf14c02e [diff] |
Use BUILD_*_IMAGE flags in add_img_to_target_files. Modify add_img_to_target_files.py to use the BUILDING_*_IMAGE flags when deciding whether to create and add a given image to a target files archive. To do this, the BUILDING_*_IMAGE flags are now dumped to misc_info.txt. The origin of this change was to use the BUILDING_USERDATA_IMAGE and BUILDING_CACHE_IMAGE flags in add_img_to_target_files.py so that we could reliably turn off the generation of the userdata and cache images. The other image flags were added for symmetry. Bug: 130307439 Test: m -j out/target/product/bonito/misc_info.txt Test: m -j droid dist Change-Id: I32d5a8d6c9ebb5f329d856030084d698ee8d271d
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.