| 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': [ 'skia_lib.gyp:skia_lib' ], |
| 8 'skia_lib.gyp:skia_lib', | 8 'conditions': [ |
| 9 [ 'skia_android_framework', { |
| 10 'dependencies': [ 'zlib.gyp:zlib' ] |
| 11 },{ |
| 12 'dependencies': [ 'zlib.gyp:miniz' ] # Our bots. |
| 13 }], |
| 9 ], | 14 ], |
| 10 'conditions': [ | 15 'sources': [ '../src/core/SkFlate.cpp' ], |
| 11 # When zlib is not availible on a system, | |
| 12 # SK_NO_FLATE will be defined. | |
| 13 [ 'skia_os != "win"', | |
| 14 { | |
| 15 'dependencies': [ | |
| 16 'zlib.gyp:zlib', | |
| 17 ], | |
| 18 } | |
| 19 ], | |
| 20 ], | |
| 21 'sources': [ | |
| 22 '../src/core/SkFlate.cpp', | |
| 23 ], | |
| 24 }, | 16 }, |
| 25 ], | 17 ], |
| 26 } | 18 } |
| OLD | NEW |