diff options
author | Bob Badour <bbadour@google.com> | 2021-02-03 19:53:33 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2021-02-04 20:44:15 +0000 |
commit | 7e3d49d1a491acd508c0f0186527ba937aaac7cd (patch) | |
tree | aa44ea0975fc0f37e5b624c1d051710d436015b5 | |
parent | 081a0f08d0f75fb3e7c0522070aca42cbdddd43a (diff) | |
download | lz4-7e3d49d1a491acd508c0f0186527ba937aaac7cd.tar.gz |
Add LOCAL_LICENSE_KINDS to external/lz4
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: I324b6062a3571562af1da331a2b697959b283aa5
-rw-r--r-- | lib/Android.bp | 16 | ||||
-rw-r--r-- | programs/Android.bp | 17 |
2 files changed, 32 insertions, 1 deletions
diff --git a/lib/Android.bp b/lib/Android.bp index 14515bf2..b282c0fb 100644 --- a/lib/Android.bp +++ b/lib/Android.bp @@ -1,5 +1,21 @@ // Copyright (C) 2015 The Android Open Source Project +package { + default_applicable_licenses: ["external_lz4_lib_license"], +} + +// Added automatically by a large-scale-change +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..89540d11 100644 --- a/programs/Android.bp +++ b/programs/Android.bp @@ -1,4 +1,19 @@ -// Copyright (C) 2016 The Android Open Source Project +package { + default_applicable_licenses: ["external_lz4_programs_license"], +} + +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", |