Index: build/config/arm.gni |
diff --git a/build/config/arm.gni b/build/config/arm.gni |
index d942c3b1a73cb0b1b8d90031dfba1ef722ea1d6f..d39c6e906ecd40b4c2ce30dfaf3708ac29d0e76a 100644 |
--- a/build/config/arm.gni |
+++ b/build/config/arm.gni |
@@ -20,16 +20,19 @@ if (cpu_arch == "arm") { |
# Whether to use the neon FPU instruction set or not. |
arm_use_neon = true |
+ |
+ # Whether to enable optional NEON code paths. |
+ arm_optionally_use_neon = false |
+ |
+ if (is_android) { |
+ arm_use_neon = false |
+ arm_optionally_use_neon = true |
+ } |
} |
assert(arm_float_abi == "" || arm_float_abi == "hard" || |
arm_float_abi == "soft" || arm_float_abi == "softfp") |
- if (is_android) { |
- arm_use_neon = false |
- } |
- arm_optionally_use_neon = true |
- |
if (arm_version == 6) { |
arm_arch = "armv6" |
if (arm_tune != "") { |