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 'include_dirs': [ | 8 'include_dirs': [ |
9 '..', | 9 '..', |
10 'config', | 10 'config', |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 # dependent components. | 142 # dependent components. |
143 'skia_export_defines': [ | 143 'skia_export_defines': [ |
144 'SK_ENABLE_INST_COUNT=0', | 144 'SK_ENABLE_INST_COUNT=0', |
145 'SK_SUPPORT_GPU=<(skia_support_gpu)', | 145 'SK_SUPPORT_GPU=<(skia_support_gpu)', |
146 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 146 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
147 'SK_ENABLE_LEGACY_API_ALIASING=1', | 147 'SK_ENABLE_LEGACY_API_ALIASING=1', |
148 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', | 148 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', |
149 'GR_GL_IGNORE_ES3_MSAA=0', | 149 'GR_GL_IGNORE_ES3_MSAA=0', |
150 'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1', | 150 'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1', |
151 'SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1', | 151 'SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1', |
| 152 'SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT', |
152 ], | 153 ], |
153 | 154 |
154 'default_font_cache_limit%': '(20*1024*1024)', | 155 'default_font_cache_limit%': '(20*1024*1024)', |
155 | 156 |
156 'conditions': [ | 157 'conditions': [ |
157 ['OS== "android"', { | 158 ['OS== "android"', { |
158 # Android devices are typically more memory constrained, so | 159 # Android devices are typically more memory constrained, so |
159 # default to a smaller glyph cache (it may be overriden at runtime | 160 # default to a smaller glyph cache (it may be overriden at runtime |
160 # when the renderer starts up, depending on the actual device memory). | 161 # when the renderer starts up, depending on the actual device memory). |
161 'default_font_cache_limit': '(1*1024*1024)', | 162 'default_font_cache_limit': '(1*1024*1024)', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 # re-export if they include Skia headers in their public headers. | 209 # re-export if they include Skia headers in their public headers. |
209 'all_dependent_settings': { | 210 'all_dependent_settings': { |
210 'include_dirs': [ | 211 'include_dirs': [ |
211 '..', | 212 '..', |
212 'config', | 213 'config', |
213 ], | 214 ], |
214 }, | 215 }, |
215 | 216 |
216 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 217 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
217 } | 218 } |
OLD | NEW |