Merge "Enable vndk_package if BOARD_VNDK_VERSION is set"

This commit is contained in:
Isaac Chen 2018-04-24 02:08:44 +00:00 committed by Gerrit Code Review
commit ecc09990e3

View file

@ -898,6 +898,9 @@ ifdef FULL_BUILD
# by the appropriate product definition file, which was included
# by product_config.mk.
product_MODULES := $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PACKAGES)
ifdef BOARD_VNDK_VERSION
product_MODULES += vndk_package
endif
# Filter out the overridden packages before doing expansion
product_MODULES := $(filter-out $(foreach p, $(product_MODULES), \
$(PACKAGES.$(p).OVERRIDES)), $(product_MODULES))