OLD | NEW |
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 5304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5315 '../skia/skia.gyp:skia', | 5315 '../skia/skia.gyp:skia', |
5316 '../testing/gtest.gyp:gtest', | 5316 '../testing/gtest.gyp:gtest', |
5317 '../third_party/icu/icu.gyp:icui18n', | 5317 '../third_party/icu/icu.gyp:icui18n', |
5318 '../third_party/icu/icu.gyp:icuuc', | 5318 '../third_party/icu/icu.gyp:icuuc', |
5319 ], | 5319 ], |
5320 'include_dirs': [ | 5320 'include_dirs': [ |
5321 '..', | 5321 '..', |
5322 ], | 5322 ], |
5323 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], | 5323 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
5324 'sources': [ | 5324 'sources': [ |
5325 'test/browser/run_all_unittests.cc', | 5325 'test/test_launcher/out_of_proc_test_runner.cc', |
5326 'test/browser/browser_test_launcher_out_of_proc.cc', | 5326 'test/test_launcher/test_runner.cc', |
5327 'test/browser/browser_test_runner.cc', | 5327 'test/test_launcher/test_runner.h', |
5328 'test/browser/browser_test_runner.h', | 5328 'test/test_launcher/run_all_unittests.cc', |
5329 'test/unit/chrome_test_suite.h', | 5329 'test/unit/chrome_test_suite.h', |
5330 # browser_tests_sources is defined in 'variables' at the top of the | 5330 # browser_tests_sources is defined in 'variables' at the top of the |
5331 # file. | 5331 # file. |
5332 '<@(browser_tests_sources)', | 5332 '<@(browser_tests_sources)', |
5333 ], | 5333 ], |
5334 'conditions': [ | 5334 'conditions': [ |
5335 ['OS=="linux"', { | 5335 ['OS=="linux"', { |
5336 'dependencies': [ | 5336 'dependencies': [ |
5337 '../build/linux/system.gyp:gtk', | 5337 '../build/linux/system.gyp:gtk', |
5338 ], | 5338 ], |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5527 ], | 5527 ], |
5528 # TODO(phajdan.jr): Only temporary, to make transition easier. | 5528 # TODO(phajdan.jr): Only temporary, to make transition easier. |
5529 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], | 5529 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
5530 'sources': [ | 5530 'sources': [ |
5531 'test/live_sync/bookmark_model_verifier.cc', | 5531 'test/live_sync/bookmark_model_verifier.cc', |
5532 'test/live_sync/bookmark_model_verifier.h', | 5532 'test/live_sync/bookmark_model_verifier.h', |
5533 'test/live_sync/live_bookmarks_sync_test.cc', | 5533 'test/live_sync/live_bookmarks_sync_test.cc', |
5534 'test/live_sync/live_bookmarks_sync_test.h', | 5534 'test/live_sync/live_bookmarks_sync_test.h', |
5535 'test/live_sync/profile_sync_service_test_harness.cc', | 5535 'test/live_sync/profile_sync_service_test_harness.cc', |
5536 'test/live_sync/profile_sync_service_test_harness.h', | 5536 'test/live_sync/profile_sync_service_test_harness.h', |
5537 'test/browser/run_all_unittests.cc', | 5537 'test/test_launcher/run_all_unittests.cc', |
5538 'test/test_notification_tracker.cc', | 5538 'test/test_notification_tracker.cc', |
5539 'test/test_notification_tracker.h', | 5539 'test/test_notification_tracker.h', |
5540 'test/testing_browser_process.h', | 5540 'test/testing_browser_process.h', |
5541 'test/ui_test_utils.cc', | 5541 'test/ui_test_utils.cc', |
5542 'test/ui_test_utils.h', | 5542 'test/ui_test_utils.h', |
5543 'app/chrome_dll.rc', | 5543 'app/chrome_dll.rc', |
5544 'app/chrome_dll_resource.h', | 5544 'app/chrome_dll_resource.h', |
5545 'app/chrome_dll_version.rc.version', | 5545 'app/chrome_dll_version.rc.version', |
5546 'test/data/resource.h', | 5546 'test/data/resource.h', |
5547 'test/data/resource.rc', | 5547 'test/data/resource.rc', |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5584 'VCLinkerTool': { | 5584 'VCLinkerTool': { |
5585 'LinkIncremental': '<(msvs_large_module_debug_link_mode)
', | 5585 'LinkIncremental': '<(msvs_large_module_debug_link_mode)
', |
5586 }, | 5586 }, |
5587 }, | 5587 }, |
5588 }, | 5588 }, |
5589 }, | 5589 }, |
5590 }], | 5590 }], |
5591 ], | 5591 ], |
5592 }, | 5592 }, |
5593 { | 5593 { |
| 5594 'target_name': 'interactive_ui_tests_dll', |
| 5595 # 'product_name': 'interactive_ui_tests', |
| 5596 'type': 'shared_library', |
| 5597 'msvs_guid': '04116FAF-DA17-46EE-B108-971FCF0F0AFC', |
| 5598 'dependencies': [ |
| 5599 'chrome', |
| 5600 'chrome_resources', |
| 5601 'chrome_strings', |
| 5602 'debugger', |
| 5603 'test_support_common', |
| 5604 'test_support_ui', |
| 5605 'syncapi', |
| 5606 '../third_party/hunspell/hunspell.gyp:hunspell', |
| 5607 '../net/net.gyp:net_resources', |
| 5608 '../skia/skia.gyp:skia', |
| 5609 '../third_party/icu/icu.gyp:icui18n', |
| 5610 '../third_party/libpng/libpng.gyp:libpng', |
| 5611 '../third_party/libxml/libxml.gyp:libxml', |
| 5612 '../third_party/zlib/zlib.gyp:zlib', |
| 5613 '../testing/gtest.gyp:gtest', |
| 5614 '../third_party/npapi/npapi.gyp:npapi', |
| 5615 # run time dependency |
| 5616 '../webkit/webkit.gyp:webkit_resources', |
| 5617 ], |
| 5618 'include_dirs': [ |
| 5619 '..', |
| 5620 ], |
| 5621 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
| 5622 'sources': [ |
| 5623 'browser/browser_focus_uitest.cc', |
| 5624 'browser/debugger/devtools_sanity_unittest.cc', |
| 5625 'browser/views/bookmark_bar_view_test.cc', |
| 5626 'browser/blocked_popup_container_interactive_uitest.cc', |
| 5627 'browser/views/find_bar_win_interactive_uitest.cc', |
| 5628 'browser/views/tabs/tab_dragging_test.cc', |
| 5629 'test/in_process_browser_test.cc', |
| 5630 'test/in_process_browser_test.h', |
| 5631 'test/interactive_ui/npapi_interactive_test.cc', |
| 5632 'test/interactive_ui/view_event_test_base.cc', |
| 5633 'test/interactive_ui/view_event_test_base.h', |
| 5634 'test/test_launcher/run_all_unittests.cc', |
| 5635 'test/test_launcher/test_runner.h', |
| 5636 'test/test_launcher/test_runner.cc', |
| 5637 'test/unit/chrome_test_suite.h', |
| 5638 ], |
| 5639 'conditions': [ |
| 5640 ['OS=="linux"', { |
| 5641 'dependencies': [ |
| 5642 '../build/linux/system.gyp:gtk', |
| 5643 ], |
| 5644 'sources!': [ |
| 5645 # TODO(port) |
| 5646 'browser/views/bookmark_bar_view_test.cc', |
| 5647 'browser/views/find_bar_win_interactive_uitest.cc', |
| 5648 'browser/views/tabs/tab_dragging_test.cc', |
| 5649 'test/interactive_ui/npapi_interactive_test.cc', |
| 5650 'test/interactive_ui/view_event_test_base.cc', |
| 5651 'test/interactive_ui/view_event_test_base.h', |
| 5652 ], |
| 5653 }], |
| 5654 ['target_arch!="x64"', { |
| 5655 'dependencies': [ |
| 5656 # run time dependency |
| 5657 '../webkit/tools/test_shell/test_shell.gyp:npapi_test_plugin', |
| 5658 ], |
| 5659 }], |
| 5660 ['OS=="linux" and toolkit_views==1', { |
| 5661 'dependencies': [ |
| 5662 '../views/views.gyp:views', |
| 5663 ], |
| 5664 }], |
| 5665 ['OS=="mac"', { |
| 5666 'sources!': [ |
| 5667 # TODO(port) |
| 5668 'browser/browser_focus_uitest.cc', |
| 5669 'browser/debugger/devtools_sanity_unittest.cc', |
| 5670 'browser/views/bookmark_bar_view_test.cc', |
| 5671 'browser/blocked_popup_container_interactive_uitest.cc', |
| 5672 'browser/views/find_bar_win_interactive_uitest.cc', |
| 5673 'browser/views/tabs/tab_dragging_test.cc', |
| 5674 'test/interactive_ui/npapi_interactive_test.cc', |
| 5675 'test/interactive_ui/view_event_test_base.cc', |
| 5676 'test/interactive_ui/view_event_test_base.h', |
| 5677 ], |
| 5678 }], |
| 5679 ['OS=="win"', { |
| 5680 'include_dirs': [ |
| 5681 'third_party/wtl/include', |
| 5682 ], |
| 5683 'dependencies': [ |
| 5684 'chrome_dll_version', |
| 5685 'crash_service', # run time dependency |
| 5686 'installer/installer.gyp:installer_util_strings', |
| 5687 '../views/views.gyp:views', |
| 5688 ], |
| 5689 'sources': [ |
| 5690 '../webkit/glue/resources/aliasb.cur', |
| 5691 '../webkit/glue/resources/cell.cur', |
| 5692 '../webkit/glue/resources/col_resize.cur', |
| 5693 '../webkit/glue/resources/copy.cur', |
| 5694 '../webkit/glue/resources/row_resize.cur', |
| 5695 '../webkit/glue/resources/vertical_text.cur', |
| 5696 '../webkit/glue/resources/zoom_in.cur', |
| 5697 '../webkit/glue/resources/zoom_out.cur', |
| 5698 |
| 5699 'app/chrome_dll.rc', |
| 5700 'test/data/resource.rc', |
| 5701 |
| 5702 # TODO: It would be nice to have these pulled in |
| 5703 # automatically from direct_dependent_settings in |
| 5704 # their various targets (net.gyp:net_resources, etc.), |
| 5705 # but that causes errors in other targets when |
| 5706 # resulting .res files get referenced multiple times. |
| 5707 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| 5708 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| 5709 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
| 5710 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| 5711 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| 5712 ], |
| 5713 'configurations': { |
| 5714 'Debug': { |
| 5715 'msvs_settings': { |
| 5716 'VCLinkerTool': { |
| 5717 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| 5718 }, |
| 5719 }, |
| 5720 }, |
| 5721 }, |
| 5722 }], |
| 5723 ], |
| 5724 }, |
| 5725 { |
5594 # Shared library used by the in-proc browser tests. | 5726 # Shared library used by the in-proc browser tests. |
5595 'target_name': 'browser_tests_dll', | 5727 'target_name': 'browser_tests_dll', |
5596 'type': 'shared_library', | 5728 'type': 'shared_library', |
5597 'product_name': 'browser_tests', | 5729 'product_name': 'browser_tests', |
5598 'msvs_guid': 'D7589D0D-304E-4589-85A4-153B7D84B07F', | 5730 'msvs_guid': 'D7589D0D-304E-4589-85A4-153B7D84B07F', |
5599 'dependencies': [ | 5731 'dependencies': [ |
5600 'chrome', | 5732 'chrome', |
5601 'browser', | 5733 'browser', |
5602 'chrome_dll_version', | 5734 'chrome_dll_version', |
5603 'chrome_resources', | 5735 'chrome_resources', |
(...skipping 15 matching lines...) Expand all Loading... |
5619 'Debug': { | 5751 'Debug': { |
5620 'msvs_settings': { | 5752 'msvs_settings': { |
5621 'VCLinkerTool': { | 5753 'VCLinkerTool': { |
5622 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 5754 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
5623 }, | 5755 }, |
5624 }, | 5756 }, |
5625 }, | 5757 }, |
5626 }, | 5758 }, |
5627 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], | 5759 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
5628 'sources': [ | 5760 'sources': [ |
5629 'test/browser/run_all_unittests.cc', | |
5630 'test/in_process_browser_test.cc', | 5761 'test/in_process_browser_test.cc', |
5631 'test/in_process_browser_test.h', | 5762 'test/in_process_browser_test.h', |
| 5763 'test/test_launcher/run_all_unittests.cc', |
5632 'test/unit/chrome_test_suite.h', | 5764 'test/unit/chrome_test_suite.h', |
5633 'test/ui_test_utils.cc', | 5765 'test/ui_test_utils.cc', |
5634 'app/chrome_dll.rc', | 5766 'app/chrome_dll.rc', |
5635 'app/chrome_dll_resource.h', | 5767 'app/chrome_dll_resource.h', |
5636 'app/chrome_dll_version.rc.version', | 5768 'app/chrome_dll_version.rc.version', |
5637 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | 5769 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
5638 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc
', | 5770 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc
', |
5639 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 5771 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
5640 # browser_tests_sources and browser_tests_source_win_specific are | 5772 # browser_tests_sources and browser_tests_source_win_specific are |
5641 # defined in 'variables' at the top of the file. | 5773 # defined in 'variables' at the top of the file. |
(...skipping 14 matching lines...) Expand all Loading... |
5656 'type': 'executable', | 5788 'type': 'executable', |
5657 'msvs_guid': '9B87804D-2502-480B-95AE-5A572CE91809', | 5789 'msvs_guid': '9B87804D-2502-480B-95AE-5A572CE91809', |
5658 'dependencies': [ | 5790 'dependencies': [ |
5659 'browser_tests_dll', | 5791 'browser_tests_dll', |
5660 '../base/base.gyp:base', | 5792 '../base/base.gyp:base', |
5661 ], | 5793 ], |
5662 'include_dirs': [ | 5794 'include_dirs': [ |
5663 '..', | 5795 '..', |
5664 ], | 5796 ], |
5665 'sources': [ | 5797 'sources': [ |
5666 'test/browser/browser_test_launcher_in_proc.cc', | 5798 'test/test_launcher/in_proc_test_runner.cc', |
5667 'test/browser/browser_test_runner.cc', | 5799 'test/test_launcher/test_runner.cc', |
5668 'test/browser/browser_test_runner.h', | 5800 'test/test_launcher/test_runner.h', |
5669 ], | 5801 ], |
5670 'msvs_settings': { | 5802 'msvs_settings': { |
5671 'VCLinkerTool': { | 5803 'VCLinkerTool': { |
5672 # Use a PDB name different than the one for the DLL. | 5804 # Use a PDB name different than the one for the DLL. |
5673 'ProgramDatabaseFile': '$(OutDir)\\browser_tests_exe.pdb', | 5805 'ProgramDatabaseFile': '$(OutDir)\\browser_tests_exe.pdb', |
5674 }, | 5806 }, |
5675 }, | 5807 }, |
5676 }, | 5808 }, |
5677 { | 5809 { |
| 5810 # Executable that runs the tests in-process (tests are bundled in a DL
L). |
| 5811 'target_name': 'test_launcher', |
| 5812 'type': 'executable', |
| 5813 'msvs_guid': 'FA94F5AA-BC73-4926-A189-71FAA986C905', |
| 5814 'dependencies': [ |
| 5815 '../base/base.gyp:base', |
| 5816 ], |
| 5817 'include_dirs': [ |
| 5818 '..', |
| 5819 ], |
| 5820 'sources': [ |
| 5821 'test/test_launcher/in_proc_test_runner.cc', |
| 5822 'test/test_launcher/test_runner.cc', |
| 5823 'test/test_launcher/test_runner.h', |
| 5824 ], |
| 5825 }, |
| 5826 { |
5678 'target_name': 'crash_service', | 5827 'target_name': 'crash_service', |
5679 'type': 'executable', | 5828 'type': 'executable', |
5680 'msvs_guid': '89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC', | 5829 'msvs_guid': '89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC', |
5681 'dependencies': [ | 5830 'dependencies': [ |
5682 'common', | 5831 'common', |
5683 '../base/base.gyp:base', | 5832 '../base/base.gyp:base', |
5684 '../breakpad/breakpad.gyp:breakpad_handler', | 5833 '../breakpad/breakpad.gyp:breakpad_handler', |
5685 '../breakpad/breakpad.gyp:breakpad_sender', | 5834 '../breakpad/breakpad.gyp:breakpad_sender', |
5686 ], | 5835 ], |
5687 'include_dirs': [ | 5836 'include_dirs': [ |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5921 # Use outputs of this action as inputs for the main target build. | 6070 # Use outputs of this action as inputs for the main target build. |
5922 # Seems as a misnomer but makes this happy on Linux (scons). | 6071 # Seems as a misnomer but makes this happy on Linux (scons). |
5923 'process_outputs_as_sources': 1, | 6072 'process_outputs_as_sources': 1, |
5924 }, | 6073 }, |
5925 ], # 'actions' | 6074 ], # 'actions' |
5926 }, | 6075 }, |
5927 ] | 6076 ] |
5928 }], | 6077 }], |
5929 ], # 'conditions' | 6078 ], # 'conditions' |
5930 } | 6079 } |
OLD | NEW |