Merge "Build System: Ignore copies in copy-many-files if src == dst" am: 5112afe657 am: f52da96e11

am: 3cd2b2f563

Change-Id: I5b8148f7fd3f4a0899ab01e3a525c11008c91452
This commit is contained in:
nelsonli
2018-10-09 03:47:21 -07:00
committed by android-build-merger

View File

@@ -2481,7 +2481,8 @@ $(foreach f, $(1), $(strip \
$(eval _cmf_tuple := $(subst :, ,$(f))) \
$(eval _cmf_src := $(word 1,$(_cmf_tuple))) \
$(eval _cmf_dest := $(word 2,$(_cmf_tuple))) \
$(eval $(call copy-one-file,$(_cmf_src),$(_cmf_dest))) \
$(if $(filter-out $(_cmf_src), $(_cmf_dest)), \
$(eval $(call copy-one-file,$(_cmf_src),$(_cmf_dest)))) \
$(_cmf_dest)))
endef