summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-05-30 16:13:43 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-05-30 16:13:43 -0700
commitdd8fe390ae9244398b41d23adfb42dbaa9804599 (patch)
treeead19e3c535dd28d5c7576ab943574da8249f2f7 /core
parent0e18fc47b6181df7d354860095453475c7ecfca0 (diff)
parent36e4e050ff52956fc4afe60c156e81c2016304c4 (diff)
downloadbuild-dd8fe390ae9244398b41d23adfb42dbaa9804599.zip
build-dd8fe390ae9244398b41d23adfb42dbaa9804599.tar.gz
build-dd8fe390ae9244398b41d23adfb42dbaa9804599.tar.bz2
am 36e4e050: Merge "add add-to-product-copy-files-if-exists for pdk" into jb-dev
* commit '36e4e050ff52956fc4afe60c156e81c2016304c4': add add-to-product-copy-files-if-exists for pdk
Diffstat (limited to 'core')
-rw-r--r--core/product.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/product.mk b/core/product.mk
index b001ca2..d9e4186 100644
--- a/core/product.mk
+++ b/core/product.mk
@@ -272,3 +272,7 @@ $(strip \
$(eval $(error The following variables have been changed: $(changed_variables))),)
)
endef
+
+define add-to-product-copy-files-if-exists
+$(if $(wildcard $(word 1,$(subst :, ,$(1)))),$(1))
+endef