diff options
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/Android.bp | 9 | ||||
-rw-r--r-- | sandbox/Android.mk | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sandbox/Android.bp b/sandbox/Android.bp index 8664c45fc..cad5fd576 100644 --- a/sandbox/Android.bp +++ b/sandbox/Android.bp @@ -2,6 +2,15 @@ // Compile Robolectric sandbox //############################################# +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_robolectric-shadows_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["external_robolectric-shadows_license"], +} + java_library_host { name: "Robolectric_sandbox", srcs: ["src/main/java/**/*.java"], diff --git a/sandbox/Android.mk b/sandbox/Android.mk index 41c1d13e8..360672c1e 100644 --- a/sandbox/Android.mk +++ b/sandbox/Android.mk @@ -6,6 +6,9 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := Run_robolectric_sandbox_tests +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../LICENSE test_source_directory := $(LOCAL_PATH)/src/test/java |