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

Side by Side Diff: chrome/chrome_common.gypi

Issue 409683003: GN chrome/common build, rename enable_printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fir Android 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/tts_messages.h', 183 'common/tts_messages.h',
215 'common/tts_utterance_request.cc', 184 'common/tts_utterance_request.cc',
216 'common/tts_utterance_request.h', 185 'common/tts_utterance_request.h',
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 'common/extensions/api/url_handlers/url_handlers_parser.h', 227 'common/extensions/api/url_handlers/url_handlers_parser.h',
259 'common/extensions/api/webstore/webstore_api_constants.cc', 228 'common/extensions/api/webstore/webstore_api_constants.cc',
260 'common/extensions/api/webstore/webstore_api_constants.h', 229 'common/extensions/api/webstore/webstore_api_constants.h',
261 ], 230 ],
262 'chrome_common_full_safe_browsing_sources': [ 231 'chrome_common_full_safe_browsing_sources': [
263 'common/safe_browsing/download_protection_util.cc', 232 'common/safe_browsing/download_protection_util.cc',
264 'common/safe_browsing/download_protection_util.h', 233 'common/safe_browsing/download_protection_util.h',
265 'common/safe_browsing/zip_analyzer.cc', 234 'common/safe_browsing/zip_analyzer.cc',
266 'common/safe_browsing/zip_analyzer.h', 235 'common/safe_browsing/zip_analyzer.h',
267 ], 236 ],
237 'chrome_common_importer_sources': [
238 'common/importer/firefox_importer_utils.cc',
239 'common/importer/firefox_importer_utils.h',
240 'common/importer/firefox_importer_utils_linux.cc',
241 'common/importer/firefox_importer_utils_mac.mm',
242 'common/importer/firefox_importer_utils_win.cc',
243 'common/importer/ie_importer_test_registry_overrider_win.cc',
244 'common/importer/ie_importer_test_registry_overrider_win.h',
245 'common/importer/ie_importer_utils_win.cc',
246 'common/importer/ie_importer_utils_win.h',
247 'common/importer/imported_bookmark_entry.cc',
248 'common/importer/imported_bookmark_entry.h',
249 'common/importer/imported_favicon_usage.cc',
250 'common/importer/imported_favicon_usage.h',
251 'common/importer/importer_bridge.cc',
252 'common/importer/importer_bridge.h',
253 'common/importer/importer_data_types.cc',
254 'common/importer/importer_data_types.h',
255 'common/importer/importer_type.h',
256 'common/importer/importer_url_row.cc',
257 'common/importer/importer_url_row.h',
258 'common/importer/profile_import_process_messages.cc',
259 'common/importer/profile_import_process_messages.h',
260 'common/importer/safari_importer_utils.h',
261 'common/importer/safari_importer_utils.mm',
262 ],
263 'chrome_common_service_process_sources': [
264 'common/service_messages.h',
265 'common/service_process_util.cc',
266 'common/service_process_util.h',
267 'common/service_process_util_linux.cc',
268 'common/service_process_util_mac.mm',
269 'common/service_process_util_posix.cc',
270 'common/service_process_util_posix.h',
271 'common/service_process_util_win.cc',
272 ],
273 'chrome_common_win_mac_sources': [
274 'common/extensions/api/networking_private/networking_private_crypto_nss.cc ',
275 'common/extensions/api/networking_private/networking_private_crypto_openss l.cc',
276 'common/extensions/api/networking_private/networking_private_crypto.h',
277 'common/media_galleries/itunes_library.cc',
278 'common/media_galleries/itunes_library.h',
279 'common/media_galleries/picasa_types.cc',
280 'common/media_galleries/picasa_types.h',
281 'common/media_galleries/pmp_constants.h',
282 ],
283 'chrome_common_mac_sources': [
284 'common/media_galleries/iphoto_library.cc',
285 'common/media_galleries/iphoto_library.h',
286 ]
268 }, 287 },
269 'targets': [ 288 'targets': [
270 { 289 {
271 'target_name': 'common', 290 'target_name': 'common',
272 'type': 'static_library', 291 'type': 'static_library',
273 'variables': { 292 'variables': {
274 'chrome_common_target': 1, 293 'chrome_common_target': 1,
275 'enable_wexit_time_destructors': 1, 294 'enable_wexit_time_destructors': 1,
276 }, 295 },
277 'include_dirs': [ 296 'include_dirs': [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', 339 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
321 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', 340 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
322 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', 341 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
323 '<(DEPTH)/url/url.gyp:url_lib', 342 '<(DEPTH)/url/url.gyp:url_lib',
324 ], 343 ],
325 'sources': [ 344 'sources': [
326 '<@(chrome_common_sources)' 345 '<@(chrome_common_sources)'
327 ], 346 ],
328 'conditions': [ 347 'conditions': [
329 ['enable_extensions==1', { 348 ['enable_extensions==1', {
330 'sources': [ 349 'sources': [ '<@(chrome_common_extensions_sources)' ],
331 '<@(chrome_common_extensions_sources)',
332 ],
333 'dependencies': [ 350 'dependencies': [
334 '../device/bluetooth/bluetooth.gyp:device_bluetooth', 351 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
335 '../device/usb/usb.gyp:device_usb', 352 '../device/usb/usb.gyp:device_usb',
336 ], 353 ],
337 }], 354 }],
338 ['OS=="win" or OS=="mac"', { 355 ['OS=="win" or OS=="mac"', {
339 'sources': [ 356 'sources': [ '<@(chrome_common_win_mac_sources)' ],
340 'common/extensions/api/networking_private/networking_private_crypto_ nss.cc',
341 'common/extensions/api/networking_private/networking_private_crypto_ openssl.cc',
342 'common/extensions/api/networking_private/networking_private_crypto. h',
343 'common/media_galleries/itunes_library.cc',
344 'common/media_galleries/itunes_library.h',
345 'common/media_galleries/picasa_types.cc',
346 'common/media_galleries/picasa_types.h',
347 'common/media_galleries/pmp_constants.h',
348 ],
349 }], 357 }],
350 ['OS=="mac"', { 358 ['OS=="mac"', {
351 'sources': [ 359 'sources': [ '<@(chrome_common_mac_sources)' ],
352 'common/media_galleries/iphoto_library.cc',
353 'common/media_galleries/iphoto_library.h',
354 ],
355 }], 360 }],
356 ['OS != "ios"', { 361 ['OS != "ios"', {
357 'dependencies': [ 362 'dependencies': [
358 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 363 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
359 '<(DEPTH)/components/components.gyp:autofill_core_common', 364 '<(DEPTH)/components/components.gyp:autofill_core_common',
360 '<(DEPTH)/components/components.gyp:autofill_content_common', 365 '<(DEPTH)/components/components.gyp:autofill_content_common',
361 '<(DEPTH)/components/components.gyp:password_manager_core_common', 366 '<(DEPTH)/components/components.gyp:password_manager_core_common',
362 '<(DEPTH)/components/components.gyp:signin_core_common', 367 '<(DEPTH)/components/components.gyp:signin_core_common',
363 '<(DEPTH)/components/components.gyp:translate_content_common', 368 '<(DEPTH)/components/components.gyp:translate_content_common',
364 '<(DEPTH)/components/components.gyp:visitedlink_common', 369 '<(DEPTH)/components/components.gyp:visitedlink_common',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 ['enable_printing==0', { 420 ['enable_printing==0', {
416 'sources!': [ 421 'sources!': [
417 'common/print_messages.cc', 422 'common/print_messages.cc',
418 'common/print_messages.h', 423 'common/print_messages.h',
419 ] 424 ]
420 }, { 425 }, {
421 'dependencies': [ 426 'dependencies': [
422 '<(DEPTH)/printing/printing.gyp:printing', 427 '<(DEPTH)/printing/printing.gyp:printing',
423 ], 428 ],
424 }], 429 }],
425 ['enable_printing!=1', { 430 ['enable_printing==1', {
426 'sources!' : [ 431 'sources': [ '<@(chrome_common_service_process_sources)' ],
427 'common/service_messages.h',
428 ],
429 'sources/': [
430 ['exclude', '^common/service_process_util_'],
431 ],
432 }], 432 }],
433 ['enable_service_discovery==1', { 433 ['enable_service_discovery==1', {
434 'sources' : [ 434 'sources' : [
435 'common/local_discovery/service_discovery_client.cc', 435 'common/local_discovery/service_discovery_client.cc',
436 'common/local_discovery/service_discovery_client.h', 436 'common/local_discovery/service_discovery_client.h',
437 ] 437 ]
438 }], 438 }],
439 ['enable_mdns==1', { 439 ['enable_mdns==1', {
440 'sources' : [ 440 'sources' : [
441 'common/local_discovery/service_discovery_client_impl.cc', 441 'common/local_discovery/service_discovery_client_impl.cc',
442 'common/local_discovery/service_discovery_client_impl.h', 442 'common/local_discovery/service_discovery_client_impl.h',
443 ] 443 ]
444 }], 444 }],
445 ['OS=="android"', { 445 ['OS=="android"', {
446 'sources/': [
447 ['exclude', '^common/importer/'],
448 ['exclude', '^common/media_galleries/'],
449 ['exclude', '^common/service_'],
450 ],
451 'sources!': [ 446 'sources!': [
452 'common/badge_util.cc', 447 'common/badge_util.cc',
453 'common/chrome_version_info_posix.cc', 448 'common/chrome_version_info_posix.cc',
454 'common/extensions/api/extension_action/browser_action_handler.cc', 449 'common/extensions/api/extension_action/browser_action_handler.cc',
455 'common/extensions/api/extension_action/page_action_handler.cc', 450 'common/extensions/api/extension_action/page_action_handler.cc',
456 'common/extensions/api/spellcheck/spellcheck_handler.cc', 451 'common/extensions/api/spellcheck/spellcheck_handler.cc',
457 'common/extensions/manifest_handlers/minimum_chrome_version_checker. cc', 452 'common/extensions/manifest_handlers/minimum_chrome_version_checker. cc',
458 'common/icon_with_badge_image_source.cc', 453 'common/icon_with_badge_image_source.cc',
454 'common/media_galleries/metadata_types.h',
459 'common/net/url_util.cc', 455 'common/net/url_util.cc',
460 'common/spellcheck_common.cc', 456 'common/spellcheck_common.cc',
461 ], 457 ],
458 }, {
459 # Non-Android.
460 'sources': [ '<@(chrome_common_importer_sources)' ]
462 }], 461 }],
463 ['OS=="win"', { 462 ['OS=="win"', {
464 'include_dirs': [ 463 'include_dirs': [
465 '<(DEPTH)/breakpad/src', 464 '<(DEPTH)/breakpad/src',
466 '<(DEPTH)/third_party/wtl/include', 465 '<(DEPTH)/third_party/wtl/include',
467 ], 466 ],
468 }], 467 }],
469 ['enable_mdns == 1', { 468 ['enable_mdns == 1', {
470 'sources': [ 469 'sources': [
471 'common/local_discovery/local_discovery_messages.h', 470 'common/local_discovery/local_discovery_messages.h',
(...skipping 15 matching lines...) Expand all
487 'sources!': [ 486 'sources!': [
488 'common/child_process_logging_posix.cc', 487 'common/child_process_logging_posix.cc',
489 'common/chrome_version_info_posix.cc', 488 'common/chrome_version_info_posix.cc',
490 ], 489 ],
491 }], 490 }],
492 ['remoting==1', { 491 ['remoting==1', {
493 'dependencies': [ 492 'dependencies': [
494 '../remoting/remoting.gyp:remoting_client_plugin', 493 '../remoting/remoting.gyp:remoting_client_plugin',
495 ], 494 ],
496 }], 495 }],
497 ['enable_plugins==0', {
498 'source!' : [
499 'common/pepper_permission_util.cc',
500 ],
501 }],
502 ['enable_webrtc==0', { 496 ['enable_webrtc==0', {
503 'sources!': [ 497 'sources!': [
504 'common/media/webrtc_logging_messages.h', 498 'common/media/webrtc_logging_messages.h',
505 ] 499 ]
506 }], 500 }],
507 ['configuration_policy==1', { 501 ['configuration_policy==1', {
508 'dependencies': [ 502 'dependencies': [
509 '<(DEPTH)/components/components.gyp:policy', 503 '<(DEPTH)/components/components.gyp:policy',
510 ], 504 ],
511 }], 505 }],
(...skipping 23 matching lines...) Expand all
535 # by file name rules). 529 # by file name rules).
536 ['include', '^common/chrome_version_info_mac\\.mm$'], 530 ['include', '^common/chrome_version_info_mac\\.mm$'],
537 ], 531 ],
538 }], 532 }],
539 ], 533 ],
540 'export_dependent_settings': [ 534 'export_dependent_settings': [
541 '../base/base.gyp:base', 535 '../base/base.gyp:base',
542 ], 536 ],
543 }, 537 },
544 { 538 {
539 # GN version: //chrome/common:version
545 'target_name': 'common_version', 540 'target_name': 'common_version',
546 'type': 'none', 541 'type': 'none',
547 'conditions': [ 542 'conditions': [
548 ['os_posix == 1 and OS != "mac" and OS != "ios"', { 543 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
549 'direct_dependent_settings': { 544 'direct_dependent_settings': {
550 'include_dirs': [ 545 'include_dirs': [
551 '<(SHARED_INTERMEDIATE_DIR)', 546 '<(SHARED_INTERMEDIATE_DIR)',
552 ], 547 ],
553 }, 548 },
554 # Because posix_version generates a header, we must set the 549 # Because posix_version generates a header, we must set the
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 '<(template_input_path)', 589 '<(template_input_path)',
595 '<@(_outputs)', 590 '<@(_outputs)',
596 ], 591 ],
597 'message': 'Generating version information', 592 'message': 'Generating version information',
598 }, 593 },
599 ], 594 ],
600 }], 595 }],
601 ], 596 ],
602 }, 597 },
603 { 598 {
604 # GN version: //chrome/common/net:net 599 # GN version: //chrome/common/net
605 'target_name': 'common_net', 600 'target_name': 'common_net',
606 'type': 'static_library', 601 'type': 'static_library',
607 'sources': [ 602 'sources': [
608 'common/net/net_error_info.cc', 603 'common/net/net_error_info.cc',
609 'common/net/net_error_info.h', 604 'common/net/net_error_info.h',
610 'common/net/net_resource_provider.cc', 605 'common/net/net_resource_provider.cc',
611 'common/net/net_resource_provider.h', 606 'common/net/net_resource_provider.h',
612 'common/net/predictor_common.h', 607 'common/net/predictor_common.h',
613 'common/net/url_util.cc', 608 'common/net/url_util.cc',
614 'common/net/url_util.h', 609 'common/net/url_util.h',
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 'common/safe_browsing/csd.proto' 687 'common/safe_browsing/csd.proto'
693 ], 688 ],
694 'variables': { 689 'variables': {
695 'proto_in_dir': 'common/safe_browsing', 690 'proto_in_dir': 'common/safe_browsing',
696 'proto_out_dir': 'chrome/common/safe_browsing', 691 'proto_out_dir': 'chrome/common/safe_browsing',
697 }, 692 },
698 'includes': [ '../build/protoc.gypi' ], 693 'includes': [ '../build/protoc.gypi' ],
699 }, 694 },
700 ], 695 ],
701 } 696 }
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