diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 17:22:28 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 17:22:28 +0000 |
commit | 6f8a54f7cf82c365a2efa8ddab9ec2f0f211827b (patch) | |
tree | cbca4ba9a38436e45fc93a2d3a3a5833016b94f3 | |
parent | 7aa49ee8c9811e8f3e2bf297d12c5df9660ce12c (diff) | |
parent | b207bac3dcd3676894d78da6f525043885a6b0f1 (diff) | |
download | libjpeg-turbo-6f8a54f7cf82c365a2efa8ddab9ec2f0f211827b.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/libjpeg-turbo am: 51ea790e2e am: 5c7500dfa0 am: b207bac3dc
Original change: https://android-review.googlesource.com/c/platform/external/libjpeg-turbo/+/1587909
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icdd5760b364fc3258f1f35a316de71e519f60f18
-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: [ |