diff options
author | Bob Badour <bbadour@google.com> | 2021-08-05 05:59:43 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-05 05:59:43 +0000 |
commit | 146bb78661262b807922816ae31771d7d0a54e2d (patch) | |
tree | 93b7981be544b25ed1cf993e1f6c2bb6e1674cbc | |
parent | 064decfa62eee1fb6601d0320ab4790008e683e2 (diff) | |
parent | 9badc1851812fb0a0cf730805ffc398f732847e4 (diff) | |
download | webpki-146bb78661262b807922816ae31771d7d0a54e2d.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/webpki am: c6ee37c3cf am: 9badc18518
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/webpki/+/1784314
Change-Id: I97c6fbaa5f9a1d8be87909557f13edfd5f28ab1f
-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, |