summaryrefslogtreecommitdiff
path: root/samples/samples.gyp
diff options
context:
space:
mode:
authorCary Clark <caryclark@google.com>2016-03-14 16:51:29 -0400
committerCary Clark <caryclark@google.com>2016-03-14 16:51:29 -0400
commit399be5bf559f72d4649a60320a3d802f6b21780b (patch)
treef2d0a20d0575c2ffa7ce103c012eb66b86e16ba7 /samples/samples.gyp
parent13ee55a8267963c9b39486a6a22646fbdd770742 (diff)
downloadpdfium-399be5bf559f72d4649a60320a3d802f6b21780b.tar.xz
Add bitmaps and skp output to Skia port
This is a first-cut at supporting bitmaps. Also added a --skp option to pdfium_test to generate a Skia picture file. The picture file can be loaded in Skia's SampleApp, debugger, or skiaserver to examine the generated picture. (This also includes fixes suggested in the prior Skia CL. My apologies for fat-fingers abandoning that one.) R=dsinclair@chromium.org, tsepez@chromium.org, dsinclair Review URL: https://codereview.chromium.org/1776313002 .
Diffstat (limited to 'samples/samples.gyp')
-rw-r--r--samples/samples.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/samples.gyp b/samples/samples.gyp
index 6f262d5a04..b345f1d2c3 100644
--- a/samples/samples.gyp
+++ b/samples/samples.gyp
@@ -66,6 +66,12 @@
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
],
}],
+ ['pdf_use_skia==1', {
+ 'defines': ['PDF_ENABLE_SKIA'],
+ 'dependencies': [
+ '<(DEPTH)/skia/skia.gyp:skia',
+ ],
+ }],
],
},
{