skia2/gyp/xps.gyp
commit-bot@chromium.org 611fde182a Remove the comments settings for vim tab width and expansion variables.
These add unnecessary bloat for everyone to carry around, so we just
remove them now.

The same change was made in chromium by Tony in
http://codereview.chromium.org/7310019 - crrev.com/92046

BUG=None
TEST=./gyp_skia
R=mtklein@google.com

Author: tfarina@chromium.org

Review URL: https://codereview.chromium.org/92673003

git-svn-id: http://skia.googlecode.com/svn/trunk@12443 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-12-02 22:23:03 +00:00

61 lines
1.5 KiB
Python

{
'targets': [
{
'target_name': 'xps',
'product_name': 'skia_xps',
'type': 'static_library',
'standalone_static_library': 1,
'dependencies': [
'skia_lib.gyp:skia_lib',
'sfnt.gyp:sfnt',
],
'include_dirs': [
'../include/device/xps',
'../include/utils/win',
'../src/core', # needed to get SkGlyphCache.h
'../src/utils', # needed to get SkBitSet.h
],
'sources': [
'../include/device/xps/SkConstexprMath.h',
'../include/device/xps/SkXPSDevice.h',
'../src/device/xps/SkXPSDevice.cpp',
],
'conditions': [
[ 'skia_os == "win"', {
'link_settings': {
'libraries': [
'-lt2embed.lib',
'-lfontsub.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',
'../src/utils', # needed to get SkBitSet.h
],
},
},
],
}