Trace time spent in cp rules for dist targets.

Bug: http://b/259130368
Test: Used patched soong_trace.py to measure this
Change-Id: Ic85e35ad17b18fb316770cdebc3e01f45edfab44
This commit is contained in:
Dan Albert 2023-06-08 21:09:37 +00:00
parent 617597c0fa
commit fd5f1e7596

View file

@ -30,6 +30,7 @@ $(foreach pair,$(DIST_GOAL_OUTPUT_PAIRS), \
$(eval _dist_$$(goal):))) $(eval _dist_$$(goal):)))
define copy-one-dist-file define copy-one-dist-file
$(2): .KATI_TAGS += ;rule_name=dist-cp
$(2): $(1) $(2): $(1)
@echo "Dist: $$@" @echo "Dist: $$@"
rm -f $$@ rm -f $$@