blob: 29d5e075a9ab8794b3831f34315ba1b0800d14f3 [file] [log] [blame]
bungeman@google.comb29c8832011-10-10 13:19:10 +00001{
bungeman@google.comb29c8832011-10-10 13:19:10 +00002 'targets': [
3 {
4 'target_name': 'xps',
borenet@google.comefb1d772012-10-10 19:45:51 +00005 'product_name': 'skia_xps',
bungeman@google.comb29c8832011-10-10 13:19:10 +00006 'type': 'static_library',
borenet@google.comefb1d772012-10-10 19:45:51 +00007 'standalone_static_library': 1,
bungeman@google.comb29c8832011-10-10 13:19:10 +00008 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +00009 'skia_lib.gyp:skia_lib',
commit-bot@chromium.orgb5e34e22013-05-07 15:28:15 +000010 'sfnt.gyp:sfnt',
bungeman@google.comb29c8832011-10-10 13:19:10 +000011 ],
12 'include_dirs': [
13 '../include/device/xps',
14 '../include/utils/win',
15 '../src/core', # needed to get SkGlyphCache.h
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000016 '../src/utils', # needed to get SkBitSet.h
bungeman@google.comb29c8832011-10-10 13:19:10 +000017 ],
18 'sources': [
19 '../include/device/xps/SkConstexprMath.h',
20 '../include/device/xps/SkXPSDevice.h',
21
22 '../src/device/xps/SkXPSDevice.cpp',
23 ],
24 'conditions': [
25 [ 'skia_os == "win"', {
26 'link_settings': {
27 'libraries': [
28 'T2Embed.lib',
29 'FontSub.lib',
30 ],
31 },
32 },{ #else if 'skia_os != "win"'
33 'include_dirs!': [
34 '../include/utils/win',
35 ],
36 'sources!': [
37 '../include/device/xps/SkXPSDevice.h',
38
39 '../src/device/xps/SkXPSDevice.cpp',
40 ],
41 }],
42 ],
43 # This section makes all targets that depend on this target
44 # #define SK_SUPPORT_XPS and have access to the xps header files.
45 'direct_dependent_settings': {
46 'conditions': [
47 [ 'skia_os == "win"', {
48 'defines': [
49 'SK_SUPPORT_XPS',
50 ],
51 }],
52 ],
53 'include_dirs': [
54 '../include/device/xps',
junov@chromium.org26be3992012-04-03 20:20:47 +000055 '../src/utils', # needed to get SkBitSet.h
bungeman@google.comb29c8832011-10-10 13:19:10 +000056 ],
57 },
58 },
59 ],
60}
61
62# Local Variables:
63# tab-width:2
64# indent-tabs-mode:nil
65# End:
66# vim: set expandtab tabstop=2 shiftwidth=2: