diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 21:29:35 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-12 21:29:35 -0800 |
commit | 51ea790e2e099e5805adcce6750a40fe102cb2fb (patch) | |
tree | cbca4ba9a38436e45fc93a2d3a3a5833016b94f3 | |
parent | 561da2822f29d0be43363ab25c40068ddceccc7c (diff) | |
download | libjpeg-turbo-51ea790e2e099e5805adcce6750a40fe102cb2fb.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/libjpeg-turboandroid-s-preview-1
Added SPDX-license-identifier-BSD SPDX-license-identifier-Beerware
SPDX-license-identifier-MIT SPDX-license-identifier-Zlib
legacy_notice legacy_unencumbered
to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ia34449c3b9cf777bf70afb1036034128c64e038c
-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: [ |