[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/codespan-reporting
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ie201c216734b45157b8f82237412f530b2939409
diff --git a/Android.bp b/Android.bp
index 8e17a51..f5f87a1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,24 @@
// This file is generated by cargo2android.py --run --device --dependencies.
+package {
+ default_applicable_licenses: [
+ "external_rust_crates_codespan-reporting_license",
+ ],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_codespan-reporting_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
rust_library {
name: "libcodespan_reporting",
host_supported: true,