Skip to content

Commit ac62073

Browse files
deps: update zlib to 1.3.1-e00f703
1 parent ed6ec96 commit ac62073

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

deps/zlib/BUILD.gn

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,10 @@ source_set("zlib_common_headers") {
6767
]
6868
}
6969

70-
use_arm_neon_optimizations = false
71-
if ((current_cpu == "arm" || current_cpu == "arm64") &&
72-
!(is_win && !is_clang)) {
73-
# TODO(ritownsend@google.com): Optimizations temporarily disabled for
74-
# Windows on Arm MSVC builds, see http://crbug.com/v8/10012.
75-
if (arm_use_neon) {
76-
use_arm_neon_optimizations = true
77-
}
78-
}
70+
# TODO(ritownsend@google.com): Optimizations temporarily disabled for
71+
# Windows on Arm MSVC builds, see http://crbug.com/v8/10012.
72+
use_arm_neon_optimizations =
73+
(current_cpu == "arm" || current_cpu == "arm64") && !(is_win && !is_clang)
7974

8075
use_x86_x64_optimizations =
8176
(current_cpu == "x86" || current_cpu == "x64") && !is_ios
@@ -367,7 +362,7 @@ component("zlib") {
367362
configs -= [ "//build/config/compiler:chromium_code" ]
368363
configs += [ "//build/config/compiler:no_chromium_code" ]
369364

370-
if (zlib_symbols_visible) {
365+
if (is_posix && zlib_symbols_visible) {
371366
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
372367
configs += [ "//build/config/gcc:symbol_visibility_default" ]
373368
}

src/zlib_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// Refer to tools/dep_updaters/update-zlib.sh
33
#ifndef SRC_ZLIB_VERSION_H_
44
#define SRC_ZLIB_VERSION_H_
5-
#define ZLIB_VERSION "1.3.1-63d7e16"
5+
#define ZLIB_VERSION "1.3.1-e00f703"
66
#endif // SRC_ZLIB_VERSION_H_

0 commit comments

Comments
 (0)