diff options
author | Bob Badour <bbadour@google.com> | 2021-02-19 06:23:22 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-02-19 06:23:22 +0000 |
commit | 3c480017c110b28fda8eb5dfb96bf571dc7f2d0d (patch) | |
tree | bc49e23da767d4c70471c0566413ceba1b11231b | |
parent | 9b5182989e2f45f9a2097445278e590c229f140c (diff) | |
parent | 443835c0b81189baa7cd6b7f1dc7739d6cf21feb (diff) | |
download | hamcrest-3c480017c110b28fda8eb5dfb96bf571dc7f2d0d.tar.gz |
Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/hamcrest"
-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, |