7158e6acca
- Add nacl_make script to build Skia targets for NaCl using gyp - Add nacl_interface for command-line apps - Add nacl_sample as front-end for SampleApp - Add freetype to DEPS - Various gyp tweaks for NaCl TODO: - Implement GL interface - Implement font host - Fix plumbing so that SampleApp works properly Review URL: https://codereview.appspot.com/6671044 git-svn-id: http://skia.googlecode.com/svn/trunk@6245 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:
|