[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/protobuf-support am: 9d4352e5f5 am: 8a882ab71c am: a012f0db80 am: fded84c170
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/protobuf-support/+/2515675
Change-Id: Ie92c0ab0b49b667f3d3af85e9b60bde0065dbc9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 678d57a..f63d309 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3,6 +3,31 @@
+package {
+ default_applicable_licenses: [
+ "external_rust_crates_protobuf-support_license",
+ ],
+}
+
+// Added automatically by a large-scale-change
+//
+// large-scale-change included anything that looked like it might be a license
+// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
+//
+// Please consider removing redundant or irrelevant files from 'license_text:'.
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_protobuf-support_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ "LICENSE.txt",
+ ],
+}
+
rust_library {
name: "libprotobuf_support",
host_supported: true,