diff options
author | Bob Badour <bbadour@google.com> | 2021-02-16 21:22:32 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-16 21:22:32 +0000 |
commit | 6f98c41aaa073ecb1d4321990a89bb63a29be29e (patch) | |
tree | d8a2e2d2196d95bc2fa75aa909e0a877760fdb7d | |
parent | 19a987a12ab27ffe6f687193a59ddecf69728ea1 (diff) | |
parent | af5a86ca38e4fbb3f3dca12d43ed28f0f747c1c6 (diff) | |
download | spin-6f98c41aaa073ecb1d4321990a89bb63a29be29e.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/spin am: 1b71a85fdd am: af5a86ca38
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/spin/+/1588718
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I58ecc6810b763c6ca2eaef88cbb56ae6fa1d2446
-rw-r--r-- | Android.bp | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -1,5 +1,35 @@ // This file is generated by cargo2android.py --run --device --dependencies --tests --patch=patches/Android.bp.patch. +package { + default_applicable_licenses: ["external_rust_crates_spin_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_spin_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + ], +} + rust_library { name: "libspin", // has rustc warnings |