| OLD | NEW |
| 1 { | 1 { |
| 2 'targets': [ | 2 'targets': [ |
| 3 { | 3 { |
| 4 'target_name': 'xps', | 4 'target_name': 'xps', |
| 5 'product_name': 'skia_xps', | 5 'product_name': 'skia_xps', |
| 6 'type': 'static_library', | 6 'type': 'static_library', |
| 7 'standalone_static_library': 1, | 7 'standalone_static_library': 1, |
| 8 'dependencies': [ | 8 'dependencies': [ |
| 9 'skia_lib.gyp:skia_lib', | 9 'skia_lib.gyp:skia_lib', |
| 10 'sfnt.gyp:sfnt', | 10 'sfnt.gyp:sfnt', |
| 11 ], | 11 ], |
| 12 'include_dirs': [ | 12 'include_dirs': [ |
| 13 '../include/device/xps', | 13 '../include/device/xps', |
| 14 '../include/utils/win', | 14 '../include/utils/win', |
| 15 '../src/core', # needed to get SkGlyphCache.h | 15 '../src/core', # needed to get SkGlyphCache.h |
| 16 '../src/utils', # needed to get SkBitSet.h | 16 '../src/utils', # needed to get SkBitSet.h |
| 17 ], | 17 ], |
| 18 'sources': [ | 18 'sources': [ |
| 19 '../include/device/xps/SkConstexprMath.h', | 19 '../include/device/xps/SkConstexprMath.h', |
| 20 '../include/device/xps/SkXPSDevice.h', | 20 '../include/device/xps/SkXPSDevice.h', |
| 21 | 21 |
| 22 '../src/device/xps/SkXPSDevice.cpp', | 22 '../src/device/xps/SkXPSDevice.cpp', |
| 23 '../src/doc/SkDocument_XPS.cpp', |
| 23 ], | 24 ], |
| 25 'defines': [ 'SK_SUPPORT_XPS', ], |
| 24 'conditions': [ | 26 'conditions': [ |
| 25 [ 'skia_os == "win"', { | 27 [ 'skia_os == "win"', { |
| 26 'link_settings': { | 28 'link_settings': { |
| 27 'libraries': [ | 29 'libraries': [ |
| 28 '-lt2embed.lib', | 30 '-lt2embed.lib', |
| 29 '-lfontsub.lib', | 31 '-lfontsub.lib', |
| 30 ], | 32 ], |
| 31 }, | 33 }, |
| 32 },{ #else if 'skia_os != "win"' | 34 },{ #else if 'skia_os != "win"' |
| 33 'include_dirs!': [ | 35 'include_dirs!': [ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 51 }], | 53 }], |
| 52 ], | 54 ], |
| 53 'include_dirs': [ | 55 'include_dirs': [ |
| 54 '../include/device/xps', | 56 '../include/device/xps', |
| 55 '../src/utils', # needed to get SkBitSet.h | 57 '../src/utils', # needed to get SkBitSet.h |
| 56 ], | 58 ], |
| 57 }, | 59 }, |
| 58 }, | 60 }, |
| 59 ], | 61 ], |
| 60 } | 62 } |
| OLD | NEW |