commit | 6d91a8fd28c9d5482bf98cb19cf733a3607e2c45 | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Thu Mar 10 01:48:53 2022 +0000 |
committer | Martin Stjernholm <mast@google.com> | Thu Mar 10 02:36:22 2022 +0000 |
tree | 7b0429176ecac6752e210a027f408c7e914e7895 | |
parent | e910accc38dd6d5d717dba73b5e64c4b3528be65 [diff] |
Clean up the special cases where we wouldn't be able to use the prebuilt ART module. They were added with the intention of flipping the last fallback to use prebuilts by default, but that has been descoped. Instead let the ART module variable default to the generic MODULE_BUILD_FROM_SOURCE. Test: env MODULE_BUILD_FROM_SOURCE=true \ build/soong/soong_ui.bash --dumpvars-mode \ --vars="MODULE_BUILD_FROM_SOURCE ART_MODULE_BUILD_FROM_SOURCE" MODULE_BUILD_FROM_SOURCE='true' ART_MODULE_BUILD_FROM_SOURCE='true' Test: env MODULE_BUILD_FROM_SOURCE=false \ build/soong/soong_ui.bash --dumpvars-mode \ --vars="MODULE_BUILD_FROM_SOURCE ART_MODULE_BUILD_FROM_SOURCE" MODULE_BUILD_FROM_SOURCE='false' ART_MODULE_BUILD_FROM_SOURCE='false' Test: env MODULE_BUILD_FROM_SOURCE=false \ ART_MODULE_BUILD_FROM_SOURCE=true \ build/soong/soong_ui.bash --dumpvars-mode \ --vars="MODULE_BUILD_FROM_SOURCE ART_MODULE_BUILD_FROM_SOURCE" MODULE_BUILD_FROM_SOURCE='false' ART_MODULE_BUILD_FROM_SOURCE='true' Bug: 172480615 Bug: 184842499 Change-Id: I433e0236e595422f4d6fe2b4b2411491e3c600cf
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.