commit | 6a3fd20b35b80de32dd0eb774a9a8f9a59dc068f | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Thu Feb 11 07:37:55 2021 +0000 |
committer | Martin Stjernholm <mast@google.com> | Mon Jul 05 01:21:54 2021 +0100 |
tree | 115995f0175ddbee638f07a7390d6ba28799e256 | |
parent | 69f66460deeef65f4120c0c05ac6a4c23d0af088 [diff] |
DO NOT MERGE: Use prebuilts of the ART Module by default (reland). This means prebuilts located in /vendor/unbundled_google/modules/ArtGooglePrebuilt and /prebuilts/module_sdk/art are used instead of sources in /art, /libcore, and /libnativehelper. Sanitizer and coverage builds builds are excluded, as are builds using the products art_module_*, armv8, arm_krait, and others in device/generic/art. To keep using ART and libcore sources in local builds, set SOONG_CONFIG_art_module_source_build=true. See art/build/README.md for further info. This relands http://ag/13552665 after updating ART prebuilts (ag/15189174, ag/15200785). Using DO NOT MERGE to have the same scope as they do. Test: presubmits Test: vendor/google/build/build_mainline_modules.sh with a line build/soong/soong_ui.bash --dumpvar-mode \ SOONG_CONFIG_art_module_source_build directly before the module build commands in build_unbundled_mainline_module.sh and check that it's still true. Bug: 192542393 Change-Id: I6281ef27bf9cdcb2ad5112b8a0932e4201d69dc2
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.