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

Unified Diff: chrome/chrome_browser.gypi

Issue 22577010: Printing: Add a basic printing mode without print preview and cloud print. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 4 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 | « chrome/chrome.gyp ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 97546aadb26bc2c564951f1b1c3ff8cb02c38196..4a1decafb63ebf4420bcee528b53c3722747cfc0 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -1597,6 +1597,10 @@
'browser/printing/print_preview_message_handler.h',
'browser/printing/print_system_task_proxy.cc',
'browser/printing/print_system_task_proxy.h',
+ 'browser/printing/print_view_manager_base.cc',
+ 'browser/printing/print_view_manager_base.h',
+ 'browser/printing/print_view_manager_basic.cc',
+ 'browser/printing/print_view_manager_basic.h',
'browser/printing/print_view_manager.cc',
'browser/printing/print_view_manager.h',
'browser/printing/print_view_manager_observer.h',
@@ -2942,11 +2946,28 @@
['exclude', '^browser/automation/'],
],
}],
- ['enable_printing!=1', {
+ ['enable_printing==0', {
'sources/': [
['exclude', '^browser/printing/'],
],
}],
+ ['enable_printing==1', {
+ 'sources/': [
+ ['exclude', '^browser/printing/print_view_manager_basic.*'],
+ ],
+ }],
+ ['enable_printing==2', {
+ 'sources/': [
+ ['exclude', '^browser/printing/background_printing_manager.*'],
+ ['exclude', '^browser/printing/print_view_manager.cc'],
+ ['exclude', '^browser/printing/print_error_dialog.*'],
+ ['exclude', '^browser/printing/print_preview.*'],
+ ['exclude', '^browser/printing/print_system_task_proxy.*'],
+ ['exclude', '^browser/printing/print_view_manager.cc'],
+ ['exclude', '^browser/printing/print_view_manager.h'],
+ ['exclude', '^browser/printing/printer_manager_dialog.*'],
+ ],
+ }],
['enable_captive_portal_detection!=1', {
'sources/': [
['exclude', '^browser/captive_portal/'],
@@ -3194,8 +3215,6 @@
['toolkit_uses_gtk==1', {
'sources/': [
['exclude', '^browser/lifetime/application_lifetime_stub.cc'],
- ['include', '^browser/printing/print_dialog_gtk.cc'],
- ['include', '^browser/printing/print_dialog_gtk.h'],
],
}],
['gcc_version == 45', {
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698