aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2022-04-20 22:58:07 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-04-20 22:58:07 +0000
commit3413bcee1e64fed0a2a75c2daadc3032722ff414 (patch)
treefdc2946646fd452ea648b92845691ba665566234
parentee4ad25df1953cb82d72514364acd97d78880c75 (diff)
parentd03dd67c5338a396b544669d2bda32e2312c0232 (diff)
downloadrobolectric-shadows-3413bcee1e64fed0a2a75c2daadc3032722ff414.tar.gz
Non-module targets. am: 9357e3d64e am: d03dd67c53
Original change: https://android-review.googlesource.com/c/platform/external/robolectric-shadows/+/2070029 Change-Id: I7072adb1954bf111cecf271e1033fc78986156d8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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.