diff options
author | android-build-prod (mdb) <android-build-team-robot@google.com> | 2021-03-04 00:37:59 +0000 |
---|---|---|
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | 2021-03-04 00:37:59 +0000 |
commit | 4556c886e32129a487c9d9e7d2900f90ae4420a9 (patch) | |
tree | bc49e23da767d4c70471c0566413ceba1b11231b | |
parent | bd5dc260fab62a7a5a99babf0c2ef3f34a5a84aa (diff) | |
parent | 23764b95d65a5996f8ccd4830be5783f17a761b3 (diff) | |
download | hamcrest-4556c886e32129a487c9d9e7d2900f90ae4420a9.tar.gz |
Snap for 7183507 from 23764b95d65a5996f8ccd4830be5783f17a761b3 to sdk-release
Change-Id: Ia36f2146c32a1b643a44408b45d2a991b2b230c1
-rw-r--r-- | Android.bp | 23 | ||||
-rw-r--r-- | hamcrest-core/Android.bp | 9 | ||||
-rw-r--r-- | hamcrest-library/Android.bp | 9 |
3 files changed, 41 insertions, 0 deletions
@@ -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 6cb02ce..875819a 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, |