aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:18:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:18:08 +0000
commit652d78931d7d8965e8f9feb6f6a5e943146743bf (patch)
treebc2d1560d1cf9dfb9d8c113d6578dec84a456656
parent55ce1144f29ca43ee27693e91a040d3832c4e47b (diff)
parent2644c2c0081562f5ee815b06e2bda4ec5f280a7d (diff)
downloadtflite-support-android14-mainline-uwb-release.tar.gz
Change-Id: I76ed72bf66a92c624c444c109ff9573408d5f390
-rw-r--r--third_party/zlib/Android.bp32
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.