Read all product makefiles even when TARGET_BUILD_APPS is set

This allows us to have vendor-specific product makefiles for building
unbundled artifacts. The makefile could be used to specify path to the
keystore used to sign the artifacts for the vendor.

Bug: 121224311
Test: m
Change-Id: I260bfddc5fc438fc0986b39d9010087bf758c7ca
This commit is contained in:
Jiyong Park 2018-12-24 16:19:11 +09:00
parent 46e7f186b7
commit b6c095ff4d
1 changed files with 0 additions and 6 deletions

View File

@ -175,15 +175,9 @@ include $(BUILD_SYSTEM)/node_fns.mk
include $(BUILD_SYSTEM)/product.mk include $(BUILD_SYSTEM)/product.mk
include $(BUILD_SYSTEM)/device.mk include $(BUILD_SYSTEM)/device.mk
ifneq ($(strip $(TARGET_BUILD_APPS)),)
# An unbundled app build needs only the core product makefiles.
all_product_configs := $(call get-product-makefiles,\
$(SRC_TARGET_DIR)/product/AndroidProducts.mk)
else
# Read in all of the product definitions specified by the AndroidProducts.mk # Read in all of the product definitions specified by the AndroidProducts.mk
# files in the tree. # files in the tree.
all_product_configs := $(get-all-product-makefiles) all_product_configs := $(get-all-product-makefiles)
endif
all_named_products := all_named_products :=