Use phony goals with dist-for-goal
Instead of using output files with dist-for-goal, use the phony goals.
Real file function currently, but are unusual, and break with my
refactor of dist.
Bug: 117463001
Test: m RunCarSettingsLibRoboTests dist
Test: m RunCarSettingsLibRoboTests-jacoco dist
Change-Id: Ic1fc77e4448486aa47fd5d1bb1bd41a0686fa971
diff --git a/report-internal.mk b/report-internal.mk
index fa04867..4989632 100644
--- a/report-internal.mk
+++ b/report-internal.mk
@@ -36,7 +36,7 @@
$(hide) cd $(PRIVATE_REPORT_DIR) && zip --quiet -r $(PWD)/$@ .
# Add coverage report zip to dist files.
-$(call dist-for-goals, $(my_target), \
+$(call dist-for-goals, $(my_report_target), \
$(my_coverage_output_zip):robotests-coverage/$(LOCAL_MODULE)/robolectric-html-coverage.zip \
$(my_coverage_output):robotests-coverage/$(LOCAL_MODULE)/robolectric-coverage.xml)