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 . --- pdfium.gyp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'pdfium.gyp') 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!': [ -- cgit v1.2.3