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 /BUILD.gn | |
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 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -575,19 +575,8 @@ static_library("fxge") { if (pdf_use_skia) { sources = [ - "core/src/fxge/skia/fx_skia_blitter_new.cpp", "core/src/fxge/skia/fx_skia_device.cpp", ] - include_dirs = [ - "//third_party/skia/include/config", - "//third_party/skia/include/core", - "//third_party/skia/include/effects", - "//third_party/skia/include/images", - "//third_party/skia/include/lazy", - "//third_party/skia/include/pathops", - "//third_party/skia/include/utils", - "//third_party/skia/src/core", - ] deps = [ "//skia", ] |