commit | fa089f76e6d491797f7ad936abb5962b83852945 | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Wed Jul 07 14:44:48 2021 +0100 |
committer | Martin Stjernholm <mast@google.com> | Thu Jul 08 16:16:14 2021 +0100 |
tree | 57cd8ba39f01b62a22830b0feb5a1718a83ff302 | |
parent | ddfa249778db64954362b984d092753485febd2f [diff] |
Add special cases for builds that cannot switch to ART prebuilts. Test: env TARGET_PRODUCT=mainline_modules_x86_64 \ build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns true with http://ag/15234812 Test: env TARGET_PRODUCT=module_arm build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns true with http://ag/15234812 Test: env TARGET_PRODUCT=cf_arm64_phone build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns true with http://ag/15234812 Test: env TARGET_PRODUCT=sdk_g3titan_x86_64 build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns true with http://ag/15234812 Test: env TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns false with http://ag/15234812 Test: env TARGET_PRODUCT=cf_x86_phone build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns false with http://ag/15234812 Test: env TARGET_PRODUCT=bonito build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns false with http://ag/15234812 Test: env TARGET_PRODUCT=aosp_flame build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns true with http://ag/15234812 Bug: 192542393 Change-Id: I544a0cfc9dfe6d738f75e60b7fec6d57f2b51d22
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.