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

Side by Side Diff: chrome/chrome_common.gypi

Issue 400243003: GN chrome/common build, rename enable_printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/common/BUILD.gn » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 # File lists shared with GN build.
7 'chrome_common_sources': [ 8 'chrome_common_sources': [
8 '../apps/app_shim/app_shim_launch.h', 9 '../apps/app_shim/app_shim_launch.h',
9 '../apps/app_shim/app_shim_messages.h', 10 '../apps/app_shim/app_shim_messages.h',
10 'common/all_messages.h', 11 'common/all_messages.h',
11 'common/attrition_experiments.h', 12 'common/attrition_experiments.h',
12 'common/auto_start_linux.cc', 13 'common/auto_start_linux.cc',
13 'common/auto_start_linux.h', 14 'common/auto_start_linux.h',
14 'common/badge_util.cc', 15 'common/badge_util.cc',
15 'common/badge_util.h', 16 'common/badge_util.h',
16 'common/child_process_logging.h', 17 'common/child_process_logging.h',
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 'common/extensions/permissions/chrome_permission_message_provider.cc', 119 'common/extensions/permissions/chrome_permission_message_provider.cc',
119 'common/extensions/permissions/chrome_permission_message_provider.h', 120 'common/extensions/permissions/chrome_permission_message_provider.h',
120 'common/extensions/sync_helper.cc', 121 'common/extensions/sync_helper.cc',
121 'common/extensions/sync_helper.h', 122 'common/extensions/sync_helper.h',
122 'common/extensions/update_manifest.cc', 123 'common/extensions/update_manifest.cc',
123 'common/extensions/update_manifest.h', 124 'common/extensions/update_manifest.h',
124 'common/favicon/favicon_url_parser.cc', 125 'common/favicon/favicon_url_parser.cc',
125 'common/favicon/favicon_url_parser.h', 126 'common/favicon/favicon_url_parser.h',
126 'common/icon_with_badge_image_source.cc', 127 'common/icon_with_badge_image_source.cc',
127 'common/icon_with_badge_image_source.h', 128 'common/icon_with_badge_image_source.h',
128 'common/importer/firefox_importer_utils.cc',
129 'common/importer/firefox_importer_utils.h',
130 'common/importer/firefox_importer_utils_linux.cc',
131 'common/importer/firefox_importer_utils_mac.mm',
132 'common/importer/firefox_importer_utils_win.cc',
133 'common/importer/ie_importer_test_registry_overrider_win.cc',
134 'common/importer/ie_importer_test_registry_overrider_win.h',
135 'common/importer/ie_importer_utils_win.cc',
136 'common/importer/ie_importer_utils_win.h',
137 'common/importer/imported_bookmark_entry.cc',
138 'common/importer/imported_bookmark_entry.h',
139 'common/importer/imported_favicon_usage.cc',
140 'common/importer/imported_favicon_usage.h',
141 'common/importer/importer_bridge.cc',
142 'common/importer/importer_bridge.h',
143 'common/importer/importer_data_types.cc',
144 'common/importer/importer_data_types.h',
145 'common/importer/importer_type.h',
146 'common/importer/importer_url_row.cc',
147 'common/importer/importer_url_row.h',
148 'common/importer/profile_import_process_messages.cc',
149 'common/importer/profile_import_process_messages.h',
150 'common/importer/safari_importer_utils.h',
151 'common/importer/safari_importer_utils.mm',
152 'common/instant_restricted_id_cache.h', 129 'common/instant_restricted_id_cache.h',
153 'common/instant_types.cc', 130 'common/instant_types.cc',
154 'common/instant_types.h', 131 'common/instant_types.h',
155 'common/localized_error.cc', 132 'common/localized_error.cc',
156 'common/localized_error.h', 133 'common/localized_error.h',
157 'common/logging_chrome.cc', 134 'common/logging_chrome.cc',
158 'common/logging_chrome.h', 135 'common/logging_chrome.h',
159 'common/mac/app_mode_common.h', 136 'common/mac/app_mode_common.h',
160 'common/mac/app_mode_common.mm', 137 'common/mac/app_mode_common.mm',
161 'common/mac/cfbundle_blocker.h', 138 'common/mac/cfbundle_blocker.h',
(...skipping 27 matching lines...) Expand all
189 'common/profiling.cc', 166 'common/profiling.cc',
190 'common/profiling.h', 167 'common/profiling.h',
191 'common/ref_counted_util.h', 168 'common/ref_counted_util.h',
192 'common/render_messages.cc', 169 'common/render_messages.cc',
193 'common/render_messages.h', 170 'common/render_messages.h',
194 'common/safe_browsing/safebrowsing_messages.h', 171 'common/safe_browsing/safebrowsing_messages.h',
195 'common/search_provider.h', 172 'common/search_provider.h',
196 'common/search_types.h', 173 'common/search_types.h',
197 'common/search_urls.cc', 174 'common/search_urls.cc',
198 'common/search_urls.h', 175 'common/search_urls.h',
199 'common/service_messages.h',
200 'common/service_process_util.cc',
201 'common/service_process_util.h',
202 'common/service_process_util_linux.cc',
203 'common/service_process_util_mac.mm',
204 'common/service_process_util_posix.cc',
205 'common/service_process_util_posix.h',
206 'common/service_process_util_win.cc',
207 'common/spellcheck_common.cc', 176 'common/spellcheck_common.cc',
208 'common/spellcheck_common.h', 177 'common/spellcheck_common.h',
209 'common/spellcheck_marker.h', 178 'common/spellcheck_marker.h',
210 'common/spellcheck_messages.h', 179 'common/spellcheck_messages.h',
211 'common/spellcheck_result.h', 180 'common/spellcheck_result.h',
212 'common/switch_utils.cc', 181 'common/switch_utils.cc',
213 'common/switch_utils.h', 182 'common/switch_utils.h',
214 'common/terminate_on_heap_corruption_experiment_win.cc', 183 'common/terminate_on_heap_corruption_experiment_win.cc',
215 'common/terminate_on_heap_corruption_experiment_win.h', 184 'common/terminate_on_heap_corruption_experiment_win.h',
216 'common/tts_messages.h', 185 'common/tts_messages.h',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 'common/extensions/api/url_handlers/url_handlers_parser.h', 229 'common/extensions/api/url_handlers/url_handlers_parser.h',
261 'common/extensions/api/webstore/webstore_api_constants.cc', 230 'common/extensions/api/webstore/webstore_api_constants.cc',
262 'common/extensions/api/webstore/webstore_api_constants.h', 231 'common/extensions/api/webstore/webstore_api_constants.h',
263 ], 232 ],
264 'chrome_common_full_safe_browsing_sources': [ 233 'chrome_common_full_safe_browsing_sources': [
265 'common/safe_browsing/download_protection_util.cc', 234 'common/safe_browsing/download_protection_util.cc',
266 'common/safe_browsing/download_protection_util.h', 235 'common/safe_browsing/download_protection_util.h',
267 'common/safe_browsing/zip_analyzer.cc', 236 'common/safe_browsing/zip_analyzer.cc',
268 'common/safe_browsing/zip_analyzer.h', 237 'common/safe_browsing/zip_analyzer.h',
269 ], 238 ],
239 'chrome_common_importer_sources': [
240 'common/importer/firefox_importer_utils.cc',
241 'common/importer/firefox_importer_utils.h',
242 'common/importer/firefox_importer_utils_linux.cc',
243 'common/importer/firefox_importer_utils_mac.mm',
244 'common/importer/firefox_importer_utils_win.cc',
245 'common/importer/ie_importer_test_registry_overrider_win.cc',
246 'common/importer/ie_importer_test_registry_overrider_win.h',
247 'common/importer/ie_importer_utils_win.cc',
248 'common/importer/ie_importer_utils_win.h',
249 'common/importer/imported_bookmark_entry.cc',
250 'common/importer/imported_bookmark_entry.h',
251 'common/importer/imported_favicon_usage.cc',
252 'common/importer/imported_favicon_usage.h',
253 'common/importer/importer_bridge.cc',
254 'common/importer/importer_bridge.h',
255 'common/importer/importer_data_types.cc',
256 'common/importer/importer_data_types.h',
257 'common/importer/importer_type.h',
258 'common/importer/importer_url_row.cc',
259 'common/importer/importer_url_row.h',
260 'common/importer/profile_import_process_messages.cc',
261 'common/importer/profile_import_process_messages.h',
262 'common/importer/safari_importer_utils.h',
263 'common/importer/safari_importer_utils.mm',
264 ],
265 'chrome_common_service_process_sources': [
266 'common/service_messages.h',
267 'common/service_process_util.cc',
268 'common/service_process_util.h',
269 'common/service_process_util_linux.cc',
270 'common/service_process_util_mac.mm',
271 'common/service_process_util_posix.cc',
272 'common/service_process_util_posix.h',
273 'common/service_process_util_win.cc',
274 ],
275 'chrome_common_win_mac_sources': [
276 'common/extensions/api/networking_private/networking_private_crypto_nss.cc ',
277 'common/extensions/api/networking_private/networking_private_crypto_openss l.cc',
278 'common/extensions/api/networking_private/networking_private_crypto.h',
279 'common/media_galleries/itunes_library.cc',
280 'common/media_galleries/itunes_library.h',
281 'common/media_galleries/picasa_types.cc',
282 'common/media_galleries/picasa_types.h',
283 'common/media_galleries/pmp_constants.h',
284 ],
285 'chrome_common_mac_sources': [
286 'common/media_galleries/iphoto_library.cc',
287 'common/media_galleries/iphoto_library.h',
288 ]
270 }, 289 },
271 'targets': [ 290 'targets': [
272 { 291 {
273 'target_name': 'common', 292 'target_name': 'common',
274 'type': 'static_library', 293 'type': 'static_library',
275 'variables': { 294 'variables': {
276 'chrome_common_target': 1, 295 'chrome_common_target': 1,
277 'enable_wexit_time_destructors': 1, 296 'enable_wexit_time_destructors': 1,
278 }, 297 },
279 'include_dirs': [ 298 'include_dirs': [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', 341 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
323 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', 342 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
324 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', 343 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
325 '<(DEPTH)/url/url.gyp:url_lib', 344 '<(DEPTH)/url/url.gyp:url_lib',
326 ], 345 ],
327 'sources': [ 346 'sources': [
328 '<@(chrome_common_sources)' 347 '<@(chrome_common_sources)'
329 ], 348 ],
330 'conditions': [ 349 'conditions': [
331 ['enable_extensions==1', { 350 ['enable_extensions==1', {
332 'sources': [ 351 'sources': [ '<@(chrome_common_extensions_sources)' ],
333 '<@(chrome_common_extensions_sources)',
334 ],
335 'dependencies': [ 352 'dependencies': [
336 '../device/bluetooth/bluetooth.gyp:device_bluetooth', 353 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
337 '../device/usb/usb.gyp:device_usb', 354 '../device/usb/usb.gyp:device_usb',
338 ], 355 ],
339 }], 356 }],
340 ['OS=="win" or OS=="mac"', { 357 ['OS=="win" or OS=="mac"', {
341 'sources': [ 358 'sources': [ '<@(chrome_common_win_mac_sources)' ],
342 'common/extensions/api/networking_private/networking_private_crypto_ nss.cc',
343 'common/extensions/api/networking_private/networking_private_crypto_ openssl.cc',
344 'common/extensions/api/networking_private/networking_private_crypto. h',
345 'common/media_galleries/itunes_library.cc',
346 'common/media_galleries/itunes_library.h',
347 'common/media_galleries/picasa_types.cc',
348 'common/media_galleries/picasa_types.h',
349 'common/media_galleries/pmp_constants.h',
350 ],
351 }], 359 }],
352 ['OS=="mac"', { 360 ['OS=="mac"', {
353 'sources': [ 361 'sources': [ '<@(chrome_common_mac_sources)' ],
354 'common/media_galleries/iphoto_library.cc',
355 'common/media_galleries/iphoto_library.h',
356 ],
357 }], 362 }],
358 ['OS != "ios"', { 363 ['OS != "ios"', {
359 'dependencies': [ 364 'dependencies': [
360 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 365 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
361 '<(DEPTH)/components/components.gyp:autofill_core_common', 366 '<(DEPTH)/components/components.gyp:autofill_core_common',
362 '<(DEPTH)/components/components.gyp:autofill_content_common', 367 '<(DEPTH)/components/components.gyp:autofill_content_common',
363 '<(DEPTH)/components/components.gyp:password_manager_core_common', 368 '<(DEPTH)/components/components.gyp:password_manager_core_common',
364 '<(DEPTH)/components/components.gyp:signin_core_common', 369 '<(DEPTH)/components/components.gyp:signin_core_common',
365 '<(DEPTH)/components/components.gyp:translate_content_common', 370 '<(DEPTH)/components/components.gyp:translate_content_common',
366 '<(DEPTH)/components/components.gyp:visitedlink_common', 371 '<(DEPTH)/components/components.gyp:visitedlink_common',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 ['enable_printing==0', { 422 ['enable_printing==0', {
418 'sources!': [ 423 'sources!': [
419 'common/print_messages.cc', 424 'common/print_messages.cc',
420 'common/print_messages.h', 425 'common/print_messages.h',
421 ] 426 ]
422 }, { 427 }, {
423 'dependencies': [ 428 'dependencies': [
424 '<(DEPTH)/printing/printing.gyp:printing', 429 '<(DEPTH)/printing/printing.gyp:printing',
425 ], 430 ],
426 }], 431 }],
427 ['enable_printing!=1', { 432 ['enable_printing==1', {
428 'sources!' : [ 433 'sources': [ '<@(chrome_common_service_process_sources)' ],
429 'common/service_messages.h',
430 ],
431 'sources/': [
432 ['exclude', '^common/service_process_util_'],
433 ],
434 }], 434 }],
435 ['enable_service_discovery==1', { 435 ['enable_service_discovery==1', {
436 'sources' : [ 436 'sources' : [
437 'common/local_discovery/service_discovery_client.cc', 437 'common/local_discovery/service_discovery_client.cc',
438 'common/local_discovery/service_discovery_client.h', 438 'common/local_discovery/service_discovery_client.h',
439 ] 439 ]
440 }], 440 }],
441 ['enable_mdns==1', { 441 ['enable_mdns==1', {
442 'sources' : [ 442 'sources' : [
443 'common/local_discovery/service_discovery_client_impl.cc', 443 'common/local_discovery/service_discovery_client_impl.cc',
444 'common/local_discovery/service_discovery_client_impl.h', 444 'common/local_discovery/service_discovery_client_impl.h',
445 ] 445 ]
446 }], 446 }],
447 ['OS=="android"', { 447 ['OS=="android"', {
448 'sources/': [
449 ['exclude', '^common/importer/'],
450 ['exclude', '^common/media_galleries/'],
451 ['exclude', '^common/service_'],
452 ],
453 'sources!': [ 448 'sources!': [
454 'common/badge_util.cc', 449 'common/badge_util.cc',
455 'common/chrome_version_info_posix.cc', 450 'common/chrome_version_info_posix.cc',
456 'common/extensions/api/extension_action/browser_action_handler.cc', 451 'common/extensions/api/extension_action/browser_action_handler.cc',
457 'common/extensions/api/extension_action/page_action_handler.cc', 452 'common/extensions/api/extension_action/page_action_handler.cc',
458 'common/extensions/api/spellcheck/spellcheck_handler.cc', 453 'common/extensions/api/spellcheck/spellcheck_handler.cc',
459 'common/extensions/manifest_handlers/minimum_chrome_version_checker. cc', 454 'common/extensions/manifest_handlers/minimum_chrome_version_checker. cc',
460 'common/icon_with_badge_image_source.cc', 455 'common/icon_with_badge_image_source.cc',
456 'common/media_galleries/metadata_types.h',
461 'common/net/url_util.cc', 457 'common/net/url_util.cc',
462 'common/spellcheck_common.cc', 458 'common/spellcheck_common.cc',
463 ], 459 ],
460 }, {
461 # Non-Android.
462 'sources': [ '<@(chrome_common_importer_sources)' ]
464 }], 463 }],
465 ['OS=="win"', { 464 ['OS=="win"', {
466 'include_dirs': [ 465 'include_dirs': [
467 '<(DEPTH)/breakpad/src', 466 '<(DEPTH)/breakpad/src',
468 '<(DEPTH)/third_party/wtl/include', 467 '<(DEPTH)/third_party/wtl/include',
469 ], 468 ],
470 }], 469 }],
471 ['enable_mdns == 1', { 470 ['enable_mdns == 1', {
472 'sources': [ 471 'sources': [
473 'common/local_discovery/local_discovery_messages.h', 472 'common/local_discovery/local_discovery_messages.h',
(...skipping 16 matching lines...) Expand all
490 'common/child_process_logging_posix.cc', 489 'common/child_process_logging_posix.cc',
491 'common/chrome_version_info_posix.cc', 490 'common/chrome_version_info_posix.cc',
492 ], 491 ],
493 }], 492 }],
494 ['remoting==1', { 493 ['remoting==1', {
495 'dependencies': [ 494 'dependencies': [
496 '../remoting/remoting.gyp:remoting_client_plugin', 495 '../remoting/remoting.gyp:remoting_client_plugin',
497 ], 496 ],
498 }], 497 }],
499 ['enable_plugins==0', { 498 ['enable_plugins==0', {
500 'source!' : [ 499 'sources!' : [
501 'common/pepper_permission_util.cc', 500 'common/pepper_permission_util.cc',
502 ], 501 ],
503 }], 502 }],
504 ['enable_webrtc==0', { 503 ['enable_webrtc==0', {
505 'sources!': [ 504 'sources!': [
506 'common/media/webrtc_logging_messages.h', 505 'common/media/webrtc_logging_messages.h',
507 ] 506 ]
508 }], 507 }],
509 ['configuration_policy==1', { 508 ['configuration_policy==1', {
510 'dependencies': [ 509 'dependencies': [
(...skipping 26 matching lines...) Expand all
537 # by file name rules). 536 # by file name rules).
538 ['include', '^common/chrome_version_info_mac\\.mm$'], 537 ['include', '^common/chrome_version_info_mac\\.mm$'],
539 ], 538 ],
540 }], 539 }],
541 ], 540 ],
542 'export_dependent_settings': [ 541 'export_dependent_settings': [
543 '../base/base.gyp:base', 542 '../base/base.gyp:base',
544 ], 543 ],
545 }, 544 },
546 { 545 {
546 # GN version: //chrome/common:version
547 'target_name': 'common_version', 547 'target_name': 'common_version',
548 'type': 'none', 548 'type': 'none',
549 'conditions': [ 549 'conditions': [
550 ['os_posix == 1 and OS != "mac" and OS != "ios"', { 550 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
551 'direct_dependent_settings': { 551 'direct_dependent_settings': {
552 'include_dirs': [ 552 'include_dirs': [
553 '<(SHARED_INTERMEDIATE_DIR)', 553 '<(SHARED_INTERMEDIATE_DIR)',
554 ], 554 ],
555 }, 555 },
556 # Because posix_version generates a header, we must set the 556 # Because posix_version generates a header, we must set the
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 '<(template_input_path)', 596 '<(template_input_path)',
597 '<@(_outputs)', 597 '<@(_outputs)',
598 ], 598 ],
599 'message': 'Generating version information', 599 'message': 'Generating version information',
600 }, 600 },
601 ], 601 ],
602 }], 602 }],
603 ], 603 ],
604 }, 604 },
605 { 605 {
606 # GN version: //chrome/common/net:net 606 # GN version: //chrome/common/net
607 'target_name': 'common_net', 607 'target_name': 'common_net',
608 'type': 'static_library', 608 'type': 'static_library',
609 'sources': [ 609 'sources': [
610 'common/net/net_error_info.cc', 610 'common/net/net_error_info.cc',
611 'common/net/net_error_info.h', 611 'common/net/net_error_info.h',
612 'common/net/net_resource_provider.cc', 612 'common/net/net_resource_provider.cc',
613 'common/net/net_resource_provider.h', 613 'common/net/net_resource_provider.h',
614 'common/net/predictor_common.h', 614 'common/net/predictor_common.h',
615 'common/net/url_util.cc', 615 'common/net/url_util.cc',
616 'common/net/url_util.h', 616 'common/net/url_util.h',
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 'common/safe_browsing/csd.proto' 694 'common/safe_browsing/csd.proto'
695 ], 695 ],
696 'variables': { 696 'variables': {
697 'proto_in_dir': 'common/safe_browsing', 697 'proto_in_dir': 'common/safe_browsing',
698 'proto_out_dir': 'chrome/common/safe_browsing', 698 'proto_out_dir': 'chrome/common/safe_browsing',
699 }, 699 },
700 'includes': [ '../build/protoc.gypi' ], 700 'includes': [ '../build/protoc.gypi' ],
701 }, 701 },
702 ], 702 ],
703 } 703 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698