commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 1 | # Target for including SkFlate. |
2 | { | ||||
3 | 'targets': [ | ||||
4 | { | ||||
5 | 'target_name': 'skflate', | ||||
6 | 'type': 'static_library', | ||||
7 | 'dependencies': [ | ||||
8 | 'skia_lib.gyp:skia_lib', | ||||
9 | ], | ||||
10 | 'conditions': [ | ||||
11 | # When zlib is not availible on a system, | ||||
12 | # SkFlate::HaveFlate will just return false. | ||||
13 | [ 'skia_os != "win"', | ||||
14 | { | ||||
15 | 'dependencies': [ | ||||
16 | 'zlib.gyp:zlib', | ||||
17 | ], | ||||
18 | } | ||||
19 | ], | ||||
20 | ], | ||||
21 | 'sources': [ | ||||
22 | '../src/core/SkFlate.cpp', | ||||
23 | ], | ||||
24 | }, | ||||
25 | ], | ||||
26 | } |