6ff82553df
Review URL: http://codereview.appspot.com/5342051 git-svn-id: http://skia.googlecode.com/svn/trunk@2617 2bbb7eff-a529-9590-31e7-b0007b416f81
41 lines
900 B
Python
41 lines
900 B
Python
{
|
|
'includes': [
|
|
'common.gypi',
|
|
],
|
|
'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 in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
|
|
'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:
|