Merge "Revert "Fix filter rule when checking for apks in PRODUCT_COPY_FILES.""
This commit is contained in:
@@ -20,7 +20,7 @@ is_tests_build := $(filter tests,$(MAKECMDGOALS))
|
|||||||
# src:dest pair is the first one to match the same dest"
|
# src:dest pair is the first one to match the same dest"
|
||||||
#$(1): the src:dest pair
|
#$(1): the src:dest pair
|
||||||
define check-product-copy-files
|
define check-product-copy-files
|
||||||
$(if $(filter %.apk, $(call word-colon, 2, $(1))),$(error \
|
$(if $(filter %.apk, $(1)),$(error \
|
||||||
Prebuilt apk found in PRODUCT_COPY_FILES: $(1), use BUILD_PREBUILT instead!))
|
Prebuilt apk found in PRODUCT_COPY_FILES: $(1), use BUILD_PREBUILT instead!))
|
||||||
endef
|
endef
|
||||||
# filter out the duplicate <source file>:<dest file> pairs.
|
# filter out the duplicate <source file>:<dest file> pairs.
|
||||||
|
Reference in New Issue
Block a user