diff options
author | Cary Clark <caryclark@google.com> | 2016-03-14 16:51:29 -0400 |
---|---|---|
committer | Cary Clark <caryclark@google.com> | 2016-03-14 16:51:29 -0400 |
commit | 399be5bf559f72d4649a60320a3d802f6b21780b (patch) | |
tree | f2d0a20d0575c2ffa7ce103c012eb66b86e16ba7 /samples/BUILD.gn | |
parent | 13ee55a8267963c9b39486a6a22646fbdd770742 (diff) | |
download | pdfium-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/BUILD.gn')
-rw-r--r-- | samples/BUILD.gn | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn index 9ff1bea4c1..5e300158c9 100644 --- a/samples/BUILD.gn +++ b/samples/BUILD.gn @@ -9,8 +9,8 @@ import("../pdfium.gni") group("samples") { testonly = true deps = [ - ":pdfium_test", ":pdfium_diff", + ":pdfium_test", ] } @@ -26,6 +26,9 @@ config("pdfium_samples_config") { if (pdf_enable_xfa) { defines += [ "PDF_ENABLE_XFA" ] } + if (pdf_use_skia) { + defines += [ "PDF_ENABLE_SKIA" ] + } } executable("pdfium_test") { @@ -56,6 +59,9 @@ executable("pdfium_test") { ] configs += [ "//v8:external_startup_data" ] } + if (pdf_use_skia) { + deps += [ "//skia" ] + } configs += [ ":pdfium_samples_config" ] } |