Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: gyp/xps.gyp

Issue 978443002: Revert of XPS, DM: add SkDocument::CreateXPS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/dm.gyp ('k') | include/core/SkDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/xps.gyp
diff --git a/gyp/xps.gyp b/gyp/xps.gyp
index 4a301b6a597f48414406bb43d4abe50b4e91fe6e..080dc62b6c345e5fa9a0e8408ce0ae8a9d30edc3 100644
--- a/gyp/xps.gyp
+++ b/gyp/xps.gyp
@@ -5,43 +5,56 @@
'product_name': 'skia_xps',
'type': 'static_library',
'standalone_static_library': 1,
+ 'dependencies': [
+ 'skia_lib.gyp:skia_lib',
+ 'sfnt.gyp:sfnt',
+ ],
+ 'include_dirs': [
+ '../include/device/xps',
+ '../include/utils/win',
+ '../src/core', # needed to get SkGlyphCache.h
+ '../src/utils', # needed to get SkBitSet.h
+ ],
+ 'sources': [
+ '../include/device/xps/SkConstexprMath.h',
+ '../include/device/xps/SkXPSDevice.h',
+
+ '../src/device/xps/SkXPSDevice.cpp',
+ ],
'conditions': [
[ 'skia_os == "win"', {
- 'defines': [ 'SK_XPS_USE_DETERMINISTIC_IDS', ],
- 'dependencies': [
- 'skia_lib.gyp:skia_lib',
- 'sfnt.gyp:sfnt',
- ],
- 'include_dirs': [
- '../include/device/xps',
- '../include/utils/win',
- '../src/core', # needed to get SkGlyphCache.h
- '../src/utils', # needed to get SkBitSet.h
- ],
- 'sources': [
- '../include/device/xps/SkConstexprMath.h',
- '../include/device/xps/SkXPSDevice.h',
- '../src/device/xps/SkXPSDevice.cpp',
- '../src/doc/SkDocument_XPS.cpp',
- ],
'link_settings': {
'libraries': [
'-lt2embed.lib',
'-lfontsub.lib',
],
},
- 'direct_dependent_settings': {
- 'defines': [ 'SK_XPS_USE_DETERMINISTIC_IDS', ],
- 'include_dirs': [
- '../include/device/xps',
- '../src/utils', # needed to get SkBitSet.h
- ],
- },
},{ #else if 'skia_os != "win"'
- 'sources': [ '../src/doc/SkDocument_XPS_None.cpp', ],
- 'dependencies': [ 'skia_lib.gyp:skia_lib', ],
+ 'include_dirs!': [
+ '../include/utils/win',
+ ],
+ 'sources!': [
+ '../include/device/xps/SkXPSDevice.h',
+
+ '../src/device/xps/SkXPSDevice.cpp',
+ ],
}],
],
+ # This section makes all targets that depend on this target
+ # #define SK_SUPPORT_XPS and have access to the xps header files.
+ 'direct_dependent_settings': {
+ 'conditions': [
+ [ 'skia_os == "win"', {
+ 'defines': [
+ 'SK_SUPPORT_XPS',
+ ],
+ }],
+ ],
+ 'include_dirs': [
+ '../include/device/xps',
+ '../src/utils', # needed to get SkBitSet.h
+ ],
+ },
},
],
}
« no previous file with comments | « gyp/dm.gyp ('k') | include/core/SkDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698