diff --git a/core/product.mk b/core/product.mk index 7d7c68b61..fffd7c8ff 100644 --- a/core/product.mk +++ b/core/product.mk @@ -128,6 +128,7 @@ _product_var_list := \ VENDOR_EXCEPTION_MODULES \ VENDOR_EXCEPTION_PATHS \ PRODUCT_ART_USE_READ_BARRIER \ + PRODUCT_IOT \ diff --git a/core/product_config.mk b/core/product_config.mk index 8943429c8..dc71d5dba 100644 --- a/core/product_config.mk +++ b/core/product_config.mk @@ -420,3 +420,7 @@ _psmc_modules := # Make this art variable visible to soong_config.mk. PRODUCT_ART_USE_READ_BARRIER := \ $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ART_USE_READ_BARRIER)) + +# Whether the product is an Android Things variant. +PRODUCT_IOT := \ + $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_IOT))