| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'xps', | 8 'target_name': 'xps', |
| 9 'product_name': 'skia_xps', | 9 'product_name': 'skia_xps', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'standalone_static_library': 1, | 11 'standalone_static_library': 1, |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 [ 'skia_os == "win"', { | 13 [ 'skia_os == "win"', { |
| 14 'defines': [ 'SK_XPS_USE_DETERMINISTIC_IDS', ], | 14 'defines': [ 'SK_XPS_USE_DETERMINISTIC_IDS', ], |
| 15 'dependencies': [ | 15 'dependencies': [ |
| 16 'skia_lib.gyp:skia_lib', | 16 'skia_lib.gyp:skia_lib', |
| 17 ], | 17 ], |
| 18 'include_dirs': [ | 18 'include_dirs': [ |
| 19 '../include/device/xps', | |
| 20 '../include/private', | 19 '../include/private', |
| 21 '../include/utils/win', | 20 '../include/utils/win', |
| 22 '../src/core', # needed to get SkGlyphCache.h | 21 '../src/core', # needed to get SkGlyphCache.h |
| 23 '../src/utils', # needed to get SkBitSet.h | 22 '../src/utils', # needed to get SkBitSet.h |
| 24 ], | 23 ], |
| 25 'sources': [ | 24 'sources': [ |
| 26 '../include/device/xps/SkConstexprMath.h', | 25 '../src/xps/SkConstexprMath.h', |
| 27 '../include/device/xps/SkXPSDevice.h', | 26 '../src/xps/SkDocument_XPS.cpp', |
| 28 '../src/device/xps/SkXPSDevice.cpp', | 27 '../src/xps/SkXPSDevice.cpp', |
| 29 '../src/doc/SkDocument_XPS.cpp', | 28 '../src/xps/SkXPSDevice.h', |
| 30 ], | 29 ], |
| 31 'link_settings': { | 30 'link_settings': { |
| 32 'libraries': [ | 31 'libraries': [ |
| 33 '-lt2embed.lib', | 32 '-lt2embed.lib', |
| 34 '-lfontsub.lib', | 33 '-lfontsub.lib', |
| 35 ], | 34 ], |
| 36 }, | 35 }, |
| 37 'direct_dependent_settings': { | 36 'direct_dependent_settings': { |
| 38 'defines': [ 'SK_XPS_USE_DETERMINISTIC_IDS', ], | 37 'defines': [ 'SK_XPS_USE_DETERMINISTIC_IDS', ], |
| 39 'include_dirs': [ | 38 'include_dirs': [ |
| 40 '../include/device/xps', | 39 '../include/device/xps', |
| 41 '../src/utils', # needed to get SkBitSet.h | 40 '../src/utils', # needed to get SkBitSet.h |
| 42 ], | 41 ], |
| 43 }, | 42 }, |
| 44 },{ #else if 'skia_os != "win"' | 43 },{ #else if 'skia_os != "win"' |
| 45 'sources': [ '../src/doc/SkDocument_XPS_None.cpp', ], | 44 'sources': [ '../src/xps/SkDocument_XPS_None.cpp', ], |
| 46 'dependencies': [ 'skia_lib.gyp:skia_lib', ], | 45 'dependencies': [ 'skia_lib.gyp:skia_lib', ], |
| 47 }], | 46 }], |
| 48 ], | 47 ], |
| 49 }, | 48 }, |
| 50 ], | 49 ], |
| 51 } | 50 } |
| OLD | NEW |