Index: third_party/libpng/BUILD.gn |
diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn |
index 76c00277b6c2780fa769f100ba0a01c670fc4a45..5cd865529e5330db5c7ef200a79aeae52d2ccb2d 100644 |
--- a/third_party/libpng/BUILD.gn |
+++ b/third_party/libpng/BUILD.gn |
@@ -31,4 +31,11 @@ third_party("libpng") { |
"pngwtran.c", |
"pngwutil.c", |
] |
+ |
+ if (current_cpu == "arm" || current_cpu == "arm64") { |
+ sources += [ |
+ "arm/arm_init.c", |
+ "arm/filter_neon_intrinsics.c", |
+ ] |
+ } |
} |