From 74920e6e434918fd45ca4bfecde8943974325f6a Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Wed, 17 Jun 2020 01:30:16 +0100 Subject: [PATCH] Propagate TARGET_BUILD_APPS to Soong. Used to select SDK variants of native libraries when building unbundled apps only. This allows unbundled modules to access the platform variants (and typically their versioned APEX stubs). Test: m (on AOSP master) Test: TH (including ub-launcher3-master) Bug: 157549171 Change-Id: I74f0bcebe8b66b81b2c80e9d448f5d24dc9ab991 --- core/soong_config.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/soong_config.mk b/core/soong_config.mk index 0fce617c1..84bfd1e3d 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -40,6 +40,7 @@ $(call add_json_str, Platform_min_supported_target_sdk_version, $(PLATFORM_MIN_ $(call add_json_bool, Allow_missing_dependencies, $(ALLOW_MISSING_DEPENDENCIES)) $(call add_json_bool, Unbundled_build, $(TARGET_BUILD_UNBUNDLED)) +$(call add_json_bool, Unbundled_build_apps, $(TARGET_BUILD_APPS)) $(call add_json_bool, Unbundled_build_sdks_from_source, $(UNBUNDLED_BUILD_SDKS_FROM_SOURCE)) $(call add_json_bool, Pdk, $(filter true,$(TARGET_BUILD_PDK)))