diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-19 12:01:54 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-19 12:01:54 +0000 |
commit | f6094ff1c84543f5ade7058760111e010268c256 (patch) | |
tree | cef87e8ae39ba698a34d80b7e8be04490d996505 | |
parent | c24f6249abf1583a60f7b33ea29e321e8f15c586 (diff) | |
parent | d49ec7c11e2e6e85d15c5a0d7c9ebcbc73c86a20 (diff) | |
download | hamcrest-android12-mainline-media-swcodec-release.tar.gz |
Snap for 7474514 from d49ec7c11e2e6e85d15c5a0d7c9ebcbc73c86a20 to mainline-media-swcodec-releaseandroid-mainline-12.0.0_r91android-mainline-12.0.0_r75android-mainline-12.0.0_r47android-mainline-12.0.0_r30android-mainline-12.0.0_r13android-mainline-12.0.0_r120android-mainline-12.0.0_r105android12-mainline-media-swcodec-release
Change-Id: I99f8068cfe2e0070183f1899cf1c426d08f8c0f9
-rw-r--r-- | Android.bp | 23 | ||||
-rw-r--r-- | METADATA | 3 | ||||
-rw-r--r-- | hamcrest-core/Android.bp | 14 | ||||
-rw-r--r-- | hamcrest-library/Android.bp | 9 |
4 files changed, 44 insertions, 5 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/METADATA b/METADATA new file mode 100644 index 0000000..d97975c --- /dev/null +++ b/METADATA @@ -0,0 +1,3 @@ +third_party { + license_type: NOTICE +} diff --git a/hamcrest-core/Android.bp b/hamcrest-core/Android.bp index 6cb02ce..1183db1 100644 --- a/hamcrest-core/Android.bp +++ b/hamcrest-core/Android.bp @@ -14,15 +14,19 @@ // // +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, hostdex: true, srcs: ["src/main/java/**/*.java"], sdk_version: "core_current", - - // Pin to Java language level 8. It is loaded by an OpenJDK 8 runtime from - // prebuilts/studio/jdk in frameworks/layoutlib/bridge/tests/run_tests.sh. - // See b/141970724. - java_version: "1.8", } 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, |