[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/instant am: d9eb8a8ca8 am: 23facbb608 am: 607757d3ea am: 4920b2a264
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/instant/+/1588816
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I528dc5b55a766ede3f40ab971e19c6d1dd68d817
diff --git a/Android.bp b/Android.bp
index e600e2a..4d1f5e3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,22 @@
// This file is generated by cargo2android.py --run --device --dependencies.
+package {
+ default_applicable_licenses: ["external_rust_crates_instant_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_instant_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
rust_library {
name: "libinstant",
host_supported: true,