2c561d8cb1
Create a new phony target target-files-dir, which points to $(BUILT_TARGET_FILES_DIR) . All dependencies of BUILT_TARGET_FILES_PACKAGE are now a dependency of BUILT_TARGET_FILES_DIR. The purpose of BUILT_TARGET_FILES_DIR is to represent an unzipped version of the target_files.zip . Some tools, such as ota_from_target_files, can work directly with unzipped target_files. This change allows such tools to avoid having to zip the target_files by depending on BUILT_TARGET_FILES_DIR instead of BUILT_TARGET_FILES_PACKAGE. This CL does not have any functional changes, targets such as otapackage and updatepackage still depend on the zipped target_files. Bug: 227848550 Bug: 277028723 Test: m installclean && m updatepackage Change-Id: I83e69370ae5efa9046710f5909276077796f6b30 |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
banchanHelp.sh | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
envsetup.sh | ||
help.sh | ||
METADATA | ||
navbar.md | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rbesetup.sh | ||
README.md | ||
shell_utils.sh | ||
tapasHelp.sh | ||
Usage.txt |
Android Make Build System
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.