commit | 8e96a794ac13bd144fe1003089bacf2abf2cfbfe | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Apr 02 14:43:32 2019 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Apr 10 13:22:23 2019 -0700 |
tree | af6e366f7c472d4def319ad38d70ba38bfdedcac | |
parent | d72873dc412b7000107e22e929e7443c50224e13 [diff] |
Split ALL_MODULES.*.REQUIRED and friends between target/host So that we actually respect different LOCAL_REQUIRED_MODULES for the host and device versions instead of unioning them. That got particularly problematic when LOCAL_SHARED_LIBRARIES is implicitly added to LOCAL_REQUIRED_MODULES. We also used to walk through device-only modules when filling out the list of required modules, which triggered even more extra installations. This also changes the requirements for PRODUCT_HOST_PACKAGES so that it no longer accepts target-only phony modules (since we can now differentiate them). They were all removed in previous patches. Test: treehugger; diff resulting builds Test: diff list of product_target_FILES and product_host_FILES Change-Id: I2ed8950320d31f5693323ad8cef6ec5b6780b7d4
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.