diff options
author | Bob Badour <bbadour@google.com> | 2021-05-04 16:49:55 -0700 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-05-04 16:49:55 -0700 |
commit | 9d77f734b4cbc531b2734ea5aece5e1a362ea89d (patch) | |
tree | 640221a39974789ed0abec1ec6603162f33b0fa9 | |
parent | eb7bb5cf7f55293002e876a31823c0785f2102ec (diff) | |
download | lz4-android-wear-11.0.0-gpl_r5.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/lz4android-wear-11.0.0-gpl_r5android-wear-11.0.0-gpl_r4android-wear-11.0.0-gpl_r3android-wear-11.0.0-gpl_r2android-wear-11.0.0-gpl_r1
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.bp | 17 | ||||
-rw-r--r-- | programs/Android.bp | 31 |
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: [ |