| 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 # blink_skia_config.gypi defines blink_skia_defines | 9 # blink_skia_config.gypi defines blink_skia_defines |
| 10 '../third_party/WebKit/public/blink_skia_config.gypi', | 10 '../third_party/WebKit/public/blink_skia_config.gypi', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 [ 'OS != "win"', { | 47 [ 'OS != "win"', { |
| 48 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | 48 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], |
| 49 }], | 49 }], |
| 50 [ 'OS == "win"', { | 50 [ 'OS == "win"', { |
| 51 'defines': [ | 51 'defines': [ |
| 52 # On windows, GDI handles are a scarse system-wide resource so we have t
o keep | 52 # On windows, GDI handles are a scarse system-wide resource so we have t
o keep |
| 53 # the glyph cache, which holds up to 4 GDI handles per entry, to a fairl
y small | 53 # the glyph cache, which holds up to 4 GDI handles per entry, to a fairl
y small |
| 54 # size. | 54 # size. |
| 55 # http://crbug.com/314387 | 55 # http://crbug.com/314387 |
| 56 'SK_DEFAULT_FONT_CACHE_COUNT_LIMIT=256', | 56 'SK_DEFAULT_FONT_CACHE_COUNT_LIMIT=256', |
| 57 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 57 ], | 58 ], |
| 58 }], | 59 }], |
| 59 [ 'desktop_linux == 0 and chromeos == 0', { | 60 [ 'desktop_linux == 0 and chromeos == 0', { |
| 60 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | 61 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], |
| 61 }], | 62 }], |
| 62 [ 'use_cairo == 0', { | 63 [ 'use_cairo == 0', { |
| 63 'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ], | 64 'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ], |
| 64 }], | 65 }], |
| 65 | 66 |
| 66 #Settings for text blitting, chosen to approximate the system browser. | 67 #Settings for text blitting, chosen to approximate the system browser. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 # re-export if they include Skia headers in their public headers. | 172 # re-export if they include Skia headers in their public headers. |
| 172 'all_dependent_settings': { | 173 'all_dependent_settings': { |
| 173 'include_dirs': [ | 174 'include_dirs': [ |
| 174 '..', | 175 '..', |
| 175 'config', | 176 'config', |
| 176 ], | 177 ], |
| 177 }, | 178 }, |
| 178 | 179 |
| 179 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 180 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
| 180 } | 181 } |
| OLD | NEW |