From 3e454bfb00089eb022ee0b09e1631dbd61e324c4 Mon Sep 17 00:00:00 2001 From: thestig Date: Fri, 29 Jul 2016 16:29:04 -0700 Subject: Add build configuration for experimental Windows GDI code. BUG=409472 Review-Url: https://codereview.chromium.org/2193783002 --- pdfium.gyp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pdfium.gyp') diff --git a/pdfium.gyp b/pdfium.gyp index 3a3c71e79c..fe2d176318 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -8,6 +8,7 @@ 'pdf_use_skia%': 0, 'pdf_enable_v8%': 1, 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build. + 'pdf_use_win32_gdi%': 0, 'variables': { 'clang_use_chrome_plugins': 1, }, @@ -44,6 +45,9 @@ ['pdf_enable_xfa==1', { 'defines': ['PDF_ENABLE_XFA'], }], + ['pdf_use_win32_gdi==1', { + 'defines': ['PDFIUM_PRINT_TEXT_WITH_GDI'], + }], ['OS=="linux"', { 'conditions': [ ['target_arch=="x64"', { -- cgit v1.2.3