blob: d41924d1bc7b5081c293abab8d29f00ee47472ae [file] [log] [blame]
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +00001{
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +00002 'targets': [
3 {
4 'target_name': 'zlib',
5 'type': 'static_library',
6 'include_dirs': [
7 '../include/config',
8 '../include/core',
9 ],
10 'sources': [
11 '../include/core/SkFlate.h',
12
13 '../src/core/SkFlate.cpp',
14 ],
15 'conditions': [
epoger@google.com8846cb22011-07-01 20:20:07 +000016 [ 'skia_os == "mac"', {
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +000017 'link_settings': {
18 'libraries': [
19 '$(SDKROOT)/usr/lib/libz.dylib',
20 ],
21 },
22 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
23 }],
djsollen@google.com6ff82552011-11-07 15:43:57 +000024 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +000025 'link_settings': { 'libraries': [ '-lz', ], },
26 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
27 }],
28 ],
29 },
30 ],
31}
32
33# Local Variables:
34# tab-width:2
35# indent-tabs-mode:nil
36# End:
37# vim: set expandtab tabstop=2 shiftwidth=2: