Skip to content

Commit a61f3e4

Browse files
committed
Non-module targets.
Bug: 151177513 Bug: 213388645 Bug: 210912771 Test: m droid dist reportmissinglicenses Change-Id: I1982a50b33924a051d7cfcdf18dd1f0f00fa1c0f
1 parent c207bdc commit a61f3e4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test-legacy/Android.mk

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
4040

4141
include $(BUILD_STATIC_JAVA_LIBRARY)
4242

43+
$(call declare-license-metadata,$(full_classes_jar),\
44+
SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS,\
45+
notice,$(LOCAL_PATH)/../NOTICE,Android,frameworks/base)
46+
4347
# Archive a copy of the classes.jar in SDK build.
4448
$(call dist-for-goals,sdk,$(full_classes_jar):android.test.legacy.jar)
4549

tools/aapt2/Android.mk

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ $(aapt2_results): .KATI_IMPLICIT_OUTPUTS := $(aapt2_results)-nocache
1515
$(aapt2_results): $(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests
1616
-$(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests --gtest_output=xml:$@ > /dev/null 2>&1
1717

18+
$(call declare-0p-target,$(aapt2_results))
19+
1820
aapt2_results :=
1921

2022
include $(call all-makefiles-under,$(LOCAL_PATH))

0 commit comments

Comments
 (0)