aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-03-24 19:35:54 -0700
committerBob Badour <bbadour@google.com>2021-03-24 19:35:54 -0700
commit66cf99d1a8f6b26e9a5f46e54ae34c3e1400b2f6 (patch)
tree1b05f99f6848f2ba01b26814e22de6b2d6e1e221
parentf48d36beef7650430fecbcb77e0882b9a7336643 (diff)
downloadnix-66cf99d1a8f6b26e9a5f46e54ae34c3e1400b2f6.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: Ia123f05f1249d6fca45ad99c73979b63c48c500a
-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