From d94a8982fd15551b51dae4f6aecb271156c8cae4 Mon Sep 17 00:00:00 2001 From: Albert Martin Date: Fri, 1 Apr 2022 19:59:40 +0000 Subject: [PATCH] Add flag to globally override updateable apexes' min_sdk_version Override all mainline updateable apexes' min_sdk_version to same version to get a single shared native lib version on DCLA. Test: Run "vendor/google/build/go/mainline_go_modules_arm.sh" and inspect built apexes Bug: 212609891 Change-Id: I8edf09ca3c91ee52e9c2138c71d9b155b4448f66 Merged-In: I8edf09ca3c91ee52e9c2138c71d9b155b4448f66 --- core/soong_config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/soong_config.mk b/core/soong_config.mk index 916dfbb7f2..32675f2a5f 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -227,6 +227,8 @@ $(call add_json_list, ManifestPackageNameOverrides, $(PRODUCT_MANIFEST_PACK $(call add_json_list, PackageNameOverrides, $(PRODUCT_PACKAGE_NAME_OVERRIDES)) $(call add_json_list, CertificateOverrides, $(PRODUCT_CERTIFICATE_OVERRIDES)) +$(call add_json_str, ApexGlobalMinSdkVersionOverride, $(APEX_GLOBAL_MIN_SDK_VERSION_OVERRIDE)) + $(call add_json_bool, EnforceSystemCertificate, $(filter true,$(ENFORCE_SYSTEM_CERTIFICATE))) $(call add_json_list, EnforceSystemCertificateAllowList, $(ENFORCE_SYSTEM_CERTIFICATE_ALLOW_LIST))