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

am: f52da96e11

Change-Id: I96e02d6319aeff2d42c545ff5d9ff0391f74995f
This commit is contained in:
nelsonli
2018-10-09 03:41:53 -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