diff options
author | Bob Badour <bbadour@google.com> | 2021-02-16 22:08:38 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-16 22:08:38 +0000 |
commit | a7cb693efa3cb9d5bc7de64c5a6588130ded85ab (patch) | |
tree | c57dc3f724735d13950ca4424909f59cd10c2cd3 | |
parent | 5688992b80595f7ae4b1a34440e8fd2833bce23f (diff) | |
parent | 0f4ee568dfda4e80ae13665b404eba0b3d241560 (diff) | |
download | grpcio-compiler-a7cb693efa3cb9d5bc7de64c5a6588130ded85ab.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/grpcio-compiler am: 9d18baa83f am: f8969c0263 am: 0f4ee568df
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/grpcio-compiler/+/1588720
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I36bfcfe521f94229e7c67d55d545c34d5862fe7f
-rw-r--r-- | Android.bp | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1,5 +1,37 @@ // This file is generated by cargo2android.py --run --dependencies. +package { + default_applicable_licenses: [ + "external_rust_crates_grpcio-compiler_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_grpcio-compiler_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + ], +} + rust_binary_host { name: "grpc_rust_plugin", crate_name: "grpc_rust_plugin", |