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

Unified Diff: build/common.gypi

Issue 255543006: Printing on Windows via PDF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove ref to internal_pdf and rebase Created 6 years, 7 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 | « no previous file | chrome/browser/printing/pdf_to_emf_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index ee9400b61f803624964d368a4d1c2ffb84982408..06ea64daae5f86d7bb9031ed34ebd76bf1511c83 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -427,6 +427,9 @@
# print, UI, etc.
'enable_printing%': 1,
+ # Windows prints using a PDF as the metafile from the renderer.
+ 'win_pdf_metafile_for_printing%': 0,
+
# Set the version of CLD.
# 0: Don't specify the version. This option is for the Finch testing.
# 1: Use only CLD1.
@@ -1054,6 +1057,7 @@
'test_isolation_outdir%': '<(test_isolation_outdir)',
'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
'enable_printing%': '<(enable_printing)',
+ 'win_pdf_metafile_for_printing%': '<(win_pdf_metafile_for_printing)',
'enable_spellcheck%': '<(enable_spellcheck)',
'enable_google_now%': '<(enable_google_now)',
'cld_version%': '<(cld_version)',
@@ -2626,6 +2630,9 @@
['enable_printing==2', {
'defines': ['ENABLE_PRINTING=1'],
}],
+ ['win_pdf_metafile_for_printing==1', {
+ 'defines': ['WIN_PDF_METAFILE_FOR_PRINTING=1'],
+ }],
['enable_spellcheck==1', {
'defines': ['ENABLE_SPELLCHECK=1'],
}],
« no previous file with comments | « no previous file | chrome/browser/printing/pdf_to_emf_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698