Commit 71b60123 authored by Frank Barchard's avatar Frank Barchard

GN: Fix neon files not being included for arm64

BUG=568883
R=fbarchard@chromium.org

Review URL: https://codereview.chromium.org/1516653004 .
parent 8bca9fc1
...@@ -16,7 +16,7 @@ config("libyuv_config") { ...@@ -16,7 +16,7 @@ config("libyuv_config") {
] ]
} }
use_neon = current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon) use_neon = current_cpu == "arm64" || (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon))
source_set("libyuv") { source_set("libyuv") {
sources = [ sources = [
...@@ -125,7 +125,9 @@ if (use_neon) { ...@@ -125,7 +125,9 @@ if (use_neon) {
public_configs = [ ":libyuv_config" ] public_configs = [ ":libyuv_config" ]
configs -= [ "//build/config/compiler:compiler_arm_fpu" ] if (current_cpu != "arm64") {
cflags = [ "-mfpu=neon" ] configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
cflags = [ "-mfpu=neon" ]
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment