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

Side by Side Diff: skia/skia_library.gypi

Issue 19477005: Improve Skia configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Use os_posix for posix tests. Created 7 years, 2 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 | « skia/skia_common.gypi ('k') | skia/skia_library_opts.gyp » ('j') | 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 5
6 # This gypi file contains the Skia library. 6 # This gypi file contains the Skia library.
7 # In component mode (shared_lib) it is folded into a single shared library with 7 # In component mode (shared_lib) it is folded into a single shared library with
8 # the Chrome-specific enhancements but in all other cases it is a separate lib. 8 # the Chrome-specific enhancements but in all other cases it is a separate lib.
9 { 9 {
10 'dependencies': [ 10 'dependencies': [
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 '../third_party/skia/include/images/SkImageRef.h', 142 '../third_party/skia/include/images/SkImageRef.h',
143 '../third_party/skia/include/images/SkImageRef_GlobalPool.h', 143 '../third_party/skia/include/images/SkImageRef_GlobalPool.h',
144 '../third_party/skia/include/images/SkMovie.h', 144 '../third_party/skia/include/images/SkMovie.h',
145 '../third_party/skia/include/images/SkPageFlipper.h', 145 '../third_party/skia/include/images/SkPageFlipper.h',
146 146
147 '../third_party/skia/include/utils/SkNullCanvas.h', 147 '../third_party/skia/include/utils/SkNullCanvas.h',
148 '../third_party/skia/include/utils/SkPictureUtils.h', 148 '../third_party/skia/include/utils/SkPictureUtils.h',
149 '../third_party/skia/include/utils/SkProxyCanvas.h', 149 '../third_party/skia/include/utils/SkProxyCanvas.h',
150 ], 150 ],
151 'include_dirs': [ 151 'include_dirs': [
152 '..',
153 'config',
154 '../third_party/skia/include/config',
155 '../third_party/skia/include/core', 152 '../third_party/skia/include/core',
156 '../third_party/skia/include/effects', 153 '../third_party/skia/include/effects',
157 '../third_party/skia/include/images', 154 '../third_party/skia/include/images',
158 '../third_party/skia/include/lazy', 155 '../third_party/skia/include/lazy',
159 '../third_party/skia/include/pathops', 156 '../third_party/skia/include/pathops',
160 '../third_party/skia/include/pdf', 157 '../third_party/skia/include/pdf',
161 '../third_party/skia/include/pipe', 158 '../third_party/skia/include/pipe',
162 '../third_party/skia/include/ports', 159 '../third_party/skia/include/ports',
163 '../third_party/skia/include/utils', 160 '../third_party/skia/include/utils',
164 '../third_party/skia/src/core', 161 '../third_party/skia/src/core',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 }], 212 }],
216 ['OS == "mac"', { 213 ['OS == "mac"', {
217 'defines': [ 214 'defines': [
218 'SK_GAMMA_SRGB', 215 'SK_GAMMA_SRGB',
219 'SK_GAMMA_CONTRAST=0.0', 216 'SK_GAMMA_CONTRAST=0.0',
220 ], 217 ],
221 }], 218 }],
222 219
223 # For POSIX platforms, prefer the Mutex implementation provided by Skia 220 # For POSIX platforms, prefer the Mutex implementation provided by Skia
224 # since it does not generate static initializers. 221 # since it does not generate static initializers.
225 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', { 222 [ 'os_posix == 1', {
226 'defines+': [ 223 'defines+': [
227 'SK_USE_POSIX_THREADS', 224 'SK_USE_POSIX_THREADS',
228 ], 225 ],
229 'direct_dependent_settings': { 226 'direct_dependent_settings': {
230 'defines': [ 227 'defines': [
231 'SK_USE_POSIX_THREADS', 228 'SK_USE_POSIX_THREADS',
232 ], 229 ],
233 }, 230 },
234 }], 231 }],
235 232
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', 434 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS',
438 435
439 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', 436 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)',
440 ], 437 ],
441 438
442 'direct_dependent_settings': { 439 'direct_dependent_settings': {
443 'include_dirs': [ 440 'include_dirs': [
444 #temporary until we can hide SkFontHost 441 #temporary until we can hide SkFontHost
445 '../third_party/skia/src/core', 442 '../third_party/skia/src/core',
446 443
447 'config',
448 '../third_party/skia/include/config',
449 '../third_party/skia/include/core', 444 '../third_party/skia/include/core',
450 '../third_party/skia/include/effects', 445 '../third_party/skia/include/effects',
451 '../third_party/skia/include/pdf', 446 '../third_party/skia/include/pdf',
452 '../third_party/skia/include/gpu', 447 '../third_party/skia/include/gpu',
453 '../third_party/skia/include/lazy', 448 '../third_party/skia/include/lazy',
454 '../third_party/skia/include/pathops', 449 '../third_party/skia/include/pathops',
455 '../third_party/skia/include/pipe', 450 '../third_party/skia/include/pipe',
456 '../third_party/skia/include/ports', 451 '../third_party/skia/include/ports',
457 '../third_party/skia/include/utils', 452 '../third_party/skia/include/utils',
458 ], 453 ],
459 'defines': [ 454 'defines': [
460 '<@(skia_export_defines)', 455 '<@(skia_export_defines)',
461 ], 456 ],
462 }, 457 },
463 } 458 }
OLDNEW
« no previous file with comments | « skia/skia_common.gypi ('k') | skia/skia_library_opts.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698