summaryrefslogtreecommitdiffstats
path: root/skia/BUILD.gn
diff options
context:
space:
mode:
authorfdegans <fdegans@chromium.org>2015-05-19 06:19:33 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-19 13:19:38 +0000
commitb5054646a30a5ad3225dca300616c0d018f7b2fa (patch)
treedf43bd9b5603e260b1484fd8bba854980e95017d /skia/BUILD.gn
parent80439f48e3d54a2ccd4557049802c8add32a5f82 (diff)
downloadchromium_src-b5054646a30a5ad3225dca300616c0d018f7b2fa.zip
chromium_src-b5054646a30a5ad3225dca300616c0d018f7b2fa.tar.gz
chromium_src-b5054646a30a5ad3225dca300616c0d018f7b2fa.tar.bz2
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}
Diffstat (limited to 'skia/BUILD.gn')
-rw-r--r--skia/BUILD.gn3
1 files changed, 1 insertions, 2 deletions
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 30a0453..7a8f40b 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -202,8 +202,7 @@ config("skia_library_config") {
if (current_cpu == "arm") {
if (arm_use_neon) {
defines += [ "SK_ARM_HAS_NEON" ]
- }
- if (arm_optionally_use_neon) {
+ } else if (arm_optionally_use_neon) {
defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ]
}
}