OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 # This gypi file handles the removal of platform-specific files from the | 5 # This gypi file handles the removal of platform-specific files from the |
6 # Skia build. | 6 # Skia build. |
7 { | 7 { |
8 'includes': [ | 8 'includes': [ |
9 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines | 9 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines |
10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', | 10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 # skia uses static initializers to initialize the serialization logic | 180 # skia uses static initializers to initialize the serialization logic |
181 # of its "pictures" library. This is currently not used in chrome; if | 181 # of its "pictures" library. This is currently not used in chrome; if |
182 # it ever gets used the processes that use it need to call | 182 # it ever gets used the processes that use it need to call |
183 # SkGraphics::Init(). | 183 # SkGraphics::Init(). |
184 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', | 184 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', |
185 | 185 |
186 # Forcing the unoptimized path for the offset image filter in skia until | 186 # Forcing the unoptimized path for the offset image filter in skia until |
187 # all filters used in Blink support the optimized path properly | 187 # all filters used in Blink support the optimized path properly |
188 'SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION', | 188 'SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION', |
189 | 189 |
190 # Disable this check because it is too strict for some Chromium-specific | |
191 # subclasses of SkPixelRef. See bug: crbug.com/171776. | |
192 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', | |
193 | |
194 'IGNORE_ROT_AA_RECT_OPT', | 190 'IGNORE_ROT_AA_RECT_OPT', |
195 | 191 |
196 'SK_IGNORE_BLURRED_RRECT_OPT', | 192 'SK_IGNORE_BLURRED_RRECT_OPT', |
197 | 193 |
198 'SK_IGNORE_QUAD_RR_CORNERS_OPT', | 194 'SK_IGNORE_QUAD_RR_CORNERS_OPT', |
199 | 195 |
200 # this flag forces Skia not to use typographic metrics with GDI. | 196 # this flag forces Skia not to use typographic metrics with GDI. |
201 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', | 197 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', |
202 | 198 |
203 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', | 199 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', |
(...skipping 12 matching lines...) Expand all Loading... |
216 # re-export if they include Skia headers in their public headers. | 212 # re-export if they include Skia headers in their public headers. |
217 'all_dependent_settings': { | 213 'all_dependent_settings': { |
218 'include_dirs': [ | 214 'include_dirs': [ |
219 '..', | 215 '..', |
220 'config', | 216 'config', |
221 ], | 217 ], |
222 }, | 218 }, |
223 | 219 |
224 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 220 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
225 } | 221 } |
OLD | NEW |