Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: skia/skia_common.gypi

Issue 180083002: defer to skia_for_chromium_defines.gypi for temporary guard defines (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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': [
9 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines
10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi',
11 ],
12
8 'include_dirs': [ 13 'include_dirs': [
9 '..', 14 '..',
10 'config', 15 'config',
11 ], 16 ],
12 17
13 'conditions': [ 18 'conditions': [
14 [ 'OS != "android"', { 19 [ 'OS != "android"', {
15 'sources/': [ 20 'sources/': [
16 ['exclude', '_android\\.(cc|cpp)$'], 21 ['exclude', '_android\\.(cc|cpp)$'],
17 ], 22 ],
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 145
141 # This list will contain all defines that also need to be exported to 146 # This list will contain all defines that also need to be exported to
142 # dependent components. 147 # dependent components.
143 'skia_export_defines': [ 148 'skia_export_defines': [
144 'SK_ENABLE_INST_COUNT=0', 149 'SK_ENABLE_INST_COUNT=0',
145 'SK_SUPPORT_GPU=<(skia_support_gpu)', 150 'SK_SUPPORT_GPU=<(skia_support_gpu)',
146 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', 151 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
147 'SK_ENABLE_LEGACY_API_ALIASING=1', 152 'SK_ENABLE_LEGACY_API_ALIASING=1',
148 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', 153 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1',
149 'GR_GL_IGNORE_ES3_MSAA=0', 154 'GR_GL_IGNORE_ES3_MSAA=0',
150 'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1',
151 'SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1',
152 'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1', 155 'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1',
153 'SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT', 156 'SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT',
154 'SK_SUPPORT_LEGACY_COPYTO_CONFIG', 157
155 'SK_SUPPORT_DEEPCOPYTO_CONFIG', 158 # This variable contains additional defines, specified in skia's
159 # skia_for_chromium_defines.gypi file.
160 '<@(skia_for_chromium_defines)',
156 ], 161 ],
157 162
158 'default_font_cache_limit%': '(20*1024*1024)', 163 'default_font_cache_limit%': '(20*1024*1024)',
159 164
160 'conditions': [ 165 'conditions': [
161 ['OS== "android"', { 166 ['OS== "android"', {
162 # Android devices are typically more memory constrained, so 167 # Android devices are typically more memory constrained, so
163 # default to a smaller glyph cache (it may be overriden at runtime 168 # default to a smaller glyph cache (it may be overriden at runtime
164 # when the renderer starts up, depending on the actual device memory). 169 # when the renderer starts up, depending on the actual device memory).
165 'default_font_cache_limit': '(1*1024*1024)', 170 'default_font_cache_limit': '(1*1024*1024)',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 # re-export if they include Skia headers in their public headers. 217 # re-export if they include Skia headers in their public headers.
213 'all_dependent_settings': { 218 'all_dependent_settings': {
214 'include_dirs': [ 219 'include_dirs': [
215 '..', 220 '..',
216 'config', 221 'config',
217 ], 222 ],
218 }, 223 },
219 224
220 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], 225 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800],
221 } 226 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698