aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2023-03-30 07:17:20 -0700
committerBob Badour <bbadour@google.com>2023-03-30 07:17:20 -0700
commitc5abb32887024397a75f821dabf2b52bb3389552 (patch)
treeb50a997b739f6671b8dc0e6d8d7402b7d61e47b2
parent158191ed44106548cab90722232f15ef9ee355a4 (diff)
downloadprotobuf-c5abb32887024397a75f821dabf2b52bb3389552.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/protobuf
Added SPDX-license-identifier-MIT to: 2.27.1/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: I13016436c9310a0e775ee6b7090520ebb1bae414
-rw-r--r--2.27.1/Android.bp19
1 files changed, 19 insertions, 0 deletions
diff --git a/2.27.1/Android.bp b/2.27.1/Android.bp
index 6801e6f..668cc98 100644
--- a/2.27.1/Android.bp
+++ b/2.27.1/Android.bp
@@ -1,6 +1,25 @@
// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
+package {
+ default_applicable_licenses: [
+ "external_rust_crates_protobuf_2.27.1_license",
+ ],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_protobuf_2.27.1_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE.txt",
+ ],
+}
+
genrule {
name: "copy_protobuf_deprecated_build_out",
srcs: ["out/*"],