OSDN Git Service

Print out ignored PRODUCT_COPY_FILES
authorYing Wang <wangying@google.com>
Fri, 16 Dec 2011 19:54:25 +0000 (11:54 -0800)
committerYing Wang <wangying@google.com>
Fri, 16 Dec 2011 19:56:24 +0000 (11:56 -0800)
So that people know their files are not really copied in accident.

Change-Id: I8fab920483230a9f349304dcbdb2fb9d60ee0215

core/Makefile

index bff9ec0..452b2c9 100644 (file)
@@ -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)) \