diff options
author | Martin Stjernholm <mast@google.com> | 2021-05-21 19:28:14 +0100 |
---|---|---|
committer | Martin Stjernholm <mast@google.com> | 2021-05-21 21:02:56 +0100 |
commit | 831731c28d8274d73b7758024c6d7b9807433339 (patch) | |
tree | f9920a900ed490fd8a03abcade8cabc8b16e3a44 | |
parent | 0a6e35fd5a2e9845c7e325e6ef2956f6f3ed2da8 (diff) | |
download | build-tools-831731c28d8274d73b7758024c6d7b9807433339.tar.gz |
Enable ART source build.
This is the default when the make config step is run, but we need to do
it explicitly here since soong.variables is hardcoded.
Test: env OUT_DIR=out prebuilts/build-tools/build-prebuilts.sh
on the aosp-build-tools branch
Bug: 188922057
Change-Id: I1f85c01b76a212b5cdd1332fb2445b184f4ad759
-rwxr-xr-x | build-prebuilts.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build-prebuilts.sh b/build-prebuilts.sh index 00d09284..d80f37c2 100755 --- a/build-prebuilts.sh +++ b/build-prebuilts.sh @@ -51,6 +51,9 @@ if [ -n ${build_soong} ]; then "VendorVars": { "cpython3": { "force_build_host": "true" + }, + "art_module": { + "source_build": "true" } } } @@ -163,7 +166,12 @@ EOF { "Allow_missing_dependencies": true, "HostArch":"x86_64", - "SanitizeHost": ["address"] + "SanitizeHost": ["address"], + "VendorVars": { + "art_module": { + "source_build": "true" + } + } } EOF |