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', |
| 5 | 'type': 'static_library', |
| 6 | 'dependencies': [ |
| 7 | 'core.gyp:core', |
| 8 | 'images.gyp:images', |
| 9 | 'utils.gyp:utils', |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 10 | ], |
| 11 | 'include_dirs': [ |
| 12 | '../include/device/xps', |
| 13 | '../include/utils/win', |
| 14 | '../src/core', # needed to get SkGlyphCache.h |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 15 | '../src/utils', # needed to get SkBitSet.h |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 16 | ], |
| 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', |
| 54 | ], |
| 55 | }, |
| 56 | }, |
| 57 | ], |
| 58 | } |
| 59 | |
| 60 | # Local Variables: |
| 61 | # tab-width:2 |
| 62 | # indent-tabs-mode:nil |
| 63 | # End: |
| 64 | # vim: set expandtab tabstop=2 shiftwidth=2: |