[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/protobuf-codegen
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
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