forked from openkylin/platform_build
Fix override warnings when two test suites share an output
Test: (internal master); m -j nothing, check warnings Test: Spot check differences in build-*.ninja Change-Id: I160583faa69d090f9b97a8a600598a39a8b1ed9c
This commit is contained in:
parent
78a41f6553
commit
988a08d009
|
@ -3232,10 +3232,10 @@ endef
|
|||
# Requires for each suite: my_compat_dist_$(suite) to be defined.
|
||||
define create-suite-dependencies
|
||||
$(foreach suite, $(LOCAL_COMPATIBILITY_SUITE), \
|
||||
$(eval my_compat_files_$(suite) := $(call copy-many-files, $(my_compat_dist_$(suite)))) \
|
||||
$(eval COMPATIBILITY.$(suite).FILES := \
|
||||
$(COMPATIBILITY.$(suite).FILES) $(my_compat_files_$(suite))) \
|
||||
$(eval $(my_all_targets) : $(my_compat_files_$(suite))))
|
||||
$(COMPATIBILITY.$(suite).FILES) $(foreach f,$(my_compat_dist_$(suite)),$(call word-colon,2,$(f))))) \
|
||||
$(eval $(my_all_targets) : $(call copy-many-files, \
|
||||
$(sort $(foreach suite,$(LOCAL_COMPATIBILITY_SUITE),$(my_compat_dist_$(suite))))))
|
||||
endef
|
||||
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in New Issue