From 271d861ab57d5753330b76f5eaf62f964d80f1fa Mon Sep 17 00:00:00 2001 From: Ari Hausman-Cohen Date: Wed, 20 Jun 2018 18:11:12 -0700 Subject: [PATCH] Add PRODUCT_IOT support to soong. Some code needs to behave differently for Android Things systems. PRODUCT_IOT tracks Android Things products. This change exposes this variable into the soong system. Bug: 110494430 Test: aosp_angler builds Change-Id: Id9c27e4fe70957f217cfbdc019e8a37532bafac2 --- core/soong_config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/soong_config.mk b/core/soong_config.mk index 355f4142e6..f75e263b3d 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -124,6 +124,8 @@ $(call add_json_list, Platform_systemsdk_versions, $(PLATFORM_SYSTEMSDK_VE $(call add_json_bool, Malloc_not_svelte, $(call invert_bool,$(filter true,$(MALLOC_SVELTE)))) $(call add_json_str, Override_rs_driver, $(OVERRIDE_RS_DRIVER)) +$(call add_json_bool, Product_is_iot, $(filter true,$(PRODUCT_IOT))) + $(call add_json_bool, Treble_linker_namespaces, $(filter true,$(PRODUCT_TREBLE_LINKER_NAMESPACES))) $(call add_json_bool, Enforce_vintf_manifest, $(filter true,$(PRODUCT_ENFORCE_VINTF_MANIFEST)))