diff options
author | Cary Clark <caryclark@google.com> | 2016-03-04 14:34:59 -0500 |
---|---|---|
committer | Cary Clark <caryclark@google.com> | 2016-03-04 14:34:59 -0500 |
commit | 979a36af81e6306c1e8b1717a6946dabc757d07d (patch) | |
tree | 2dc566c0f85af148836bed994be2fbf72064acec /pdfium.gyp | |
parent | ce00f4a129899bfc62583c9e3b06654e5bbe17cb (diff) | |
download | pdfium-979a36af81e6306c1e8b1717a6946dabc757d07d.tar.xz |
Small change to enable skia-backed version of pdfium.
This only directs paths to use Skia. Text and bitmaps
still use antigrain.
Clipping is disabled -- still figuring out pdfium's model
for saving and restoring clips.
Deleting the Skia canvas is disabled -- there's some build problem
where the pdfium and skia libraries are built with slightly
different options that I haven't tracked down. This is also why
for the moment SkDebugf is defined locally.
With this patch and pdf_use_skia=1 a modestly complicated PDF draws
(mostly) correctly with pdfium_test.
R=dsinclair@chromium.org, tsepez@chromium.org, dsinclair
BUG=
Review URL: https://codereview.chromium.org/1761453002 .
Diffstat (limited to 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 6c535373e3..8c902e6b63 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -592,22 +592,11 @@ 'conditions': [ ['pdf_use_skia==1', { 'sources': [ - 'core/src/fxge/skia/fx_skia_blitter_new.cpp', 'core/src/fxge/skia/fx_skia_device.cpp', ], 'dependencies': [ '<(DEPTH)/skia/skia.gyp:skia', ], - 'include_dirs': [ - '<(DEPTH)/third_party/skia/include/config', - '<(DEPTH)/third_party/skia/include/core', - '<(DEPTH)/third_party/skia/include/effects', - '<(DEPTH)/third_party/skia/include/images', - '<(DEPTH)/third_party/skia/include/lazy', - '<(DEPTH)/third_party/skia/include/pathops', - '<(DEPTH)/third_party/skia/include/utils', - '<(DEPTH)/third_party/skia/src/core', - ], }], ['OS=="win"', { 'defines!': [ |