Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index d8e60f182335a6007d2cea3c3ecede989ec27f01..45ff03a83e5cc0c4912d69ab97cf648877b42241 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. |
Lei Zhang
2014/05/20 03:39:29
|internal_pdf| is likely going away this week, FYI
|
+ '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)', |
@@ -2618,6 +2623,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'], |
}], |