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 if (cpu_arch == "arm") { | 7 if (cpu_arch == "arm") { |
8 import("//build/config/arm.gni") | 8 import("//build/config/arm.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 "SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0", | 165 "SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0", |
166 | 166 |
167 # Forcing the unoptimized path for the offset image filter in skia until | 167 # Forcing the unoptimized path for the offset image filter in skia until |
168 # all filters used in Blink support the optimized path properly | 168 # all filters used in Blink support the optimized path properly |
169 "SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION", | 169 "SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION", |
170 | 170 |
171 "IGNORE_ROT_AA_RECT_OPT", | 171 "IGNORE_ROT_AA_RECT_OPT", |
172 | 172 |
173 "SK_IGNORE_BLURRED_RRECT_OPT", | 173 "SK_IGNORE_BLURRED_RRECT_OPT", |
174 | 174 |
175 "SK_IGNORE_QUAD_RR_CORNERS_OPT", | |
176 | |
177 # this flag forces Skia not to use typographic metrics with GDI. | 175 # this flag forces Skia not to use typographic metrics with GDI. |
178 "SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS", | 176 "SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS", |
179 | 177 |
180 "SK_USE_DISCARDABLE_SCALEDIMAGECACHE", | 178 "SK_USE_DISCARDABLE_SCALEDIMAGECACHE", |
181 ] | 179 ] |
182 | 180 |
183 if (cpu_arch == "arm") { | 181 if (cpu_arch == "arm") { |
184 if (arm_use_neon) { | 182 if (arm_use_neon) { |
185 defines += [ "__ARM_HAVE_NEON" ] | 183 defines += [ "__ARM_HAVE_NEON" ] |
186 } | 184 } |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 ":skia_config", | 702 ":skia_config", |
705 "//build/config/compiler:no_chromium_code" | 703 "//build/config/compiler:no_chromium_code" |
706 ] | 704 ] |
707 | 705 |
708 deps = [ | 706 deps = [ |
709 "//base", | 707 "//base", |
710 ] | 708 ] |
711 | 709 |
712 visibility = ":skia" | 710 visibility = ":skia" |
713 } | 711 } |
OLD | NEW |