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

Side by Side Diff: chrome/chrome.gyp

Issue 241006: Reduce the number of unneeded dependencies.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « no previous file | chrome/common/json_value_serializer.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 # Define the common dependencies that contain all the actual 9 # Define the common dependencies that contain all the actual
10 # Chromium functionality. This list gets pulled in below by 10 # Chromium functionality. This list gets pulled in below by
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 { 386 {
387 'destination': '<(PRODUCT_DIR)/extensions', 387 'destination': '<(PRODUCT_DIR)/extensions',
388 'files': [ 388 'files': [
389 'browser/extensions/default_extensions/external_extensions.json' 389 'browser/extensions/default_extensions/external_extensions.json'
390 ] 390 ]
391 } 391 }
392 ], 392 ],
393 }], 393 }],
394 ], 394 ],
395 }, 395 },
396 {
397 'target_name': 'common_constants',
398 'type': '<(library)',
399 'dependencies': [
400 '../base/base.gyp:base',
401 ],
402 'sources': [
403 'common/chrome_constants.cc',
404 'common/chrome_constants.h',
405 'common/chrome_paths.cc',
406 'common/chrome_paths.h',
407 'common/chrome_paths_internal.h',
408 'common/chrome_paths_linux.cc',
409 'common/chrome_paths_mac.mm',
410 'common/chrome_paths_win.cc',
411 'common/chrome_switches.cc',
412 'common/chrome_switches.h',
413 'common/env_vars.cc',
414 'common/env_vars.h',
415 'common/json_value_serializer.cc',
416 'common/json_value_serializer.h',
417 'common/pref_names.cc',
418 'common/pref_names.h',
419 ],
420 },
396 { 421 {
397 'target_name': 'common', 422 'target_name': 'common',
398 'type': '<(library)', 423 'type': '<(library)',
399 'msvs_guid': '899F1280-3441-4D1F-BA04-CCD6208D9146', 424 'msvs_guid': '899F1280-3441-4D1F-BA04-CCD6208D9146',
400 'dependencies': [ 425 'dependencies': [
426 'common_constants',
401 'chrome_resources', 427 'chrome_resources',
402 'chrome_strings', 428 'chrome_strings',
403 'theme_resources', 429 'theme_resources',
404 '../app/app.gyp:app_base', 430 '../app/app.gyp:app_base',
405 '../base/base.gyp:base', 431 '../base/base.gyp:base',
406 '../base/base.gyp:base_gfx', 432 '../base/base.gyp:base_gfx',
407 '../build/temp_gyp/googleurl.gyp:googleurl', 433 '../build/temp_gyp/googleurl.gyp:googleurl',
408 '../ipc/ipc.gyp:ipc', 434 '../ipc/ipc.gyp:ipc',
409 '../net/net.gyp:net', 435 '../net/net.gyp:net',
410 '../net/net.gyp:net_resources', 436 '../net/net.gyp:net_resources',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 'common/child_process_host.cc', 490 'common/child_process_host.cc',
465 'common/child_process_host.h', 491 'common/child_process_host.h',
466 'common/child_process_info.cc', 492 'common/child_process_info.cc',
467 'common/child_process_info.h', 493 'common/child_process_info.h',
468 'common/child_process_logging.h', 494 'common/child_process_logging.h',
469 'common/child_process_logging_linux.cc', 495 'common/child_process_logging_linux.cc',
470 'common/child_process_logging_mac.mm', 496 'common/child_process_logging_mac.mm',
471 'common/child_process_logging_win.cc', 497 'common/child_process_logging_win.cc',
472 'common/child_thread.cc', 498 'common/child_thread.cc',
473 'common/child_thread.h', 499 'common/child_thread.h',
474 'common/chrome_constants.cc',
475 'common/chrome_constants.h',
476 'common/chrome_counters.cc', 500 'common/chrome_counters.cc',
477 'common/chrome_counters.h', 501 'common/chrome_counters.h',
478 'common/chrome_descriptors.h', 502 'common/chrome_descriptors.h',
479 'common/chrome_paths.cc',
480 'common/chrome_paths.h',
481 'common/chrome_paths_internal.h',
482 'common/chrome_paths_linux.cc',
483 'common/chrome_paths_mac.mm',
484 'common/chrome_paths_win.cc',
485 'common/chrome_plugin_api.h', 503 'common/chrome_plugin_api.h',
486 'common/chrome_plugin_lib.cc', 504 'common/chrome_plugin_lib.cc',
487 'common/chrome_plugin_lib.h', 505 'common/chrome_plugin_lib.h',
488 'common/chrome_plugin_util.cc', 506 'common/chrome_plugin_util.cc',
489 'common/chrome_plugin_util.h', 507 'common/chrome_plugin_util.h',
490 'common/chrome_switches.cc',
491 'common/chrome_switches.h',
492 'common/classfactory.cc', 508 'common/classfactory.cc',
493 'common/classfactory.h', 509 'common/classfactory.h',
494 'common/common_glue.cc', 510 'common/common_glue.cc',
495 'common/common_param_traits.cc', 511 'common/common_param_traits.cc',
496 'common/common_param_traits.h', 512 'common/common_param_traits.h',
497 'common/css_colors.h', 513 'common/css_colors.h',
498 'common/db_message_filter.cc', 514 'common/db_message_filter.cc',
499 'common/db_message_filter.h', 515 'common/db_message_filter.h',
500 'common/debug_flags.cc', 516 'common/debug_flags.cc',
501 'common/debug_flags.h', 517 'common/debug_flags.h',
502 'common/devtools_messages.h', 518 'common/devtools_messages.h',
503 'common/devtools_messages_internal.h', 519 'common/devtools_messages_internal.h',
504 'common/dom_storage_type.h', 520 'common/dom_storage_type.h',
505 'common/env_vars.cc',
506 'common/env_vars.h',
507 'common/filter_policy.h', 521 'common/filter_policy.h',
508 'common/gears_api.h', 522 'common/gears_api.h',
509 'common/gtk_tree.cc', 523 'common/gtk_tree.cc',
510 'common/gtk_tree.h', 524 'common/gtk_tree.h',
511 'common/gtk_util.cc', 525 'common/gtk_util.cc',
512 'common/gtk_util.h', 526 'common/gtk_util.h',
513 'common/histogram_synchronizer.cc', 527 'common/histogram_synchronizer.cc',
514 'common/histogram_synchronizer.h', 528 'common/histogram_synchronizer.h',
515 'common/important_file_writer.cc', 529 'common/important_file_writer.cc',
516 'common/important_file_writer.h', 530 'common/important_file_writer.h',
517 'common/json_value_serializer.cc',
518 'common/json_value_serializer.h',
519 'common/jstemplate_builder.cc', 531 'common/jstemplate_builder.cc',
520 'common/jstemplate_builder.h', 532 'common/jstemplate_builder.h',
521 'common/libxml_utils.cc', 533 'common/libxml_utils.cc',
522 'common/libxml_utils.h', 534 'common/libxml_utils.h',
523 'common/logging_chrome.cc', 535 'common/logging_chrome.cc',
524 'common/logging_chrome.h', 536 'common/logging_chrome.h',
525 'common/main_function_params.h', 537 'common/main_function_params.h',
526 'common/message_router.cc', 538 'common/message_router.cc',
527 'common/message_router.h', 539 'common/message_router.h',
528 'common/modal_dialog_event.h', 540 'common/modal_dialog_event.h',
(...skipping 22 matching lines...) Expand all
551 'common/platform_util.h', 563 'common/platform_util.h',
552 'common/platform_util_linux.cc', 564 'common/platform_util_linux.cc',
553 'common/platform_util_mac.mm', 565 'common/platform_util_mac.mm',
554 'common/platform_util_win.cc', 566 'common/platform_util_win.cc',
555 'common/plugin_carbon_interpose_constants_mac.h', 567 'common/plugin_carbon_interpose_constants_mac.h',
556 'common/plugin_carbon_interpose_constants_mac.cc', 568 'common/plugin_carbon_interpose_constants_mac.cc',
557 'common/plugin_messages.h', 569 'common/plugin_messages.h',
558 'common/plugin_messages_internal.h', 570 'common/plugin_messages_internal.h',
559 'common/pref_member.cc', 571 'common/pref_member.cc',
560 'common/pref_member.h', 572 'common/pref_member.h',
561 'common/pref_names.cc',
562 'common/pref_names.h',
563 'common/pref_service.cc', 573 'common/pref_service.cc',
564 'common/pref_service.h', 574 'common/pref_service.h',
565 'common/process_watcher_posix.cc', 575 'common/process_watcher_posix.cc',
566 'common/process_watcher_win.cc', 576 'common/process_watcher_win.cc',
567 'common/process_watcher.h', 577 'common/process_watcher.h',
568 'common/property_bag.cc', 578 'common/property_bag.cc',
569 'common/property_bag.h', 579 'common/property_bag.h',
570 'common/quarantine_mac.h', 580 'common/quarantine_mac.h',
571 'common/quarantine_mac.mm', 581 'common/quarantine_mac.mm',
572 'common/ref_counted_util.h', 582 'common/ref_counted_util.h',
(...skipping 2895 matching lines...) Expand 10 before | Expand all | Expand 10 after
3468 }], 3478 }],
3469 ['OS=="mac" or OS=="win"', { 3479 ['OS=="mac" or OS=="win"', {
3470 'dependencies': [ 3480 'dependencies': [
3471 # On Windows and Mac, make sure we've built chrome_dll, which 3481 # On Windows and Mac, make sure we've built chrome_dll, which
3472 # contains all of the library code with Chromium functionality. 3482 # contains all of the library code with Chromium functionality.
3473 'chrome_dll', 3483 'chrome_dll',
3474 ], 3484 ],
3475 }], 3485 }],
3476 ['OS=="win"', { 3486 ['OS=="win"', {
3477 'dependencies': [ 3487 'dependencies': [
3478 '../app/app.gyp:app_id',
3479 'installer/installer.gyp:installer_util', 3488 'installer/installer.gyp:installer_util',
3480 'installer/installer.gyp:installer_util_strings', 3489 'installer/installer.gyp:installer_util_strings',
3481 '../breakpad/breakpad.gyp:breakpad_handler', 3490 '../breakpad/breakpad.gyp:breakpad_handler',
3482 '../breakpad/breakpad.gyp:breakpad_sender', 3491 '../breakpad/breakpad.gyp:breakpad_sender',
3483 '../sandbox/sandbox.gyp:sandbox', 3492 '../sandbox/sandbox.gyp:sandbox',
3484 '../views/views.gyp:views',
3485 'worker',
3486 'app/locales/locales.gyp:*', 3493 'app/locales/locales.gyp:*',
3487 ], 3494 ],
3488 'sources': [ 3495 'sources': [
3489 'app/chrome_exe.rc', 3496 'app/chrome_exe.rc',
3490 'app/chrome_exe_version.rc.version', 3497 'app/chrome_exe_version.rc.version',
3491 ], 3498 ],
3492 'include_dirs': [ 3499 'include_dirs': [
3493 '<(SHARED_INTERMEDIATE_DIR)/chrome', 3500 '<(SHARED_INTERMEDIATE_DIR)/chrome',
3494 ], 3501 ],
3495 'msvs_settings': { 3502 'msvs_settings': {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
3710 'test/automation/browser_proxy.h', 3717 'test/automation/browser_proxy.h',
3711 'test/automation/tab_proxy.cc', 3718 'test/automation/tab_proxy.cc',
3712 'test/automation/tab_proxy.h', 3719 'test/automation/tab_proxy.h',
3713 'test/automation/window_proxy.cc', 3720 'test/automation/window_proxy.cc',
3714 'test/automation/window_proxy.h', 3721 'test/automation/window_proxy.h',
3715 'test/chrome_process_util.cc', 3722 'test/chrome_process_util.cc',
3716 'test/chrome_process_util.h', 3723 'test/chrome_process_util.h',
3717 'test/chrome_process_util_linux.cc', 3724 'test/chrome_process_util_linux.cc',
3718 'test/chrome_process_util_mac.cc', 3725 'test/chrome_process_util_mac.cc',
3719 'test/chrome_process_util_win.cc', 3726 'test/chrome_process_util_win.cc',
3720 'test/in_process_browser_test.cc',
3721 'test/in_process_browser_test.h',
3722 'test/perf/mem_usage_linux.cc', 3727 'test/perf/mem_usage_linux.cc',
3723 'test/perf/mem_usage_mac.cc', 3728 'test/perf/mem_usage_mac.cc',
3724 'test/perf/mem_usage_win.cc', 3729 'test/perf/mem_usage_win.cc',
3725 'test/perf/mem_usage.h', 3730 'test/perf/mem_usage.h',
3726 'test/testing_profile.cc', 3731 'test/testing_profile.cc',
3727 'test/testing_profile.h', 3732 'test/testing_profile.h',
3728 'test/ui_test_utils.cc', 3733 'test/ui_test_utils.cc',
3729 'test/ui_test_utils.h', 3734 'test/ui_test_utils.h',
3730 ], 3735 ],
3731 'conditions': [ 3736 'conditions': [
(...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after
5352 # TODO(phajdan.jr): Only temporary, to make transition easier. 5357 # TODO(phajdan.jr): Only temporary, to make transition easier.
5353 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], 5358 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ],
5354 'sources': [ 5359 'sources': [
5355 'browser/autocomplete/autocomplete_edit_view_browsertest.cc', 5360 'browser/autocomplete/autocomplete_edit_view_browsertest.cc',
5356 'browser/browser_focus_uitest.cc', 5361 'browser/browser_focus_uitest.cc',
5357 'browser/debugger/devtools_sanity_unittest.cc', 5362 'browser/debugger/devtools_sanity_unittest.cc',
5358 'browser/views/bookmark_bar_view_test.cc', 5363 'browser/views/bookmark_bar_view_test.cc',
5359 'browser/blocked_popup_container_interactive_uitest.cc', 5364 'browser/blocked_popup_container_interactive_uitest.cc',
5360 'browser/views/find_bar_host_interactive_uitest.cc', 5365 'browser/views/find_bar_host_interactive_uitest.cc',
5361 'browser/views/tabs/tab_dragging_test.cc', 5366 'browser/views/tabs/tab_dragging_test.cc',
5367 'test/in_process_browser_test.cc',
5368 'test/in_process_browser_test.h',
5362 'test/interactive_ui/npapi_interactive_test.cc', 5369 'test/interactive_ui/npapi_interactive_test.cc',
5363 'test/interactive_ui/view_event_test_base.cc', 5370 'test/interactive_ui/view_event_test_base.cc',
5364 'test/interactive_ui/view_event_test_base.h', 5371 'test/interactive_ui/view_event_test_base.h',
5365 ], 5372 ],
5366 'conditions': [ 5373 'conditions': [
5367 ['OS=="linux"', { 5374 ['OS=="linux"', {
5368 'dependencies': [ 5375 'dependencies': [
5369 '../build/linux/system.gyp:gtk', 5376 '../build/linux/system.gyp:gtk',
5370 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 5377 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
5371 ], 5378 ],
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
5535 '../skia/skia.gyp:skia', 5542 '../skia/skia.gyp:skia',
5536 '../testing/gtest.gyp:gtest', 5543 '../testing/gtest.gyp:gtest',
5537 '../third_party/icu/icu.gyp:icui18n', 5544 '../third_party/icu/icu.gyp:icui18n',
5538 '../third_party/icu/icu.gyp:icuuc', 5545 '../third_party/icu/icu.gyp:icuuc',
5539 ], 5546 ],
5540 'include_dirs': [ 5547 'include_dirs': [
5541 '..', 5548 '..',
5542 ], 5549 ],
5543 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], 5550 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ],
5544 'sources': [ 5551 'sources': [
5552 'test/in_process_browser_test.cc',
5553 'test/in_process_browser_test.h',
5545 'test/test_launcher/out_of_proc_test_runner.cc', 5554 'test/test_launcher/out_of_proc_test_runner.cc',
5546 'test/test_launcher/test_runner.cc', 5555 'test/test_launcher/test_runner.cc',
5547 'test/test_launcher/test_runner.h', 5556 'test/test_launcher/test_runner.h',
5548 'test/test_launcher/run_all_unittests.cc', 5557 'test/test_launcher/run_all_unittests.cc',
5549 'test/unit/chrome_test_suite.h', 5558 'test/unit/chrome_test_suite.h',
5550 # browser_tests_sources is defined in 'variables' at the top of the 5559 # browser_tests_sources is defined in 'variables' at the top of the
5551 # file. 5560 # file.
5552 '<@(browser_tests_sources)', 5561 '<@(browser_tests_sources)',
5553 ], 5562 ],
5554 'conditions': [ 5563 'conditions': [
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
5742 '../third_party/libxml/libxml.gyp:libxml', 5751 '../third_party/libxml/libxml.gyp:libxml',
5743 '../third_party/npapi/npapi.gyp:npapi', 5752 '../third_party/npapi/npapi.gyp:npapi',
5744 ], 5753 ],
5745 'include_dirs': [ 5754 'include_dirs': [
5746 '..', 5755 '..',
5747 '<(INTERMEDIATE_DIR)', 5756 '<(INTERMEDIATE_DIR)',
5748 ], 5757 ],
5749 # TODO(phajdan.jr): Only temporary, to make transition easier. 5758 # TODO(phajdan.jr): Only temporary, to make transition easier.
5750 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], 5759 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ],
5751 'sources': [ 5760 'sources': [
5761 'app/chrome_dll.rc',
5762 'app/chrome_dll_resource.h',
5763 'app/chrome_dll_version.rc.version',
5764 'test/in_process_browser_test.cc',
5765 'test/in_process_browser_test.h',
5752 'test/live_sync/bookmark_model_verifier.cc', 5766 'test/live_sync/bookmark_model_verifier.cc',
5753 'test/live_sync/bookmark_model_verifier.h', 5767 'test/live_sync/bookmark_model_verifier.h',
5754 'test/live_sync/live_bookmarks_sync_test.cc', 5768 'test/live_sync/live_bookmarks_sync_test.cc',
5755 'test/live_sync/live_bookmarks_sync_test.h', 5769 'test/live_sync/live_bookmarks_sync_test.h',
5756 'test/live_sync/profile_sync_service_test_harness.cc', 5770 'test/live_sync/profile_sync_service_test_harness.cc',
5757 'test/live_sync/profile_sync_service_test_harness.h', 5771 'test/live_sync/profile_sync_service_test_harness.h',
5772 'test/live_sync/single_client_live_bookmarks_sync_unittest.cc',
5773 'test/live_sync/two_client_live_bookmarks_sync_test.cc',
5758 'test/test_launcher/run_all_unittests.cc', 5774 'test/test_launcher/run_all_unittests.cc',
5759 'test/test_notification_tracker.cc', 5775 'test/test_notification_tracker.cc',
5760 'test/test_notification_tracker.h', 5776 'test/test_notification_tracker.h',
5761 'test/testing_browser_process.h', 5777 'test/testing_browser_process.h',
5762 'test/ui_test_utils.cc', 5778 'test/ui_test_utils.cc',
5763 'test/ui_test_utils.h', 5779 'test/ui_test_utils.h',
5764 'app/chrome_dll.rc',
5765 'app/chrome_dll_resource.h',
5766 'app/chrome_dll_version.rc.version',
5767 'test/data/resource.h', 5780 'test/data/resource.h',
5768 'test/data/resource.rc', 5781 'test/data/resource.rc',
5769 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', 5782 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
5770 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version. rc', 5783 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version. rc',
5771 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', 5784 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
5772 'test/live_sync/single_client_live_bookmarks_sync_unittest.cc',
5773 'test/live_sync/two_client_live_bookmarks_sync_test.cc',
5774 ], 5785 ],
5775 'conditions': [ 5786 'conditions': [
5776 # Plugin code. 5787 # Plugin code.
5777 ['OS=="linux" or OS=="win"', { 5788 ['OS=="linux" or OS=="win"', {
5778 'dependencies': [ 5789 'dependencies': [
5779 'plugin', 5790 'plugin',
5780 ], 5791 ],
5781 'export_dependent_settings': [ 5792 'export_dependent_settings': [
5782 'plugin', 5793 'plugin',
5783 ], 5794 ],
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
6658 'defines': [ 6669 'defines': [
6659 'POSIX', 6670 'POSIX',
6660 ], 6671 ],
6661 }], 6672 }],
6662 ], 6673 ],
6663 }, 6674 },
6664 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 6675 ], # targets when chrome_personalization==1 and use_syncapi_stub==0
6665 }], 6676 }],
6666 ], # 'conditions' 6677 ], # 'conditions'
6667 } 6678 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/json_value_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698