Add PRODUCT_IOT to the list of product vars.

This variable tells whether the product is an Android Things variant of
Android.

Bug: 32549448
Test: `make dist` on an iot product.
Change-Id: I0875951ae57867bc8bf47885e77e494d6284acdb
This commit is contained in:
Alex Deymo 2017-03-02 22:08:41 -08:00
parent d84721a2cc
commit 8fe63c3899
2 changed files with 5 additions and 0 deletions

View File

@ -128,6 +128,7 @@ _product_var_list := \
VENDOR_EXCEPTION_MODULES \ VENDOR_EXCEPTION_MODULES \
VENDOR_EXCEPTION_PATHS \ VENDOR_EXCEPTION_PATHS \
PRODUCT_ART_USE_READ_BARRIER \ PRODUCT_ART_USE_READ_BARRIER \
PRODUCT_IOT \

View File

@ -420,3 +420,7 @@ _psmc_modules :=
# Make this art variable visible to soong_config.mk. # Make this art variable visible to soong_config.mk.
PRODUCT_ART_USE_READ_BARRIER := \ PRODUCT_ART_USE_READ_BARRIER := \
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).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))