aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-25 07:04:12 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-25 07:04:12 +0000
commit61e978172276e85b2f3f88e809a1b05276565744 (patch)
treefdc2946646fd452ea648b92845691ba665566234
parentd3164db71c47c56fc4af9a3cf7eb12c42a4555d1 (diff)
parent9357e3d64eb8c61bef872d9429bb65a6e1fc5fa1 (diff)
downloadrobolectric-shadows-main-cg-testing-release.tar.gz
Snap for 8496002 from 9357e3d64eb8c61bef872d9429bb65a6e1fc5fa1 to main-cg-testing-releasemain-cg-testing-release
Change-Id: I4a6e0238de51de0da85494cac3fe2f59d3dfe405
-rw-r--r--report-internal.mk3
-rw-r--r--robotest-internal.mk3
2 files changed, 6 insertions, 0 deletions
diff --git a/report-internal.mk b/report-internal.mk
index a12479c97..4b790c20c 100644
--- a/report-internal.mk
+++ b/report-internal.mk
@@ -49,6 +49,9 @@ $(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)
+ALL_TARGETS.$(my_coverage_output_zip).META_LIC:=$(module_license_metadata)
+ALL_TARGETS.$(my_coverage_output).META_LIC:=$(module_license_metadata)
+
# Running the coverage will always generate the report.
$(my_target): $(my_coverage_output)
diff --git a/robotest-internal.mk b/robotest-internal.mk
index ee0baf683..77e173024 100644
--- a/robotest-internal.mk
+++ b/robotest-internal.mk
@@ -12,6 +12,9 @@ my_target_xml := $(intermediates)/$(my_filename_stem)-output.xml
my_target_output := $(intermediates)/$(my_filename_stem)-output.txt
my_target_retval := $(intermediates)/$(my_filename_stem)-retval.txt
+ALL_TARGETS.$(my_target_output).META_LIC:=$(module_license_metadata)
+ALL_TARGETS.$(my_target_xml).META_LIC:=$(module_license_metadata)
+
# We should always re-run the tests, even if nothing has changed.
# So until the build system has a dedicated "no cache" option, claim
# to write a file that is never produced.