e564ec3502
product is used with ART prebuilts. The prebuilt packages in packages/modules/ArtPrebuilt don't get Android.mk entries in the `generic` product (as opposed to e.g. `aosp_arm`), so the enforce-product-packages-exist check fails there. Exclude the ART APEX modules from the check as a workaround. It's also necessary to remove the check for superfluous allow list entries, since which modules are actually missing depends on many other variables (see runtime_libart.mk). Test: m nothing TARGET_PRODUCT=generic \ SOONG_CONFIG_art_module_source_build=false Bug: 172480615 Bug: 182105280 Change-Id: Id67278615f3e7c64c7658bbf1b2aa71ed6b381da |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Android.bp | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
envsetup.sh | ||
help.sh | ||
METADATA | ||
navbar.md | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rbesetup.sh | ||
README.md | ||
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.