diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 16:47:58 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 16:47:58 +0000 |
commit | b207bac3dcd3676894d78da6f525043885a6b0f1 (patch) | |
tree | cbca4ba9a38436e45fc93a2d3a3a5833016b94f3 | |
parent | 04c9ddd1a8d730d6ae03aa13cf72a02aa16bea12 (diff) | |
parent | 5c7500dfa0586242fa8a694248efadb11ef1e93a (diff) | |
download | libjpeg-turbo-b207bac3dcd3676894d78da6f525043885a6b0f1.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/libjpeg-turbo am: 51ea790e2e am: 5c7500dfa0
Original change: https://android-review.googlesource.com/c/platform/external/libjpeg-turbo/+/1587909
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7f821ec312bfc90554bddbb0406b2a4cced2cebf
-rw-r--r-- | Android.bp | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -1,5 +1,39 @@ // Set up common variables for usage across the libjpeg-turbo modules +package { + default_applicable_licenses: ["external_libjpeg-turbo_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_libjpeg-turbo_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-Beerware", + "SPDX-license-identifier-MIT", + "SPDX-license-identifier-Zlib", + "legacy_notice", + "legacy_unencumbered", + ], + license_text: [ + "LICENSE.md", + ], +} + cc_defaults { name: "libjpeg-defaults", cflags: [ |