blob: d47a13ee9cfe8bfdace043436de386029a656331 [file] [log] [blame]
{
'includes': [
'target_defaults.gypi',
],
'targets': [
{
'target_name': 'zlib',
'type': 'static_library',
'include_dirs': [
'../include/config',
'../include/core',
],
'sources': [
'../include/core/SkFlate.h',
'../src/core/SkFlate.cpp',
],
'conditions': [
[ 'OS == "mac"', {
'link_settings': {
'libraries': [
'$(SDKROOT)/usr/lib/libz.dylib',
],
},
'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
}],
[ 'OS == "linux"', {
'link_settings': { 'libraries': [ '-lz', ], },
'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
}],
],
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: