From e8ac9951d89807aca07a62fe8ac289eed76dd771 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 9 Oct 2020 18:41:58 -0700 Subject: [PATCH] Package proguard_usage.zip files in jacoco-report-classes-all.jar The coverage infrastructure will use the proguard_usage.zip files to filter out classes that were stripped by R8. Test: forrest Bug: 170337718 Change-Id: Ia7c07770ff520aaf0a8de213edbe22d6fca5b98a --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 71043343b..5960a7003 100644 --- a/core/Makefile +++ b/core/Makefile @@ -4925,7 +4925,7 @@ ifeq (true,$(EMMA_INSTRUMENT)) JACOCO_REPORT_CLASSES_ALL := $(PRODUCT_OUT)/jacoco-report-classes-all.jar $(JACOCO_REPORT_CLASSES_ALL) : @echo "Collecting uninstrumented classes" - find $(TARGET_COMMON_OUT_ROOT) $(HOST_COMMON_OUT_ROOT) -name "jacoco-report-classes.jar" 2>/dev/null | sort > $@.list + find $(TARGET_COMMON_OUT_ROOT) $(HOST_COMMON_OUT_ROOT) -name "jacoco-report-classes.jar" -o -name "proguard_usage.zip" 2>/dev/null | sort > $@.list $(SOONG_ZIP) -o $@ -L 0 -C $(OUT_DIR) -P out -l $@.list endif # EMMA_INSTRUMENT=true