Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cd2b2f5 authored by nelsonli's avatar nelsonli Committed by android-build-merger
Browse files

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

am: f52da96e

Change-Id: I96e02d6319aeff2d42c545ff5d9ff0391f74995f
parents d749d1fc f52da96e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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