aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-03 22:32:10 -0800
committerBob Badour <bbadour@google.com>2021-02-03 22:32:10 -0800
commit9ba8ca347e65734d56c19e6a6e9ab9acfea53c4c (patch)
tree14d78b5ebd85a13b55255175a696719250453e1d
parent963d712248de8fcbedf9680e4bdb972eab8d7eb7 (diff)
downloadlzma-9ba8ca347e65734d56c19e6a6e9ab9acfea53c4c.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/lzma
Added legacy_unencumbered to: Android.bp C/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I07eec80ffc467160f75c91cf33f953782fea35e5
-rw-r--r--Android.bp16
-rw-r--r--C/Android.bp7
2 files changed, 23 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 4a68eda..b1ffe6c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,19 @@
+package {
+ default_applicable_licenses: ["external_lzma_license"],
+}
+
+// Added automatically by a large-scale-change
+license {
+ name: "external_lzma_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
subdirs = [
"C",
]
diff --git a/C/Android.bp b/C/Android.bp
index 01978d6..4d6c5cf 100644
--- a/C/Android.bp
+++ b/C/Android.bp
@@ -1,5 +1,12 @@
// Copyright 2015 The Android Open Source Project
+package {
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // the below license kinds from "external_lzma_license":
+ // legacy_unencumbered
+ default_applicable_licenses: ["external_lzma_license"],
+}
+
cc_library {
name: "liblzma",
host_supported: true,