diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-03 15:57:31 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-03 15:57:31 +0000 |
commit | 45d2a00429fa1724535d4d2f8ad7f01d6cefe9a5 (patch) | |
tree | bc2d1560d1cf9dfb9d8c113d6578dec84a456656 | |
parent | 5f8cebbf2bbff1f7b6eb6820dd140e8efeccaded (diff) | |
parent | 2644c2c0081562f5ee815b06e2bda4ec5f280a7d (diff) | |
download | tflite-support-android14-mainline-adbd-release.tar.gz |
Snap for 10428683 from 2644c2c0081562f5ee815b06e2bda4ec5f280a7d to mainline-adbd-releaseaml_adb_341520010aml_adb_341517070aml_adb_340912530aml_adb_340912350aml_adb_340912200aml_adb_340912000android14-mainline-adbd-release
Change-Id: Idf56008fc2586edbc9a6ffa6cdc74adaee751708
-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 a0c7570a..2da5f53c 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. |