OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |