diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 15:53:51 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 15:53:51 +0000 |
commit | 9fdf58c9fc4988ba76dbad26e870f5f40b5bd206 (patch) | |
tree | 4ebddc490b229a7fa48d6852af38e4a50d1fcff1 | |
parent | 9b6e64e0fc00e6bb3138edcae03fe47535487890 (diff) | |
parent | e77763dbe038f2f81c15e0b32211654077b8ca8d (diff) | |
download | libcups-9fdf58c9fc4988ba76dbad26e870f5f40b5bd206.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/libcups am: e77763dbe0
Original change: https://android-review.googlesource.com/c/platform/external/libcups/+/1587910
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I569f13190fd6bcfb4bab950cc73df87feeb6b225
-rw-r--r-- | Android.bp | 46 |
1 files changed, 46 insertions, 0 deletions
@@ -12,6 +12,52 @@ // See the License for the specific language governing permissions and // limitations under the License. +// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE +// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE +// DEPENDING ON IT IN YOUR PROJECT. *** +package { + default_applicable_licenses: ["external_libcups_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. +// +// large-scale-change included anything that looked like it might be a license +// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. +// +// Please consider removing redundant or irrelevant files from 'license_text:'. +// See: http://go/android-license-faq +license { + name: "external_libcups_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-GPL", + "SPDX-license-identifier-GPL-2.0", + "SPDX-license-identifier-ISC", + "SPDX-license-identifier-LGPL", + "SPDX-license-identifier-MIT", + "SPDX-license-identifier-Zlib", + "legacy_by_exception_only", // by exception only + ], + license_text: [ + "LICENSE", + "NOTICE", + ], +} + cc_library_shared { name: "libcups", |