perfetto: bump zlib version
Bump to match Chromium deps: this should stop the flakes on the Perfetto
CI.
Change-Id: Icc77c1469c5e7f7c5393a16405bed00261040ed1
diff --git a/bazel/zlib.BUILD b/bazel/zlib.BUILD
index 9c203dd..5e2ac5b 100644
--- a/bazel/zlib.BUILD
+++ b/bazel/zlib.BUILD
@@ -18,6 +18,7 @@
name = "zlib",
srcs = [
"adler32.c",
+ "chromeconf.h",
"compress.c",
"contrib/optimizations/insert_string.h",
"cpu_features.c",
@@ -43,13 +44,9 @@
"trees.h",
"uncompr.c",
"zconf.h",
- "zlib.h",
"zutil.c",
"zutil.h",
- ] + select({
- "@perfetto//bazel:cpu_arm64": ["contrib/optimizations/slide_hash_neon.h"],
- "//conditions:default": [],
- }),
+ ],
hdrs = [
"zlib.h",
],
@@ -58,7 +55,8 @@
"//conditions:default": [],
}) + [
"-Wno-unused-function",
- "-DHAVE_HIDDEN",
+ "-DZLIB_IMPLEMENTATION",
+ "-DCHROMIUM_ZLIB_NO_CHROMECONF",
] + PERFETTO_CONFIG.deps_copts.zlib,
includes = ["zlib"],
visibility = ["//visibility:public"],