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

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

Change-Id: I48764170916be8ff5be985c16457ba3f09ce40d2
parents 9db85cd4 5112afe6
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