bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 1 | { |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'xps', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 5 | 'product_name': 'skia_xps', |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 6 | 'type': 'static_library', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 7 | 'standalone_static_library': 1, |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 8 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 9 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | b5e34e2 | 2013-05-07 15:28:15 +0000 | [diff] [blame] | 10 | 'sfnt.gyp:sfnt', |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 11 | ], |
| 12 | 'include_dirs': [ |
| 13 | '../include/device/xps', |
| 14 | '../include/utils/win', |
| 15 | '../src/core', # needed to get SkGlyphCache.h |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 16 | '../src/utils', # needed to get SkBitSet.h |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 17 | ], |
| 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.org | 26be399 | 2012-04-03 20:20:47 +0000 | [diff] [blame] | 55 | '../src/utils', # needed to get SkBitSet.h |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 56 | ], |
| 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: |