Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 271d861a authored by Ari Hausman-Cohen's avatar Ari Hausman-Cohen
Browse files

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
parent 060c99c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)))