Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70cc8553 authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am 8d1f91fa: Merge "Fix filter rule when checking for apks in PRODUCT_COPY_FILES."

* commit '8d1f91fa':
  Fix filter rule when checking for apks in PRODUCT_COPY_FILES.
parents aa754868 8d1f91fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ is_tests_build := $(filter tests,$(MAKECMDGOALS))
# src:dest pair is the first one to match the same dest"
#$(1): the src:dest pair
define check-product-copy-files
$(if $(filter %.apk, $(1)),$(error \
$(if $(filter %.apk, $(call word-colon, 2, $(1))),$(error \
    Prebuilt apk found in PRODUCT_COPY_FILES: $(1), use BUILD_PREBUILT instead!))
endef
# filter out the duplicate <source file>:<dest file> pairs.