aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-01 19:52:38 +0000
committerGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-01 19:52:38 +0000
commitc319abeeef205627dafd52d977157beafd409313 (patch)
tree0978ff14f41c35c922641335992b8edc8d54e1d5 /gyp
parentc7a24d23f7df30f8b15ecfd59cdec08d1532700d (diff)
Add utility to convert skp files to pdf files. Code compatible with render_pictures_main.cpp. I could have refactored the code to avoid code duplication, but it does not seem right, and it will overcomplicate the code.
Review URL: https://codereview.appspot.com/6615073 git-svn-id: http://skia.googlecode.com/svn/trunk@6253 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r--gyp/tools.gyp21
1 files changed, 21 insertions, 0 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index f6e9a93b78..4deffc2fbc 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -120,6 +120,27 @@
],
},
{
+ 'target_name': 'render_pdfs',
+ 'type': 'executable',
+ 'sources': [
+ '../tools/render_pdfs_main.cpp',
+ '../tools/PdfRenderer.cpp',
+ '../tools/PdfRenderer.h',
+ ],
+ 'include_dirs': [
+ '../src/pipe/utils/',
+ '../src/utils/',
+ ],
+ 'dependencies': [
+ 'core.gyp:core',
+ 'effects.gyp:effects',
+ 'images.gyp:images',
+ 'pdf.gyp:pdf',
+ 'ports.gyp:ports',
+ 'tools.gyp:picture_utils',
+ ],
+ },
+ {
'target_name': 'picture_utils',
'type': 'static_library',
'sources': [