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 |
| 10 '../third_party/WebKit/public/blink_skia_config.gypi', |
| 11 |
9 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines | 12 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines |
10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', | 13 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', |
11 ], | 14 ], |
12 | 15 |
13 'include_dirs': [ | 16 'include_dirs': [ |
14 '..', | 17 '..', |
15 'config', | 18 'config', |
16 ], | 19 ], |
17 | 20 |
18 'conditions': [ | 21 'conditions': [ |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 # dependent components. | 152 # dependent components. |
150 'skia_export_defines': [ | 153 'skia_export_defines': [ |
151 'SK_ENABLE_INST_COUNT=0', | 154 'SK_ENABLE_INST_COUNT=0', |
152 'SK_SUPPORT_GPU=<(skia_support_gpu)', | 155 'SK_SUPPORT_GPU=<(skia_support_gpu)', |
153 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 156 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
154 'SK_ENABLE_LEGACY_API_ALIASING=1', | 157 'SK_ENABLE_LEGACY_API_ALIASING=1', |
155 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', | 158 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', |
156 'GR_GL_IGNORE_ES3_MSAA=0', | 159 'GR_GL_IGNORE_ES3_MSAA=0', |
157 'SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT', | 160 'SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT', |
158 | 161 |
| 162 # This variable contains additional defines, specified in blink's |
| 163 # blink_skia_config.gypi file. |
| 164 '<@(blink_skia_defines)', |
| 165 |
159 # This variable contains additional defines, specified in skia's | 166 # This variable contains additional defines, specified in skia's |
160 # skia_for_chromium_defines.gypi file. | 167 # skia_for_chromium_defines.gypi file. |
161 '<@(skia_for_chromium_defines)', | 168 '<@(skia_for_chromium_defines)', |
162 ], | 169 ], |
163 | 170 |
164 'default_font_cache_limit%': '(20*1024*1024)', | 171 'default_font_cache_limit%': '(20*1024*1024)', |
165 | 172 |
166 'conditions': [ | 173 'conditions': [ |
167 ['OS== "android"', { | 174 ['OS== "android"', { |
168 # Android devices are typically more memory constrained, so | 175 # Android devices are typically more memory constrained, so |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 # re-export if they include Skia headers in their public headers. | 219 # re-export if they include Skia headers in their public headers. |
213 'all_dependent_settings': { | 220 'all_dependent_settings': { |
214 'include_dirs': [ | 221 'include_dirs': [ |
215 '..', | 222 '..', |
216 'config', | 223 'config', |
217 ], | 224 ], |
218 }, | 225 }, |
219 | 226 |
220 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 227 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
221 } | 228 } |
OLD | NEW |