| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 # This list will contain all defines that also need to be exported to | 141 # This list will contain all defines that also need to be exported to |
| 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 ], | 152 ], |
| 152 | 153 |
| 153 'default_font_cache_limit%': '(20*1024*1024)', | 154 'default_font_cache_limit%': '(20*1024*1024)', |
| 154 | 155 |
| 155 'conditions': [ | 156 'conditions': [ |
| 156 ['OS== "android"', { | 157 ['OS== "android"', { |
| 157 # Android devices are typically more memory constrained, so | 158 # Android devices are typically more memory constrained, so |
| 158 # default to a smaller glyph cache (it may be overriden at runtime | 159 # default to a smaller glyph cache (it may be overriden at runtime |
| 159 # when the renderer starts up, depending on the actual device memory). | 160 # when the renderer starts up, depending on the actual device memory). |
| 160 'default_font_cache_limit': '(1*1024*1024)', | 161 'default_font_cache_limit': '(1*1024*1024)', |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 # re-export if they include Skia headers in their public headers. | 208 # re-export if they include Skia headers in their public headers. |
| 208 'all_dependent_settings': { | 209 'all_dependent_settings': { |
| 209 'include_dirs': [ | 210 'include_dirs': [ |
| 210 '..', | 211 '..', |
| 211 'config', | 212 'config', |
| 212 ], | 213 ], |
| 213 }, | 214 }, |
| 214 | 215 |
| 215 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 216 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
| 216 } | 217 } |
| OLD | NEW |