Chromium Code Reviews| Index: skia/skia.gyp |
| =================================================================== |
| --- skia/skia.gyp (revision 89827) |
| +++ skia/skia.gyp (working copy) |
| @@ -787,10 +787,6 @@ |
| 'defines': [ |
| 'SK_BUILD_FOR_MAC', |
| ], |
| - 'sources/': [ |
| - ['exclude', '/pdf/'], |
| - ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'], |
| - ], |
| 'include_dirs': [ |
| '../third_party/skia/include/utils/mac', |
| ], |
| @@ -800,6 +796,18 @@ |
| ], |
| }, |
| }], |
| + [ 'OS == "mac" and use_skia==0', { |
|
darin (slow to review)
2011/06/21 17:37:44
nit: you could also just nest another 'conditions'
|
| + 'sources/': [ |
| + ['exclude', '/pdf/'], |
| + ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'], |
| + ], |
| + }], |
| + [ 'OS == "mac" and use_skia==1', { |
| + 'defines': [ |
| + 'SK_SUPPORT_888_TEXT', |
| + 'SK_USE_MAC_CORE_TEXT', |
| + ], |
| + }], |
| [ 'OS == "win"', { |
| 'sources!': [ |
| '../third_party/skia/src/core/SkMMapStream.cpp', |