aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-03-27 19:04:40 -0700
committerBob Badour <bbadour@google.com>2021-03-27 19:04:40 -0700
commit2bd89964e53efce3379db660dea35ccabe584d56 (patch)
tree1b05f99f6848f2ba01b26814e22de6b2d6e1e221
parent8a05051e51df9b060b13bc48011766e65a787ba0 (diff)
downloadnix-2bd89964e53efce3379db660dea35ccabe584d56.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/nix
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: I9b07e8c265418a235308eb72d1bbe4d9d0a1661f
-rw-r--r--Android.bp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5c7988d..affc10e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,26 @@
// This file is generated by cargo2android.py --run --device --dependencies --patch=patches/Android.bp.patch.
// Do not modify this file as changes will be overridden on upgrade.
+package {
+ default_applicable_licenses: ["external_rust_crates_nix_license"],
+}
+
+// Added automatically by a large-scale-change
+//
+// large-scale-change filtered out the below license kinds as false-positives:
+// SPDX-license-identifier-GPL-2.0
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_nix_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
rust_library {
name: "libnix",
// has rustc warnings