Commit b5054646 authored by fdegans's avatar fdegans Committed by Commit bot

Ignore arm_neon_optional if arm_neon==1 in skia.

BUG=451035

Review URL: https://codereview.chromium.org/1135693008

Cr-Commit-Position: refs/heads/master@{#330512}
parent 80439f48
...@@ -202,8 +202,7 @@ config("skia_library_config") { ...@@ -202,8 +202,7 @@ config("skia_library_config") {
if (current_cpu == "arm") { if (current_cpu == "arm") {
if (arm_use_neon) { if (arm_use_neon) {
defines += [ "SK_ARM_HAS_NEON" ] defines += [ "SK_ARM_HAS_NEON" ]
} } else if (arm_optionally_use_neon) {
if (arm_optionally_use_neon) {
defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ] defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ]
} }
} }
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
'SK_ARM_HAS_NEON', 'SK_ARM_HAS_NEON',
], ],
}], }],
[ 'target_arch == "arm" and arm_version >= 7 and arm_neon_optional == 1', { [ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 0 and arm_neon_optional == 1', {
'defines': [ 'defines': [
'SK_ARM_HAS_OPTIONAL_NEON', 'SK_ARM_HAS_OPTIONAL_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