b85a140c3c
* Add get-modules-for-2nd-arch helper function Add a generic function to retrieve second arch variant module names for TARGET, HOST and HOST_CROSS modules. It uses ALL_MODULES.<module>.FOR_2ND_ARCH to make sure that we are really returning second arch variant module names. Unlike `get-32-bit-modules` this function doesn't sort its output so it potentially saves us a tiny bit of makefile parsing time. * Add resolve-bitness-for-modules Factor out the common bitness-resolving logic of `product-installed-files` and `host-installed-files` to a helper function. When resolving HOST_CROSS modules, the primary arch is 32-bit and secondary arch is 64-bit. Bug: 155869107 Test: TH Test: check the value of product_target_FILES and product_host_FILES Change-Id: I0fdea2e8c55e5b8edf960dbf5e17bb789abb0bf8 |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
envsetup.sh | ||
help.sh | ||
navbar.md | ||
OWNERS | ||
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.