Save approx 18GB of RAM by not having a bazillion copies of the same modules names
Bug: 278864904 Test: treehugger, m, manual inspection Change-Id: Ib564b3edf4a0523fc8231b8e57a5ba9c42a73294
This commit is contained in:
parent
7b640806da
commit
9ba2f4d022
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ endef
|
|||
define declare-copy-target-license-metadata
|
||||
$(strip $(if $(filter $(OUT_DIR)%,$(2)),\
|
||||
$(eval _tgt:=$(strip $(1)))\
|
||||
$(eval ALL_COPIED_TARGETS.$(_tgt).SOURCES := $(ALL_COPIED_TARGETS.$(_tgt).SOURCES) $(filter $(OUT_DIR)%,$(2)))\
|
||||
$(eval ALL_COPIED_TARGETS.$(_tgt).SOURCES := $(sort $(ALL_COPIED_TARGETS.$(_tgt).SOURCES) $(filter $(OUT_DIR)%,$(2))))\
|
||||
$(eval ALL_COPIED_TARGETS += $(_tgt))))
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in a new issue