OLD | NEW |
1 # Target for including SkFlate. | 1 # Target for including SkFlate. |
2 { | 2 { |
3 'targets': [ | 3 'targets': [ |
4 { | 4 { |
5 'target_name': 'skflate', | 5 'target_name': 'skflate', |
6 'type': 'static_library', | 6 'type': 'static_library', |
7 'dependencies': [ | 7 'dependencies': [ |
8 'skia_lib.gyp:skia_lib', | 8 'skia_lib.gyp:skia_lib', |
9 ], | 9 ], |
10 'conditions': [ | 10 'conditions': [ |
11 # When zlib is not availible on a system, | 11 # When zlib is not availible on a system, |
12 # SkFlate::HaveFlate will just return false. | 12 # SK_NO_FLATE will be defined. |
13 [ 'skia_os != "win"', | 13 [ 'skia_os != "win"', |
14 { | 14 { |
15 'dependencies': [ | 15 'dependencies': [ |
16 'zlib.gyp:zlib', | 16 'zlib.gyp:zlib', |
17 ], | 17 ], |
18 } | 18 } |
19 ], | 19 ], |
20 ], | 20 ], |
21 'sources': [ | 21 'sources': [ |
22 '../src/core/SkFlate.cpp', | 22 '../src/core/SkFlate.cpp', |
23 ], | 23 ], |
24 }, | 24 }, |
25 ], | 25 ], |
26 } | 26 } |
OLD | NEW |