aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2021-02-11 07:37:55 +0000
committerMartin Stjernholm <mast@google.com>2021-07-05 01:21:54 +0100
commit6a3fd20b35b80de32dd0eb774a9a8f9a59dc068f (patch)
tree115995f0175ddbee638f07a7390d6ba28799e256
parent69f66460deeef65f4120c0c05ac6a4c23d0af088 (diff)
downloadbuild-6a3fd20b35b80de32dd0eb774a9a8f9a59dc068f.tar.gz
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
-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 04a055dca8..41cf7b660b 100644
--- a/core/android_soong_config_vars.mk
+++ b/core/android_soong_config_vars.mk
@@ -61,7 +61,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