Index: third_party/zlib/BUILD.gn |
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn |
index 5086563cf550b7be2aa82ca8654e83fef3ac289d..09dfa5fd4eec2af3565d73c9515531483fa63205 100644 |
--- a/third_party/zlib/BUILD.gn |
+++ b/third_party/zlib/BUILD.gn |
@@ -73,6 +73,11 @@ static_library("zlib") { |
if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) { |
sources += [ "x86.c" ] |
+ } else if (current_cpu == "arm" || current_cpu == "arm64") { |
+ sources += [ |
+ "neon_adler32.c", |
+ "neon_adler32.h", |
+ ] |
} |
configs -= [ "//build/config/compiler:chromium_code" ] |