aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-05-04 16:49:55 -0700
committerBob Badour <bbadour@google.com>2021-05-04 16:49:55 -0700
commit9d77f734b4cbc531b2734ea5aece5e1a362ea89d (patch)
tree640221a39974789ed0abec1ec6603162f33b0fa9
parenteb7bb5cf7f55293002e876a31823c0785f2102ec (diff)
downloadlz4-android-wear-11.0.0-gpl_r5.tar.gz
Added SPDX-license-identifier-BSD to: lib/Android.bp Added SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-LGPL to: programs/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I3e9afdfbff7c102cb735535cc2b8b9d6e6884840
-rw-r--r--lib/Android.bp17
-rw-r--r--programs/Android.bp31
2 files changed, 48 insertions, 0 deletions
diff --git a/lib/Android.bp b/lib/Android.bp
index 26db9bf1..51ccf3b3 100644
--- a/lib/Android.bp
+++ b/lib/Android.bp
@@ -1,5 +1,22 @@
// Copyright (C) 2015 The Android Open Source Project
+package {
+ default_applicable_licenses: ["external_lz4_lib_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_lz4_lib_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
cc_library {
name: "liblz4",
apex_available: [
diff --git a/programs/Android.bp b/programs/Android.bp
index 9a6657b5..9836149d 100644
--- a/programs/Android.bp
+++ b/programs/Android.bp
@@ -1,5 +1,36 @@
// Copyright (C) 2016 The Android Open Source Project
+package {
+ default_applicable_licenses: ["external_lz4_programs_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "external_lz4_programs_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-LGPL",
+ ],
+ license_text: [
+ "COPYING",
+ ],
+}
+
cc_binary_host {
name: "lz4",
srcs: [