| Index: third_party/libpng/BUILD.gn
|
| diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn
|
| index 5c61dcac8c198721c9f155a1760ef5bef6abef89..d12c616ed8dc8b34ac2ef530078650e57c8959a5 100644
|
| --- a/third_party/libpng/BUILD.gn
|
| +++ b/third_party/libpng/BUILD.gn
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/chromecast_build.gni")
|
| +import("//build/config/arm.gni")
|
|
|
| config("libpng_config") {
|
| include_dirs = [ "." ]
|
| @@ -67,7 +68,7 @@ source_set("libpng_sources") {
|
| "contrib/intel/intel_init.c",
|
| ]
|
| defines += [ "PNG_INTEL_SSE_OPT=1" ]
|
| - } else if (current_cpu == "arm" || current_cpu == "arm64") {
|
| + } else if ((current_cpu == "arm" || current_cpu == "arm64") && arm_use_neon) {
|
| sources += [
|
| "arm/arm_init.c",
|
| "arm/filter_neon_intrinsics.c",
|
|
|