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

am: 5112afe657

Change-Id: I48764170916be8ff5be985c16457ba3f09ce40d2
This commit is contained in:
nelsonli 2018-10-09 03:34:12 -07:00 committed by android-build-merger
commit f52da96e11
1 changed files with 2 additions and 1 deletions

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