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

Side by Side Diff: chrome/chrome.gyp

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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 7
8 # Define the common dependencies that contain all the actual 8 # Define the common dependencies that contain all the actual
9 # Chromium functionality. This list gets pulled in below by 9 # Chromium functionality. This list gets pulled in below by
10 # the link of the actual chrome (or chromium) executable on 10 # the link of the actual chrome (or chromium) executable on
(...skipping 28 matching lines...) Expand all
39 '../content/content.gyp:content_gpu', 39 '../content/content.gyp:content_gpu',
40 '../content/content.gyp:content_ppapi_plugin', 40 '../content/content.gyp:content_ppapi_plugin',
41 '../content/content.gyp:content_worker', 41 '../content/content.gyp:content_worker',
42 '../third_party/WebKit/Source/devtools/devtools.gyp:devtools_frontend_ resources', 42 '../third_party/WebKit/Source/devtools/devtools.gyp:devtools_frontend_ resources',
43 ], 43 ],
44 }], 44 }],
45 ['OS=="win"', { 45 ['OS=="win"', {
46 'platform_locale_settings_grd': 46 'platform_locale_settings_grd':
47 'app/resources/locale_settings_win.grd', 47 'app/resources/locale_settings_win.grd',
48 },], 48 },],
49 ['OS!="android" and OS!="ios"', { 49 ['enable_printing==1', {
50 'chromium_browser_dependencies': [ 50 'chromium_browser_dependencies': [
51 # Android doesn't use the service process (only needed for print).
52 'service', 51 'service',
53 ], 52 ],
54 }], 53 }],
55 ['OS=="linux"', { 54 ['OS=="linux"', {
56 'conditions': [ 55 'conditions': [
57 ['chromeos==1', { 56 ['chromeos==1', {
58 'conditions': [ 57 'conditions': [
59 ['branding=="Chrome"', { 58 ['branding=="Chrome"', {
60 'platform_locale_settings_grd': 59 'platform_locale_settings_grd':
61 'app/resources/locale_settings_google_chromeos.grd', 60 'app/resources/locale_settings_google_chromeos.grd',
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 'utility/local_discovery/service_discovery_client_impl.h', 346 'utility/local_discovery/service_discovery_client_impl.h',
348 'utility/local_discovery/service_discovery_message_handler.cc', 347 'utility/local_discovery/service_discovery_message_handler.cc',
349 'utility/local_discovery/service_discovery_message_handler.h', 348 'utility/local_discovery/service_discovery_message_handler.h',
350 ] 349 ]
351 }], 350 }],
352 ], 351 ],
353 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 352 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
354 'msvs_disabled_warnings': [ 4267, ], 353 'msvs_disabled_warnings': [ 4267, ],
355 }, 354 },
356 { 355 {
357 'target_name': 'service',
358 'type': 'static_library',
359 'variables': { 'enable_wexit_time_destructors': 1, },
360 'dependencies': [
361 'chrome_resources.gyp:chrome_strings',
362 'common',
363 'common_net',
364 '../base/base.gyp:base',
365 '../google_apis/google_apis.gyp:google_apis',
366 '../jingle/jingle.gyp:notifier',
367 '../net/net.gyp:net',
368 '../printing/printing.gyp:printing',
369 '../skia/skia.gyp:skia',
370 '../third_party/libjingle/libjingle.gyp:libjingle',
371 ],
372 'sources': [
373 'service/chrome_service_application_mac.h',
374 'service/chrome_service_application_mac.mm',
375 'service/service_ipc_server.cc',
376 'service/service_ipc_server.h',
377 'service/service_main.cc',
378 'service/service_process.cc',
379 'service/service_process.h',
380 'service/service_process_prefs.cc',
381 'service/service_process_prefs.h',
382 'service/service_utility_process_host.cc',
383 'service/service_utility_process_host.h',
384 'service/cloud_print/cloud_print_auth.cc',
385 'service/cloud_print/cloud_print_auth.h',
386 'service/cloud_print/cloud_print_connector.cc',
387 'service/cloud_print/cloud_print_connector.h',
388 'service/cloud_print/cloud_print_helpers.cc',
389 'service/cloud_print/cloud_print_helpers.h',
390 'service/cloud_print/cloud_print_proxy.cc',
391 'service/cloud_print/cloud_print_proxy.h',
392 'service/cloud_print/cloud_print_proxy_backend.cc',
393 'service/cloud_print/cloud_print_proxy_backend.h',
394 'service/cloud_print/cloud_print_token_store.cc',
395 'service/cloud_print/cloud_print_token_store.h',
396 'service/cloud_print/cloud_print_url_fetcher.cc',
397 'service/cloud_print/cloud_print_url_fetcher.h',
398 'service/cloud_print/cloud_print_wipeout.cc',
399 'service/cloud_print/cloud_print_wipeout.h',
400 'service/cloud_print/connector_settings.cc',
401 'service/cloud_print/connector_settings.h',
402 'service/cloud_print/job_status_updater.cc',
403 'service/cloud_print/job_status_updater.h',
404 'service/cloud_print/print_system_dummy.cc',
405 'service/cloud_print/print_system.cc',
406 'service/cloud_print/print_system.h',
407 'service/cloud_print/printer_job_handler.cc',
408 'service/cloud_print/printer_job_handler.h',
409 'service/cloud_print/printer_job_queue_handler.cc',
410 'service/cloud_print/printer_job_queue_handler.h',
411 'service/net/service_url_request_context.cc',
412 'service/net/service_url_request_context.h',
413 ],
414 'include_dirs': [
415 '..',
416 ],
417 'conditions': [
418 ['OS=="win"', {
419 'defines': [
420 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementatio n
421 # of cloud print system, and allows to use custom implementaiton .
422 'CP_PRINT_SYSTEM_AVAILABLE',
423 ],
424 'sources': [
425 'service/cloud_print/print_system_win.cc',
426 ],
427 }],
428 ['toolkit_uses_gtk == 1', {
429 'dependencies': [
430 '../build/linux/system.gyp:gtk',
431 ],
432 }],
433 ['use_cups==1', {
434 'dependencies': [
435 '../printing/printing.gyp:cups',
436 ],
437 'defines': [
438 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementatio n
439 # of cloud print system, and allows to use custom implementaiton .
440 'CP_PRINT_SYSTEM_AVAILABLE',
441 ],
442 'sources': [
443 'service/cloud_print/print_system_cups.cc',
444 ],
445 }],
446 ],
447 },
448 {
449 'target_name': 'ipclist', 356 'target_name': 'ipclist',
450 'type': 'executable', 357 'type': 'executable',
451 'variables': { 'enable_wexit_time_destructors': 1, }, 358 'variables': { 'enable_wexit_time_destructors': 1, },
452 'dependencies': [ 359 'dependencies': [
453 'test_support_common', 360 'test_support_common',
454 '../skia/skia.gyp:skia', 361 '../skia/skia.gyp:skia',
455 '../sync/sync.gyp:sync', 362 '../sync/sync.gyp:sync',
456 ], 363 ],
457 'include_dirs': [ 364 'include_dirs': [
458 '..', 365 '..',
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 ], 1101 ],
1195 }, 1102 },
1196 ], # 'targets' 1103 ], # 'targets'
1197 'includes': [ 1104 'includes': [
1198 'chrome_android.gypi', 1105 'chrome_android.gypi',
1199 ]}, # 'includes' 1106 ]}, # 'includes'
1200 ], # OS=="android" 1107 ], # OS=="android"
1201 ['configuration_policy==1 and OS!="android"', { 1108 ['configuration_policy==1 and OS!="android"', {
1202 'includes': [ 'policy.gypi', ], 1109 'includes': [ 'policy.gypi', ],
1203 }], 1110 }],
1111 ['enable_printing==1', {
1112 'targets': [
1113 {
1114 'target_name': 'service',
1115 'type': 'static_library',
1116 'variables': { 'enable_wexit_time_destructors': 1, },
1117 'dependencies': [
1118 'chrome_resources.gyp:chrome_strings',
1119 'common',
1120 'common_net',
1121 '../base/base.gyp:base',
1122 '../google_apis/google_apis.gyp:google_apis',
1123 '../jingle/jingle.gyp:notifier',
1124 '../net/net.gyp:net',
1125 '../printing/printing.gyp:printing',
1126 '../skia/skia.gyp:skia',
1127 '../third_party/libjingle/libjingle.gyp:libjingle',
1128 ],
1129 'sources': [
1130 'service/chrome_service_application_mac.h',
1131 'service/chrome_service_application_mac.mm',
1132 'service/service_ipc_server.cc',
1133 'service/service_ipc_server.h',
1134 'service/service_main.cc',
1135 'service/service_process.cc',
1136 'service/service_process.h',
1137 'service/service_process_prefs.cc',
1138 'service/service_process_prefs.h',
1139 'service/service_utility_process_host.cc',
1140 'service/service_utility_process_host.h',
1141 'service/cloud_print/cloud_print_auth.cc',
1142 'service/cloud_print/cloud_print_auth.h',
1143 'service/cloud_print/cloud_print_connector.cc',
1144 'service/cloud_print/cloud_print_connector.h',
1145 'service/cloud_print/cloud_print_helpers.cc',
1146 'service/cloud_print/cloud_print_helpers.h',
1147 'service/cloud_print/cloud_print_proxy.cc',
1148 'service/cloud_print/cloud_print_proxy.h',
1149 'service/cloud_print/cloud_print_proxy_backend.cc',
1150 'service/cloud_print/cloud_print_proxy_backend.h',
1151 'service/cloud_print/cloud_print_token_store.cc',
1152 'service/cloud_print/cloud_print_token_store.h',
1153 'service/cloud_print/cloud_print_url_fetcher.cc',
1154 'service/cloud_print/cloud_print_url_fetcher.h',
1155 'service/cloud_print/cloud_print_wipeout.cc',
1156 'service/cloud_print/cloud_print_wipeout.h',
1157 'service/cloud_print/connector_settings.cc',
1158 'service/cloud_print/connector_settings.h',
1159 'service/cloud_print/job_status_updater.cc',
1160 'service/cloud_print/job_status_updater.h',
1161 'service/cloud_print/print_system_dummy.cc',
1162 'service/cloud_print/print_system.cc',
1163 'service/cloud_print/print_system.h',
1164 'service/cloud_print/printer_job_handler.cc',
1165 'service/cloud_print/printer_job_handler.h',
1166 'service/cloud_print/printer_job_queue_handler.cc',
1167 'service/cloud_print/printer_job_queue_handler.h',
1168 'service/net/service_url_request_context.cc',
1169 'service/net/service_url_request_context.h',
1170 ],
1171 'include_dirs': [
1172 '..',
1173 ],
1174 'conditions': [
1175 ['OS=="win"', {
1176 'defines': [
1177 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementatio n
1178 # of cloud print system, and allows to use custom implementaiton .
1179 'CP_PRINT_SYSTEM_AVAILABLE',
1180 ],
1181 'sources': [
1182 'service/cloud_print/print_system_win.cc',
1183 ],
1184 }],
1185 ['toolkit_uses_gtk == 1', {
1186 'dependencies': [
1187 '../build/linux/system.gyp:gtk',
1188 ],
1189 }],
1190 ['use_cups==1', {
1191 'dependencies': [
1192 '../printing/printing.gyp:cups',
1193 ],
1194 'defines': [
1195 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementatio n
1196 # of cloud print system, and allows to use custom implementaiton .
1197 'CP_PRINT_SYSTEM_AVAILABLE',
1198 ],
1199 'sources': [
1200 'service/cloud_print/print_system_cups.cc',
1201 ],
1202 }],
1203 ],
1204 },
1205 ],
1206 }],
1204 ], # 'conditions' 1207 ], # 'conditions'
1205 } 1208 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698