aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-02-22 00:02:39 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-22 00:02:39 +0000
commit31cdb9cc603bbfe849e5cba9d08fba44d5bd5674 (patch)
treecef87e8ae39ba698a34d80b7e8be04490d996505
parentc98c86fb4017c55298ea00a2903c7cc7be7138d4 (diff)
parent543f2c338c205a34590a522c90c9812adb2c07a5 (diff)
downloadhamcrest-android12-d1-s5-release.tar.gz
Change-Id: Ica03ef093fb41bf010bd2db9b7158915805ddba0
-rw-r--r--Android.bp23
-rw-r--r--hamcrest-core/Android.bp9
-rw-r--r--hamcrest-library/Android.bp9
3 files changed, 41 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ec07728..65b997a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,29 @@
//
//
+package {
+ default_applicable_licenses: ["external_hamcrest_license"],
+}
+
+// Added automatically by a large-scale-change
+//
+// large-scale-change included anything that looked like it might be a license
+// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
+//
+// Please consider removing redundant or irrelevant files from 'license_text:'.
+// See: http://go/android-license-faq
+license {
+ name: "external_hamcrest_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "LICENSE.txt",
+ "NOTICE",
+ ],
+}
+
subdirs = [
"hamcrest-core",
"hamcrest-library",
diff --git a/hamcrest-core/Android.bp b/hamcrest-core/Android.bp
index da980d8..1183db1 100644
--- a/hamcrest-core/Android.bp
+++ b/hamcrest-core/Android.bp
@@ -14,6 +14,15 @@
//
//
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_hamcrest_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: ["external_hamcrest_license"],
+}
+
java_library_static {
name: "hamcrest",
host_supported: true,
diff --git a/hamcrest-library/Android.bp b/hamcrest-library/Android.bp
index b91fb99..915ce48 100644
--- a/hamcrest-library/Android.bp
+++ b/hamcrest-library/Android.bp
@@ -14,6 +14,15 @@
//
//
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_hamcrest_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: ["external_hamcrest_license"],
+}
+
java_library_static {
name: "hamcrest-library",
host_supported: true,