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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 # skia uses static initializers to initialize the serialization logic | 157 # skia uses static initializers to initialize the serialization logic |
158 # of its "pictures" library. This is currently not used in chrome; if | 158 # of its "pictures" library. This is currently not used in chrome; if |
159 # it ever gets used the processes that use it need to call | 159 # it ever gets used the processes that use it need to call |
160 # SkGraphics::Init(). | 160 # SkGraphics::Init(). |
161 "SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0", | 161 "SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0", |
162 | 162 |
163 # Forcing the unoptimized path for the offset image filter in skia until | 163 # Forcing the unoptimized path for the offset image filter in skia until |
164 # all filters used in Blink support the optimized path properly | 164 # all filters used in Blink support the optimized path properly |
165 "SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION", | 165 "SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION", |
166 | 166 |
167 # Disable this check because it is too strict for some Chromium-specific | |
168 # subclasses of SkPixelRef. See bug: crbug.com/171776. | |
169 "SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK", | |
170 | |
171 "IGNORE_ROT_AA_RECT_OPT", | 167 "IGNORE_ROT_AA_RECT_OPT", |
172 | 168 |
173 "SK_IGNORE_BLURRED_RRECT_OPT", | 169 "SK_IGNORE_BLURRED_RRECT_OPT", |
174 | 170 |
175 "SK_IGNORE_QUAD_RR_CORNERS_OPT", | 171 "SK_IGNORE_QUAD_RR_CORNERS_OPT", |
176 | 172 |
177 # this flag forces Skia not to use typographic metrics with GDI. | 173 # this flag forces Skia not to use typographic metrics with GDI. |
178 "SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS", | 174 "SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS", |
179 | 175 |
180 "SK_USE_DISCARDABLE_SCALEDIMAGECACHE", | 176 "SK_USE_DISCARDABLE_SCALEDIMAGECACHE", |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 ":skia_config", | 655 ":skia_config", |
660 "//build/config/compiler:no_chromium_code" | 656 "//build/config/compiler:no_chromium_code" |
661 ] | 657 ] |
662 | 658 |
663 deps = [ | 659 deps = [ |
664 "//base", | 660 "//base", |
665 ] | 661 ] |
666 | 662 |
667 visibility = ":skia" | 663 visibility = ":skia" |
668 } | 664 } |
OLD | NEW |