summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-12-16 11:54:25 -0800
committerYing Wang <wangying@google.com>2011-12-16 11:56:24 -0800
commit193010cc8f0453ce266bbb57c950fa74d78eded7 (patch)
tree461fa2c54198109ea892c3ed7c322f2aca53553c
parentb904ac21666cdc1fa81f752c3126f9e4644dac88 (diff)
downloadbuild-193010cc8f0453ce266bbb57c950fa74d78eded7.zip
build-193010cc8f0453ce266bbb57c950fa74d78eded7.tar.gz
build-193010cc8f0453ce266bbb57c950fa74d78eded7.tar.bz2
Print out ignored PRODUCT_COPY_FILES
So that people know their files are not really copied in accident. Change-Id: I8fab920483230a9f349304dcbdb2fb9d60ee0215
-rw-r--r--core/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index bff9ec0..452b2c9 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -26,7 +26,8 @@ $(foreach cf,$(PRODUCT_COPY_FILES), \
$(eval _src := $(call word-colon,1,$(cf))) \
$(eval _dest := $(call word-colon,2,$(cf))) \
$(call check-product-copy-files,$(cf)) \
- $(if $(filter $(unique_product_copy_files_destinations),$(_dest)),, \
+ $(if $(filter $(unique_product_copy_files_destinations),$(_dest)), \
+ $(info PRODUCT_COPY_FILES $(cf) ignored.), \
$(eval _fulldest := $(call append-path,$(PRODUCT_OUT),$(_dest))) \
$(eval $(call copy-one-file,$(_src),$(_fulldest))) \
$(eval ALL_DEFAULT_INSTALLED_MODULES += $(_fulldest)) \