From 979a36af81e6306c1e8b1717a6946dabc757d07d Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Fri, 4 Mar 2016 14:34:59 -0500 Subject: 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 . --- BUILD.gn | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'BUILD.gn') 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", ] -- cgit v1.2.3