1b8283358e
* Streamline required module bitness resolution If a module is for cross host OS, the required modules are also for that OS. Otherwise if the requirer module is native and the required module is shared library or native test, then the required module resolves to the same bitness. Otherwise the required module resolves to both variants, if they exist. * Factor out the common logic and merge <target|host|host-cross>-select-bitness-of-required-modules This lays the road for follow-up changes to add bitness suffix support. This slightly reduces readibility. To make up for the loss, the bitness-resolving logic is easier to maintain since we don't have multiple copies of *-select-bitness-of-required-modules. Bug: 155869107 Test: check the diff of product_target_FILES and product_host_FILES Test: check the diff of ALL_MODULES.*.REQUIRED_FROM_(TARGET|HOST) Change-Id: Ib2f4b548535e983d621dad71cb920101111140f2 |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
OWNERS | ||
README.md | ||
Usage.txt | ||
buildspec.mk.default | ||
envsetup.sh | ||
help.sh | ||
navbar.md | ||
rbesetup.sh | ||
tapasHelp.sh |
README.md
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.