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

Unified Diff: chrome/chrome_browser.gypi

Issue 323693002: Split printing utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 6 years, 6 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/browser/printing/pdf_to_emf_converter.cc ('k') | chrome/chrome_renderer.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 29d08d72a3ffae9ec48ab9616d76023755d8f74e..4c56ccd3a0619fff390902e42de51a9c5efd2be8 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -76,6 +76,7 @@
'../crypto/crypto.gyp:crypto',
'../google_apis/google_apis.gyp:google_apis',
'../jingle/jingle.gyp:notifier',
+ '../printing/printing.gyp:printing',
'../skia/skia.gyp:skia',
'../sql/sql.gyp:sql',
'../sync/sync.gyp:sync',
@@ -2689,11 +2690,6 @@
'xcode_settings': {'OTHER_LDFLAGS': ['-weak_framework CoreImage']},
},
}],
- ['enable_printing!=0', {
- 'dependencies': [
- '../printing/printing.gyp:printing',
- ],
- }],
['OS=="win" or OS=="mac"', {
'sources': [
'browser/media_galleries/fileapi/iapps_data_provider.cc',
@@ -3137,28 +3133,51 @@
],
}],
['enable_printing==0', {
+ 'dependencies!': [
+ '../printing/printing.gyp:printing',
+ ],
'sources/': [
['exclude', '^browser/printing/'],
['exclude', '^browser/task_manager/printing_information.cc'],
],
}],
['enable_printing==1', {
- 'sources/': [
- ['exclude', '^browser/printing/print_view_manager_basic.*'],
+ 'sources!': [
+ 'browser/printing/print_view_manager_basic.cc',
+ 'browser/printing/print_view_manager_basic.h',
+ ],
+ }, {
+ 'sources!': [
+ 'browser/local_discovery/privet_http_impl.cc',
+ 'browser/local_discovery/privet_http_impl.h',
+ 'browser/local_discovery/pwg_raster_converter.cc',
+ 'browser/local_discovery/pwg_raster_converter.h',
],
}],
['enable_printing==2', {
'sources/': [
- ['exclude', '^browser/printing/background_printing_manager.*'],
['exclude', '^browser/printing/cloud_print/'],
- ['exclude', '^browser/printing/print_view_manager.cc'],
- ['exclude', '^browser/printing/print_error_dialog.*'],
- ['exclude', '^browser/printing/print_preview.*'],
- ['exclude', '^browser/printing/print_view_manager.cc'],
- ['exclude', '^browser/printing/print_view_manager.h'],
- ['exclude', '^browser/printing/printer_manager_dialog.*'],
['exclude', '^browser/service_process/'],
- ['exclude', '^browser/task_manager/printing_information.cc'],
+ ],
+ 'sources!': [
+ 'browser/printing/background_printing_manager.cc',
+ 'browser/printing/background_printing_manager.h',
+ 'browser/printing/print_view_manager.cc',
+ 'browser/printing/print_error_dialog.cc',
+ 'browser/printing/print_error_dialog.h',
+ 'browser/printing/print_preview.cc',
+ 'browser/printing/print_preview.h',
+ 'browser/printing/print_view_manager.cc',
+ 'browser/printing/print_view_manager.h',
+ 'browser/printing/printer_manager_dialog.cc',
+ 'browser/printing/printer_manager_dialog.h',
+ 'browser/task_manager/printing_information.cc',
+ ],
+ }],
+ ['OS!="win" or win_pdf_metafile_for_printing!=1', {
+ 'sources!': [
+ 'browser/printing/pdf_to_emf_converter.cc',
+ 'browser/printing/pdf_to_emf_converter.h',
],
}],
['enable_captive_portal_detection!=1', {
« no previous file with comments | « chrome/browser/printing/pdf_to_emf_converter.cc ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698