aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 18:06:29 -0800
committerBob Badour <bbadour@google.com>2021-02-12 18:06:29 -0800
commit3a8b87347889710f04e5ae81854cf30bd5c7714d (patch)
treeb8437a90846688be84adcc10dbe9584d9689e006
parent5e39018bbf141e2026ee892d47c224572d0854e0 (diff)
downloadprotobuf-codegen-3a8b87347889710f04e5ae81854cf30bd5c7714d.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/protobuf-codegenandroid-s-preview-1
Added SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ie69548f77c032209d420e1f5d01e1b55a515e609
-rw-r--r--Android.bp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c6dcac6..620d9f7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,24 @@
// This file is generated by cargo2android.py --run --dependencies --tests.
+package {
+ default_applicable_licenses: [
+ "external_rust_crates_protobuf-codegen_license",
+ ],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_protobuf-codegen_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE.txt",
+ ],
+}
+
rust_library_host {
name: "libprotobuf_codegen",
// has rustc warnings