summaryrefslogtreecommitdiff
path: root/pdfium.gyp
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 /pdfium.gyp
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 'pdfium.gyp')
-rw-r--r--pdfium.gyp4
1 files changed, 4 insertions, 0 deletions
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"', {