Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1044)

Side by Side Diff: skia/BUILD.gn

Issue 1135693008: Ignore arm_neon_optional if arm_neon==1 in skia. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | skia/skia_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 if (current_cpu == "arm") { 8 if (current_cpu == "arm") {
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 } 10 }
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 defines = [] 196 defines = []
197 197
198 if (component_mode == "shared_library") { 198 if (component_mode == "shared_library") {
199 defines += [ "SKIA_IMPLEMENTATION=1" ] 199 defines += [ "SKIA_IMPLEMENTATION=1" ]
200 } 200 }
201 201
202 if (current_cpu == "arm") { 202 if (current_cpu == "arm") {
203 if (arm_use_neon) { 203 if (arm_use_neon) {
204 defines += [ "SK_ARM_HAS_NEON" ] 204 defines += [ "SK_ARM_HAS_NEON" ]
205 } 205 } else if (arm_optionally_use_neon) {
206 if (arm_optionally_use_neon) {
207 defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ] 206 defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ]
208 } 207 }
209 } 208 }
210 209
211 # Settings for text blitting, chosen to approximate the system browser. 210 # Settings for text blitting, chosen to approximate the system browser.
212 if (is_linux) { 211 if (is_linux) {
213 defines += [ 212 defines += [
214 "SK_GAMMA_EXPONENT=1.2", 213 "SK_GAMMA_EXPONENT=1.2",
215 "SK_GAMMA_CONTRAST=0.2", 214 "SK_GAMMA_CONTRAST=0.2",
216 "SK_HIGH_QUALITY_IS_LANCZOS", 215 "SK_HIGH_QUALITY_IS_LANCZOS",
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", 669 "tools/filter_fuzz_stub/filter_fuzz_stub.cc",
671 ] 670 ]
672 671
673 deps = [ 672 deps = [
674 ":skia", 673 ":skia",
675 "//base", 674 "//base",
676 "//base/test:test_support", 675 "//base/test:test_support",
677 ] 676 ]
678 } 677 }
679 } 678 }
OLDNEW
« no previous file with comments | « no previous file | skia/skia_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698