Go to file
Martin Stjernholm bef0d6d710 Use prebuilts of the ART Module by default in SC branches.
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.

Cherry-picked from http://ag/15234812.

Merged-in set to https://r.android.com/1801147 to avoid merging into
master and *-plus-aosp branches, where we want to enable prebuilts
separately.

Test: build & boot on Cuttlefish
Bug: 200554575
Change-Id: Id6800fe3564149e6c555b5f68a41b01e9c7dff3f
Merged-In: I50187408a01e0c6f5ecea12fe3a423e1c5d93612
2021-11-29 18:08:52 +00:00
common Preserve <uses-library> order in dexpreopt.config files. 2021-02-11 17:09:19 +00:00
core Use prebuilts of the ART Module by default in SC branches. 2021-11-29 18:08:52 +00:00
packaging Fix creating _dist_<goal> targets under !dist 2018-10-21 08:56:27 -07:00
target S V2 is now 32 2021-11-05 19:39:39 +00:00
tests Product configuration in Starlark support files. 2021-03-18 10:52:05 -07:00
tools Make apex util detect if hashtree is present 2021-08-06 19:38:14 -04:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
Changes.md Add documentation for <uses-library> checks. 2021-03-31 11:56:45 +01:00
CleanSpec.mk Merge "Rename vendor-ramdisk to vendor_ramdisk" am: b10f7d2a9c am: 2c789cf026 am: be8682a693 2021-03-04 06:53:52 +00:00
Deprecation.md Obsolete unused module types 2020-04-18 21:00:18 -07:00
METADATA Fix license_type. Contains GPL 2021-02-09 14:00:16 -08:00
OWNERS Refactor OWNERS files in platform/build/make. 2020-10-08 16:14:44 -07:00
PREUPLOAD.cfg Disallow use of error-prone merge-strategies 2021-02-23 15:07:02 +00:00
README.md Mark envsetup.sh vars as deprecated in makefiles 2017-11-28 14:19:50 -08:00
Usage.txt Remove the PRODUCT-* goal 2019-07-29 14:27:04 -07:00
banchanHelp.sh Allow selecting a different product in banchan. 2021-04-19 18:32:00 +01:00
buildspec.mk.default Add TARGET_PLATFORM_VERSION to lunch 2017-03-23 09:44:08 -07:00
envsetup.sh Use python3 specifically for envsetup.sh 2021-04-29 15:44:29 -07:00
help.sh Fix the help script. 2021-03-25 14:40:44 -07:00
navbar.md Mark envsetup.sh vars as deprecated in makefiles 2017-11-28 14:19:50 -08:00
rbesetup.sh Switch default execution strategy to racing for developer builds am: 524428a647 am: 7a02fa7b79 2021-01-08 20:25:35 +00:00
tapasHelp.sh Remove unused mips workarounds. 2020-03-06 16:46:59 -08:00

README.md

Android Make Build System

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.