diff options
author | Bob Badour <bbadour@google.com> | 2021-08-05 05:51:06 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-05 05:51:06 +0000 |
commit | 9badc1851812fb0a0cf730805ffc398f732847e4 (patch) | |
tree | 93b7981be544b25ed1cf993e1f6c2bb6e1674cbc | |
parent | d2766f4aeab1a5dea53dd4b8d40dd07a0d3729cf (diff) | |
parent | c6ee37c3cfe0431b58325eb7b30a55ed45abed39 (diff) | |
download | webpki-9badc1851812fb0a0cf730805ffc398f732847e4.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/webpki am: c6ee37c3cf
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/webpki/+/1784314
Change-Id: I4c171f4128a24c2591e2e3735c535e9f3ff8ccbc
-rw-r--r-- | Android.bp | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -3,6 +3,36 @@ +package { + default_applicable_licenses: ["external_rust_crates_webpki_license"], +} + +// Added automatically by a large-scale-change that took the approach of +// 'apply every license found to every target'. While this makes sure we respect +// every license restriction, it may not be entirely correct. +// +// e.g. GPL in an MIT project might only apply to the contrib/ directory. +// +// Please consider splitting the single license below into multiple licenses, +// taking care not to lose any license_kind information, and overriding the +// default license using the 'licenses: [...]' property on targets as needed. +// +// For unused files, consider creating a 'fileGroup' with "//visibility:private" +// to attach the license to, and including a comment whether the files may be +// used in the current project. +// See: http://go/android-license-faq +license { + name: "external_rust_crates_webpki_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-ISC", + ], + license_text: [ + "LICENSE", + ], +} + rust_library { name: "libwebpki", host_supported: true, |