Chromium Code Reviews| Index: skia/skia.gyp |
| diff --git a/skia/skia.gyp b/skia/skia.gyp |
| index 17c817a3c575081c93bd1c9f038d322051d4d9e9..e05bd33031fd41d213823036f89419930fd7836b 100644 |
| --- a/skia/skia.gyp |
| +++ b/skia/skia.gyp |
| @@ -1003,7 +1003,16 @@ |
| }], |
| ], |
| }], |
| - [ 'OS == "mac"', { |
| + [ 'OS == "ios"', { |
| + 'sources/': [ |
| + # iOS does not require most of skia and only needs a single file. |
| + # Rather than creating a separate top-level target, simply exclude |
| + # all files except for the one that is needed. |
| + ['exclude', '.*'], |
| + ['include', '^ext/google_logging\\.cc$'], |
| + ], |
| + }], |
| + [ 'OS == "mac" and OS != "ios"', { |
|
noyau (Ping after 24h)
2012/07/31 14:08:19
If OS == 'mac' it is likely to be != from ios as w
|
| 'defines': [ |
| 'SK_BUILD_FOR_MAC', |
| ], |
| @@ -1072,12 +1081,15 @@ |
| ], |
| }, |
| }], |
| - ], |
| - 'dependencies': [ |
| - 'skia_opts', |
| - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| - '../third_party/sfntly/sfntly.gyp:sfntly', |
| - '../third_party/zlib/zlib.gyp:zlib', |
| + ['OS != "ios"', { |
| + |
| + 'dependencies': [ |
| + 'skia_opts', |
| + '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| + '../third_party/sfntly/sfntly.gyp:sfntly', |
| + '../third_party/zlib/zlib.gyp:zlib', |
| + ], |
| + }], |
| ], |
| 'direct_dependent_settings': { |
| 'include_dirs': [ |