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 --- BUILD.gn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index 872baf7785..f7a6007e0c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -30,6 +30,10 @@ config("pdfium_common_config") { if (pdf_enable_xfa) { defines += [ "PDF_ENABLE_XFA" ] } + + if (pdf_use_win32_gdi) { + defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] + } } config("pdfium_core_config") { -- cgit v1.2.3