summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-07-29 16:29:04 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-29 16:29:04 -0700
commit3e454bfb00089eb022ee0b09e1631dbd61e324c4 (patch)
treeac4495b630fff68578d86cda2a9eb5d6f6af1dc9 /BUILD.gn
parent7484762421e85aa5d610f47aa547470786eecab8 (diff)
downloadpdfium-3e454bfb00089eb022ee0b09e1631dbd61e324c4.tar.xz
Add build configuration for experimental Windows GDI code.chromium/2816chromium/2815chromium/2814
BUG=409472 Review-Url: https://codereview.chromium.org/2193783002
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 4 insertions, 0 deletions
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") {