| Index: chrome/chrome_browser.gypi
|
| diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
|
| index a7a91ad3a22243b3469ba4626ef27b2d25cede65..b1669e4fce323dec218e9480fa710fec4ea5fe29 100644
|
| --- a/chrome/chrome_browser.gypi
|
| +++ b/chrome/chrome_browser.gypi
|
| @@ -1824,7 +1824,7 @@
|
| 'browser/themes/theme_syncable_service.cc',
|
| 'browser/themes/theme_syncable_service.h',
|
| ],
|
| - # Used both when enable_printing == 1 (full) and == 2 (basic)
|
| + # Used when printing_mode != 0
|
| 'chrome_browser_basic_printing_sources': [
|
| 'browser/printing/print_job.cc',
|
| 'browser/printing/print_job.h',
|
| @@ -1841,7 +1841,7 @@
|
| 'browser/printing/printing_message_filter.cc',
|
| 'browser/printing/printing_message_filter.h',
|
| ],
|
| - # Used on top of the "basic" sources when enable_printing == 1 (full).
|
| + # Used on top of the "basic" sources when printing_mode > 1.
|
| 'chrome_browser_full_printing_sources': [
|
| 'browser/local_discovery/pwg_raster_converter.cc',
|
| 'browser/local_discovery/pwg_raster_converter.h',
|
| @@ -1876,7 +1876,7 @@
|
| 'browser/task_manager/printing_information.cc',
|
| 'browser/task_manager/printing_information.h',
|
| ],
|
| - # Used only in basic printing (enable_printing == 2) mode.
|
| + # Used only in basic printing (printing_mode == 1) mode.
|
| 'chrome_browser_basic_only_printing_sources': [
|
| 'browser/printing/print_view_manager_basic.cc',
|
| 'browser/printing/print_view_manager_basic.h',
|
| @@ -3250,7 +3250,7 @@
|
| 'sources': [ '<@(chrome_browser_themes_sources)' ],
|
| }],
|
| # Some form of printing support.
|
| - ['enable_printing!=0', {
|
| + ['printing_mode!=0', {
|
| 'dependencies': [
|
| '../printing/printing.gyp:printing',
|
| ],
|
| @@ -3259,14 +3259,14 @@
|
| ['OS=="win"', {
|
| 'sources': [ '<@(chrome_browser_printing_emf_sources)' ],
|
| }],
|
| - # Full printing on top of the above.
|
| - ['enable_printing==1', {
|
| - 'sources': [ '<@(chrome_browser_full_printing_sources)' ],
|
| - }],
|
| # Partial-only printing support.
|
| - ['enable_printing==2', {
|
| + ['printing_mode==1', {
|
| 'sources': [ '<@(chrome_browser_basic_only_printing_sources)' ],
|
| }],
|
| + # Full printing on top of the above.
|
| + ['printing_mode>1', {
|
| + 'sources': [ '<@(chrome_browser_full_printing_sources)' ],
|
| + }],
|
| ],
|
| }],
|
| ['enable_captive_portal_detection==1', {
|
|
|