5351b373b3
http://codereview.appspot.com/4654080 git-svn-id: http://skia.googlecode.com/svn/trunk@1780 2bbb7eff-a529-9590-31e7-b0007b416f81
41 lines
844 B
Python
41 lines
844 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': [
|
|
[ '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:
|