blob: 1337fd340eb18a80a4263317e3b978cc4d52f406 [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',
5 'type': 'static_library',
6 'dependencies': [
7 'core.gyp:core',
8 'images.gyp:images',
9 'utils.gyp:utils',
bungeman@google.comb29c8832011-10-10 13:19:10 +000010 ],
11 'include_dirs': [
12 '../include/device/xps',
13 '../include/utils/win',
14 '../src/core', # needed to get SkGlyphCache.h
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000015 '../src/utils', # needed to get SkBitSet.h
bungeman@google.comb29c8832011-10-10 13:19:10 +000016 ],
17 'sources': [
18 '../include/device/xps/SkConstexprMath.h',
19 '../include/device/xps/SkXPSDevice.h',
20
21 '../src/device/xps/SkXPSDevice.cpp',
22 ],
23 'conditions': [
24 [ 'skia_os == "win"', {
25 'link_settings': {
26 'libraries': [
27 'T2Embed.lib',
28 'FontSub.lib',
29 ],
30 },
31 },{ #else if 'skia_os != "win"'
32 'include_dirs!': [
33 '../include/utils/win',
34 ],
35 'sources!': [
36 '../include/device/xps/SkXPSDevice.h',
37
38 '../src/device/xps/SkXPSDevice.cpp',
39 ],
40 }],
41 ],
42 # This section makes all targets that depend on this target
43 # #define SK_SUPPORT_XPS and have access to the xps header files.
44 'direct_dependent_settings': {
45 'conditions': [
46 [ 'skia_os == "win"', {
47 'defines': [
48 'SK_SUPPORT_XPS',
49 ],
50 }],
51 ],
52 'include_dirs': [
53 '../include/device/xps',
junov@chromium.org26be3992012-04-03 20:20:47 +000054 '../src/utils', # needed to get SkBitSet.h
bungeman@google.comb29c8832011-10-10 13:19:10 +000055 ],
56 },
57 },
58 ],
59}
60
61# Local Variables:
62# tab-width:2
63# indent-tabs-mode:nil
64# End:
65# vim: set expandtab tabstop=2 shiftwidth=2: