diff options
author | Bob Badour <bbadour@google.com> | 2022-05-26 13:50:36 -0700 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2022-05-26 13:50:36 -0700 |
commit | d2f4bfb72f49d5798fd3966de3ed3a66d1cdc94b (patch) | |
tree | 14cda393cdd1bab16424b30a5148c1a1916a6e94 /third_party | |
parent | fbe41232362d2c416fccf8765a9e5e36682de936 (diff) | |
download | tflite-support-d2f4bfb72f49d5798fd3966de3ed3a66d1cdc94b.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/tflite-support
Added SPDX-license-identifier-BSD SPDX-license-identifier-Zlib to:
third_party/zlib/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I54f006b5052720b85c6d37c20593a58da08b3df4
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/zlib/Android.bp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/zlib/Android.bp b/third_party/zlib/Android.bp index c4a99b95..66386ac5 100644 --- a/third_party/zlib/Android.bp +++ b/third_party/zlib/Android.bp @@ -2,6 +2,38 @@ // TODO(b/233151429): Clean up external/tflite-support/third_party/zlib so that it contains the // minimum set of files needed to support `BertNLClassifier`. +package { + default_applicable_licenses: [ + "external_tflite-support_third_party_zlib_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_tflite-support_third_party_zlib_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-Zlib", + ], + license_text: [ + "LICENSE", + ], +} + srcs_opt = [ "adler32_simd.c", // See https://chromium-review.googlesource.com/749732. |