Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(984)

Unified Diff: pdfium.gyp

Issue 2193783002: Add build configuration for experimental Windows GDI code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: wording Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdfium.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdfium.gyp
diff --git a/pdfium.gyp b/pdfium.gyp
index a99469157c4c389dff20b5cdc9aa0703d57458cc..0e71a3208398ae19fd02eb0e31ad79255bf3f6bf 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"', {
« no previous file with comments | « pdfium.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698