diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-07-24 22:46:04 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2018-07-25 20:58:15 +0000 |
commit | 73b1bb5fc6610177a605a2a1eaca3bf734ccd994 (patch) | |
tree | 8a519e2a594a4288db3ce1214efc8a788b1d59b7 /report-internal.mk | |
parent | 31c4a3ac40b03a14ce79daa19667c3e100dc843e (diff) | |
download | robolectric-shadows-73b1bb5fc6610177a605a2a1eaca3bf734ccd994.tar.gz |
Fix PHONY target usage in robolectric coverage
Phony targets should be labelled with .PHONY, real files should not
depend on PHONY targets.
Test: m RunSettingsRoboTests-coverage
Test: m RunSettingsRoboTests-jacoco
Test: add --writable=out/ to kati flags, see fewer warnings with this change
Change-Id: I4796c7a3da806af81627fbc6fd00732fb2afb603
Diffstat (limited to 'report-internal.mk')
-rw-r--r-- | report-internal.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/report-internal.mk b/report-internal.mk index b9c60929b..fa0486760 100644 --- a/report-internal.mk +++ b/report-internal.mk @@ -13,7 +13,7 @@ $(my_coverage_output): PRIVATE_COVERAGE_REPORT_JAR := $(my_coverage_report_jar) $(my_coverage_output): PRIVATE_REPORT_DIR := $(my_report_dir) # Generate the coverage report. -$(my_coverage_output): $(my_collect_target) $(my_coverage_report_jar) +$(my_coverage_output): $(my_collect_file) $(my_coverage_report_jar) $(hide) rm -rf $(PRIVATE_REPORT_DIR) $(hide) mkdir -p $(PRIVATE_REPORT_DIR) $(hide) $(JAVA) \ @@ -46,4 +46,4 @@ $(my_target): $(my_coverage_output) # Reset local variables. my_coverage_output := my_coverage_output_zip := -my_report_dir :=
\ No newline at end of file +my_report_dir := |