aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 17:22:28 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 17:22:28 +0000
commit6f8a54f7cf82c365a2efa8ddab9ec2f0f211827b (patch)
treecbca4ba9a38436e45fc93a2d3a3a5833016b94f3
parent7aa49ee8c9811e8f3e2bf297d12c5df9660ce12c (diff)
parentb207bac3dcd3676894d78da6f525043885a6b0f1 (diff)
downloadlibjpeg-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.bp34
1 files changed, 34 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 408ee3cc..5e0d28f4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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: [