Merge "require-artifacts-in-path does not require PRODUCT_NAME/BRAND."

This commit is contained in:
Yifan Hong 2020-12-11 20:24:19 +00:00 committed by Gerrit Code Review
commit 999779bdce
2 changed files with 4 additions and 6 deletions

View File

@ -160,15 +160,16 @@ endif
$(call import-products, $(current_product_makefile))
endif # Import all or just the current product makefile
# Quick check
$(check-all-products)
# Import all the products that have made artifact path requirements, so that we can verify
# the artifacts they produce.
# These are imported after check-all-products because some of them might not be real products.
$(foreach makefile,$(ARTIFACT_PATH_REQUIREMENT_PRODUCTS),\
$(if $(filter-out $(makefile),$(PRODUCTS)),$(eval $(call import-products,$(makefile))))\
)
# Quick check
$(check-all-products)
ifneq ($(filter dump-products, $(MAKECMDGOALS)),)
$(dump-products)
endif

View File

@ -19,9 +19,6 @@
# This makefile checks that other makefiles must not install things to the
# ramdisk.
PRODUCT_NAME := generic_ramdisk
PRODUCT_BRAND := generic
# Ramdisk
PRODUCT_PACKAGES += \
init_first_stage \