aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-03-27 18:57:04 -0700
committerBob Badour <bbadour@google.com>2021-03-27 18:57:04 -0700
commit13ad40082aa13772ccb94808f6d1057bc5459ac0 (patch)
tree31f937114ab03bb82bda016b27663f51039388e2
parenta513a2afbf73aec035e873288d3d784653cad6bf (diff)
downloadtokio-13ad40082aa13772ccb94808f6d1057bc5459ac0.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: Ia4bb0e469b7c79340d577d19b5cb6831bb60d796
-rw-r--r--Android.bp18
1 files changed, 17 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 6ae37fc..1ef8b8f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3,6 +3,23 @@
+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,
@@ -1399,4 +1416,3 @@ rust_test {
defaults: ["tokio_defaults_tokio"],
srcs: ["tests/uds_stream.rs"],
}
-