Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 6d076bb8b86f9b8c6608af84416c7056de663c21..3a4a8b420df6598964138117761c0759cc8419de 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -427,6 +427,10 @@ |
# print, UI, etc. |
'enable_printing%': 1, |
+ # Windows prints using a PDF as the metafile from the renderer. This |
+ # requires internal_pdf to be enabled. |
+ '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. |
@@ -1050,6 +1054,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)', |
@@ -2616,6 +2621,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'], |
}], |