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

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: 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
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index de28de6d4cc579f8cd77113545d081908d650de1..764a92079e969d37af60c40e7f610677578bb330 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -72,6 +72,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',
@@ -2688,11 +2689,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',
@@ -3132,28 +3128,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', {

Powered by Google App Engine
This is Rietveld 408576698