aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 14:46:21 -0800
committerBob Badour <bbadour@google.com>2021-02-12 14:46:21 -0800
commit973e36e9303fb603325d3eb32ffd59ff0483a293 (patch)
treedca3d890c6e7433970ccc5c7ccadf13fce147836 /Android.bp
parent290fc4903cd00fc31d93e0ecd49c402e6833c569 (diff)
downloadtokio-973e36e9303fb603325d3eb32ffd59ff0483a293.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/tokio
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: I16f17f837db6329e1a4f03c86a3ed1717ca3db52
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 7a36b39..35ff0fd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,22 @@
// This file is generated by cargo2android.py --device --run --dependencies --features io-util,macros,rt-multi-thread,sync,net,fs,time.
+package {
+ default_applicable_licenses: ["external_rust_crates_tokio_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_tokio_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
rust_library {
name: "libtokio",
host_supported: true,