diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-16 19:56:13 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-16 20:52:46 +0000 |
commit | 3ee00ee759ebab7128291082e9e9728438fdb744 (patch) | |
tree | ebf6ea77b189adffb1521e3588625ad08ac21c81 | |
parent | 7ee00608b11b73780fdc58d5efa4ad3a93fc9e95 (diff) | |
parent | 215d338c3b0704e48697586fae7de5e432b66df7 (diff) | |
download | build-3ee00ee759ebab7128291082e9e9728438fdb744.tar.gz |
Make change and version bump to aml_go_adb_330513000 for mainline module file: None
Change-Id: I05290ef58ffc2700a4c27bf02d0b045b4aa667bb
-rw-r--r-- | core/android_soong_config_vars.mk | 52 | ||||
-rw-r--r-- | core/build_id.mk | 2 | ||||
-rw-r--r-- | envsetup.sh | 2 |
3 files changed, 3 insertions, 53 deletions
diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk index 711518ed70..259035e054 100644 --- a/core/android_soong_config_vars.mk +++ b/core/android_soong_config_vars.mk @@ -39,57 +39,7 @@ $(call add_soong_config_var,ANDROID,PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT) # Default behavior for the tree wrt building modules or using prebuilts. This # can always be overridden by setting the environment variable # MODULE_BUILD_FROM_SOURCE. -BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := false - -ifneq ($(SANITIZE_TARGET)$(EMMA_INSTRUMENT_FRAMEWORK),) - # Always use sources when building the framework with Java coverage or - # sanitized builds as they both require purpose built prebuilts which we do - # not provide. - BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true -endif - -ifneq ($(CLANG_COVERAGE)$(NATIVE_COVERAGE_PATHS),) - # Always use sources when building with clang coverage and native coverage. - # It is possible that there are certain situations when building with coverage - # would work with prebuilts, e.g. when the coverage is not being applied to - # modules for which we provide prebuilts. Unfortunately, determining that - # would require embedding knowledge of which coverage paths affect which - # modules here. That would duplicate a lot of information, add yet another - # location module authors have to update and complicate the logic here. - # For nowe we will just always build from sources when doing coverage builds. - BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true -endif - -# TODO(b/172063604): Remove once products no longer use dex2oat(d)s. -# If the product uses dex2oats and/or dex2oatds then build from sources as -# ART does not currently provide prebuilts of those tools. -ifneq (,$(filter dex2oats dex2oatds,$(PRODUCT_HOST_PACKAGES))) - BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true -endif - -# ART does not provide linux_bionic variants needed for products that -# set HOST_CROSS_OS=linux_bionic. -ifeq (linux_bionic,${HOST_CROSS_OS}) - BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true -endif - -# ART does not provide host side arm64 variants needed for products that -# set HOST_CROSS_ARCH=arm64. -ifeq (arm64,${HOST_CROSS_ARCH}) - BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true -endif - -# TV based devices do not seem to work with prebuilts, so build from source -# for now and fix in a follow up. -ifneq (,$(filter tv,$(subst $(comma),$(space),${PRODUCT_CHARACTERISTICS}))) - BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true -endif - -# ATV based devices do not seem to work with prebuilts, so build from source -# for now and fix in a follow up. -ifneq (,${PRODUCT_IS_ATV}) - BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true -endif +BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true ifneq (,$(MODULE_BUILD_FROM_SOURCE)) # Keep an explicit setting. diff --git a/core/build_id.mk b/core/build_id.mk index 91e14daae7..a8d611ee10 100644 --- a/core/build_id.mk +++ b/core/build_id.mk @@ -18,4 +18,4 @@ # (like "CRB01"). It must be a single word, and is # capitalized by convention. -BUILD_ID=330512000 +BUILD_ID=330513000 diff --git a/envsetup.sh b/envsetup.sh index be6061d67d..d08028cefa 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -890,7 +890,7 @@ function banchan() fi if [ -z "$product" ]; then - product=arm + product=arm64 elif [ $(echo $product | wc -w) -gt 1 ]; then echo "banchan: Error: Multiple build archs or products supplied: $products" return |