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

Commit 7e618d94 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

am: 3cd2b2f5

Change-Id: I5b8148f7fd3f4a0899ab01e3a525c11008c91452
parents ae9037a5 3cd2b2f5
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