aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2021-02-11 07:37:55 +0000
committerMartin Stjernholm <mast@google.com>2021-11-29 18:08:52 +0000
commitbef0d6d710bb31e8cabd9c8b22c5cbd7f926e13c (patch)
tree7ba133acf52e736041c19c61d8c1762309781698
parentbd3dbd0013b33613772bfbc9d5d43b02baf6fabf (diff)
downloadbuild-bef0d6d710bb31e8cabd9c8b22c5cbd7f926e13c.tar.gz
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
-rw-r--r--core/android_soong_config_vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk
index 5e63a25d9c..c6f4d68df9 100644
--- a/core/android_soong_config_vars.mk
+++ b/core/android_soong_config_vars.mk
@@ -82,7 +82,7 @@ else
# This sets the default for building ART APEXes from source rather than
# prebuilts (in packages/modules/ArtPrebuilt and prebuilt/module_sdk/art) in
# all other platform builds.
- SOONG_CONFIG_art_module_source_build ?= true
+ SOONG_CONFIG_art_module_source_build ?= false
endif
# Apex build mode variables