commit | f31bc450d2b6258d3c6d66093ceb68b256d04757 | [log] [tgz] |
---|---|---|
author | Dario Freni <dariofreni@google.com> | Thu Jul 12 19:44:33 2018 +0100 |
committer | Dario Freni <dariofreni@google.com> | Thu Aug 16 18:39:12 2018 +0100 |
tree | c7f6dda24993e5ca5411a21d5923b7c1947757c6 | |
parent | 7911fd3b91debcd933164ff7f50b4b0d649a67b0 [diff] |
Add a way to override LOCAL_PRODUCT_MODULE. This CL introduces the product variable PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION, which can contain a list of module names to be "unmarked" from being LOCAL_PRODUCT_MODULE. If a module name is included in this variable and if that module is declared as LOCAL_PRODUCT_MODULE, the setting will be overriden and the module will be installed in /system. This is useful to control this behavior on a device-specific level. Test: m; and checked resulting output. Bug: 110072687 Change-Id: Iaab663a7ed757c1dd4f16169b0ac3d71650014d2
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.