2011-10-10 13:19:10 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'xps',
|
2012-10-10 19:45:51 +00:00
|
|
|
'product_name': 'skia_xps',
|
2011-10-10 13:19:10 +00:00
|
|
|
'type': 'static_library',
|
2012-10-10 19:45:51 +00:00
|
|
|
'standalone_static_library': 1,
|
2011-10-10 13:19:10 +00:00
|
|
|
'dependencies': [
|
2013-06-03 12:10:19 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-05-07 15:28:15 +00:00
|
|
|
'sfnt.gyp:sfnt',
|
2011-10-10 13:19:10 +00:00
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/device/xps',
|
|
|
|
'../include/utils/win',
|
|
|
|
'../src/core', # needed to get SkGlyphCache.h
|
2012-03-21 23:11:46 +00:00
|
|
|
'../src/utils', # needed to get SkBitSet.h
|
2011-10-10 13:19:10 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../include/device/xps/SkConstexprMath.h',
|
|
|
|
'../include/device/xps/SkXPSDevice.h',
|
|
|
|
|
|
|
|
'../src/device/xps/SkXPSDevice.cpp',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_os == "win"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'T2Embed.lib',
|
|
|
|
'FontSub.lib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},{ #else if 'skia_os != "win"'
|
|
|
|
'include_dirs!': [
|
|
|
|
'../include/utils/win',
|
|
|
|
],
|
|
|
|
'sources!': [
|
|
|
|
'../include/device/xps/SkXPSDevice.h',
|
|
|
|
|
|
|
|
'../src/device/xps/SkXPSDevice.cpp',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
# This section makes all targets that depend on this target
|
|
|
|
# #define SK_SUPPORT_XPS and have access to the xps header files.
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_os == "win"', {
|
|
|
|
'defines': [
|
|
|
|
'SK_SUPPORT_XPS',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/device/xps',
|
2012-04-03 20:20:47 +00:00
|
|
|
'../src/utils', # needed to get SkBitSet.h
|
2011-10-10 13:19:10 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|