diff options
author | Bob Badour <bbadour@google.com> | 2021-02-23 06:34:06 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-23 06:34:06 +0000 |
commit | fed9f5d71095e13880b6f0b19e91ba5db226f793 (patch) | |
tree | 46c7269607d05e1e4032b514ec63316a2f5ff89a /shadows | |
parent | 0b4172f406ef71116216322dbf249532dbc8103f (diff) | |
parent | 3a8108f48fac1710249b57a59345a50ff1e2bfc1 (diff) | |
download | robolectric-shadows-fed9f5d71095e13880b6f0b19e91ba5db226f793.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/robolectric-shadows am: 0351203a02 am: b5e7ee69d1 am: 3a8108f48f
Original change: https://android-review.googlesource.com/c/platform/external/robolectric-shadows/+/1588808
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6f4992bbb72e493161f5c4fa82da4e66c6031ab3
Diffstat (limited to 'shadows')
-rw-r--r-- | shadows/androidx/fragment/Android.bp | 9 | ||||
-rw-r--r-- | shadows/androidx/fragment/Android.mk | 6 | ||||
-rw-r--r-- | shadows/framework/Android.bp | 9 | ||||
-rw-r--r-- | shadows/httpclient/Android.bp | 9 | ||||
-rw-r--r-- | shadows/httpclient/Android.mk | 3 | ||||
-rw-r--r-- | shadows/multidex/Android.bp | 9 | ||||
-rw-r--r-- | shadows/supportv4/Android.bp | 9 | ||||
-rw-r--r-- | shadows/supportv4/Android.mk | 3 |
8 files changed, 57 insertions, 0 deletions
diff --git a/shadows/androidx/fragment/Android.bp b/shadows/androidx/fragment/Android.bp index 160cbe8cc..fccd67210 100644 --- a/shadows/androidx/fragment/Android.bp +++ b/shadows/androidx/fragment/Android.bp @@ -2,6 +2,15 @@ // Compile Robolectric shadows androidx fragment # //############################################################### +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-MIT + default_applicable_licenses: ["external_robolectric-shadows_license"], +} + java_library_host { name: "Robolectric_shadows_androidx_fragment", static_libs: [ diff --git a/shadows/androidx/fragment/Android.mk b/shadows/androidx/fragment/Android.mk index 6de68e928..31078e1b2 100644 --- a/shadows/androidx/fragment/Android.mk +++ b/shadows/androidx/fragment/Android.mk @@ -30,6 +30,9 @@ include $(BUILD_PACKAGE) include $(CLEAR_VARS) LOCAL_MODULE := Robolectric_shadows_androidx_fragment_tests +LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../LICENSE LOCAL_MODULE_CLASS := JAVA_LIBRARIES LOCAL_SRC_FILES := $(call all-java-files-under, src/test/java) @@ -58,6 +61,9 @@ include $(BUILD_STATIC_JAVA_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := Run_robolectric_shadows_androidx_fragment_tests +LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../LICENSE LOCAL_JAVA_LIBRARIES := \ Robolectric_shadows_androidx_fragment_tests \ diff --git a/shadows/framework/Android.bp b/shadows/framework/Android.bp index 55ebfe142..28a7108ba 100644 --- a/shadows/framework/Android.bp +++ b/shadows/framework/Android.bp @@ -2,6 +2,15 @@ // Compile Robolectric shadows framework //############################################# +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_shadows_framework", libs: [ diff --git a/shadows/httpclient/Android.bp b/shadows/httpclient/Android.bp index 7c8bf9a3d..613f852af 100644 --- a/shadows/httpclient/Android.bp +++ b/shadows/httpclient/Android.bp @@ -2,6 +2,15 @@ // Compile Robolectric shadows httpclient //############################################# +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_shadows_httpclient", libs: [ diff --git a/shadows/httpclient/Android.mk b/shadows/httpclient/Android.mk index b4c98109f..bdb7cfd10 100644 --- a/shadows/httpclient/Android.mk +++ b/shadows/httpclient/Android.mk @@ -6,6 +6,9 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := Run_robolectric_shadows_httpclient_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 diff --git a/shadows/multidex/Android.bp b/shadows/multidex/Android.bp index fe5179332..ba313f8fe 100644 --- a/shadows/multidex/Android.bp +++ b/shadows/multidex/Android.bp @@ -2,6 +2,15 @@ // Compile Robolectric shadows multidex //############################################# +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-MIT + default_applicable_licenses: ["external_robolectric-shadows_license"], +} + java_library_host { name: "Robolectric_shadows_multidex", libs: [ diff --git a/shadows/supportv4/Android.bp b/shadows/supportv4/Android.bp index 4a79b4f61..f79307681 100644 --- a/shadows/supportv4/Android.bp +++ b/shadows/supportv4/Android.bp @@ -2,6 +2,15 @@ // Compile Robolectric shadows supportv4 //############################################# +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-MIT + default_applicable_licenses: ["external_robolectric-shadows_license"], +} + java_library_host { name: "Robolectric_shadows_supportv4", libs: [ diff --git a/shadows/supportv4/Android.mk b/shadows/supportv4/Android.mk index 648a82ab8..a2222183e 100644 --- a/shadows/supportv4/Android.mk +++ b/shadows/supportv4/Android.mk @@ -6,6 +6,9 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := Run_robolectric_shadows_supportv4_tests +LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../LICENSE test_source_directory := $(LOCAL_PATH)/src/test/java |