diff options
author | Bob Badour <bbadour@google.com> | 2021-08-02 13:02:56 -0700 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-08-02 13:02:56 -0700 |
commit | c6ee37c3cfe0431b58325eb7b30a55ed45abed39 (patch) | |
tree | 93b7981be544b25ed1cf993e1f6c2bb6e1674cbc | |
parent | 035a56f71c39ba3a2f032cf05910ab804ef44c22 (diff) | |
download | webpki-c6ee37c3cfe0431b58325eb7b30a55ed45abed39.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/webpki
Added SPDX-license-identifier-BSD SPDX-license-identifier-ISC to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ief7fa288420d739f125ec23774c1f2722d17af80
-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, |