| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 'IGNORE_ROT_AA_RECT_OPT', | 190 'IGNORE_ROT_AA_RECT_OPT', |
| 191 | 191 |
| 192 'SK_IGNORE_BLURRED_RRECT_OPT', | 192 'SK_IGNORE_BLURRED_RRECT_OPT', |
| 193 | 193 |
| 194 'SK_IGNORE_QUAD_RR_CORNERS_OPT', | |
| 195 | |
| 196 # this flag forces Skia not to use typographic metrics with GDI. | 194 # this flag forces Skia not to use typographic metrics with GDI. |
| 197 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', | 195 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', |
| 198 | 196 |
| 199 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', | 197 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', |
| 200 | 198 |
| 201 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE', | 199 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE', |
| 202 ], | 200 ], |
| 203 | 201 |
| 204 'direct_dependent_settings': { | 202 'direct_dependent_settings': { |
| 205 'defines': [ | 203 'defines': [ |
| 206 '<@(skia_export_defines)', | 204 '<@(skia_export_defines)', |
| 207 ], | 205 ], |
| 208 }, | 206 }, |
| 209 | 207 |
| 210 # We would prefer this to be direct_dependent_settings, | 208 # We would prefer this to be direct_dependent_settings, |
| 211 # however we currently have no means to enforce that direct dependents | 209 # however we currently have no means to enforce that direct dependents |
| 212 # re-export if they include Skia headers in their public headers. | 210 # re-export if they include Skia headers in their public headers. |
| 213 'all_dependent_settings': { | 211 'all_dependent_settings': { |
| 214 'include_dirs': [ | 212 'include_dirs': [ |
| 215 '..', | 213 '..', |
| 216 'config', | 214 'config', |
| 217 ], | 215 ], |
| 218 }, | 216 }, |
| 219 | 217 |
| 220 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 218 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
| 221 } | 219 } |
| OLD | NEW |