899f1d854a
Need to avoid linking in .a things which are already provided by .so things. git-svn-id: http://skia.googlecode.com/svn/trunk@10222 2bbb7eff-a529-9590-31e7-b0007b416f81
46 lines
1.1 KiB
Python
46 lines
1.1 KiB
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'zlib',
|
|
'type': 'static_library',
|
|
'include_dirs': [
|
|
'../include/config',
|
|
'../include/core',
|
|
],
|
|
'sources': [
|
|
'../include/core/SkFlate.h',
|
|
|
|
'../src/core/SkFlate.cpp',
|
|
],
|
|
'conditions': [
|
|
[ 'skia_os == "mac"', {
|
|
'link_settings': {
|
|
'libraries': [
|
|
'$(SDKROOT)/usr/lib/libz.dylib',
|
|
],
|
|
},
|
|
'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
|
|
}],
|
|
[ 'skia_os == "ios"', {
|
|
'link_settings': {
|
|
'libraries': [
|
|
'$(SDKROOT)/usr/lib/libz.dylib',
|
|
],
|
|
},
|
|
'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
|
|
}],
|
|
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android", "nacl"]', {
|
|
'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:
|