Skip to content
Snippets Groups Projects
Commit c0de8cfc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use find-copy-subdir-files macro to eliminate foreach calls"

parents 7c9eef56 16624a11
Loading
......@@ -14,13 +14,9 @@
# Warning: this is actually a product definition, to be inherited from
include $(LOCAL_PATH)/common.mk
PRODUCT_COPY_FILES := \
$(call find-copy-subdir-files,*.kl,$(LOCAL_PATH),system/usr/keylayout) \
$(call find-copy-subdir-files,*.kcm,$(LOCAL_PATH),system/usr/keychars) \
$(call find-copy-subdir-files,*.idc,$(LOCAL_PATH),system/usr/idc)
PRODUCT_COPY_FILES := $(foreach file,$(framework_keylayouts),\
$(file):system/usr/keylayout/$(notdir $(file)))
PRODUCT_COPY_FILES += $(foreach file,$(framework_keycharmaps),\
$(file):system/usr/keychars/$(notdir $(file)))
PRODUCT_COPY_FILES += $(foreach file,$(framework_keyconfigs),\
$(file):system/usr/idc/$(notdir $(file)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment