summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorCary Clark <caryclark@google.com>2016-03-04 14:34:59 -0500
committerCary Clark <caryclark@google.com>2016-03-04 14:34:59 -0500
commit979a36af81e6306c1e8b1717a6946dabc757d07d (patch)
tree2dc566c0f85af148836bed994be2fbf72064acec /BUILD.gn
parentce00f4a129899bfc62583c9e3b06654e5bbe17cb (diff)
downloadpdfium-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.gn11
1 files changed, 0 insertions, 11 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 7e7f4dd519..6430d0bed0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -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",
]