| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'chrome_unit_tests_sources': [ | 6 'chrome_unit_tests_sources': [ |
| 7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this | 7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this |
| 8 # dependency is needed to make commit bots run unit_tests on | 8 # dependency is needed to make commit bots run unit_tests on |
| 9 # histograms.xml changes. | 9 # histograms.xml changes. |
| 10 '../tools/metrics/histograms/histograms.xml', | 10 '../tools/metrics/histograms/histograms.xml', |
| (...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1394 'browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc', | 1394 'browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc', |
| 1395 'browser/ui/views/tabs/tab_strip_unittest.cc', | 1395 'browser/ui/views/tabs/tab_strip_unittest.cc', |
| 1396 'browser/ui/views/tabs/tab_unittest.cc', | 1396 'browser/ui/views/tabs/tab_unittest.cc', |
| 1397 'browser/ui/views/toolbar/reload_button_unittest.cc', | 1397 'browser/ui/views/toolbar/reload_button_unittest.cc', |
| 1398 'browser/ui/views/toolbar/toolbar_action_view_unittest.cc', | 1398 'browser/ui/views/toolbar/toolbar_action_view_unittest.cc', |
| 1399 'browser/ui/views/translate/translate_bubble_view_unittest.cc', | 1399 'browser/ui/views/translate/translate_bubble_view_unittest.cc', |
| 1400 'browser/ui/views/validation_message_bubble_delegate_unittest.cc', | 1400 'browser/ui/views/validation_message_bubble_delegate_unittest.cc', |
| 1401 ], | 1401 ], |
| 1402 'chrome_unit_tests_win_sources': [ | 1402 'chrome_unit_tests_win_sources': [ |
| 1403 'app/chrome_dll.rc', | 1403 'app/chrome_dll.rc', |
| 1404 'app/chrome_watcher_client_unittest_win.cc', |
| 1405 'app/chrome_watcher_command_line_unittest_win.cc', |
| 1406 'app/delay_load_hook_unittest_win.cc', |
| 1407 'app/signature_validator_win_unittest.cc', |
| 1404 'browser/search_engines/template_url_scraper_unittest.cc', | 1408 'browser/search_engines/template_url_scraper_unittest.cc', |
| 1405 'test/data/resource.rc', | 1409 'test/data/resource.rc', |
| 1406 ], | 1410 ], |
| 1407 'chrome_unit_tests_mac_sources': [ | 1411 'chrome_unit_tests_mac_sources': [ |
| 1408 'browser/media_galleries/fileapi/iphoto_file_util_unittest.cc', | 1412 'browser/media_galleries/fileapi/iphoto_file_util_unittest.cc', |
| 1409 'utility/media_galleries/iphoto_library_parser_unittest.cc', | 1413 'utility/media_galleries/iphoto_library_parser_unittest.cc', |
| 1410 ], | 1414 ], |
| 1411 'chrome_unit_tests_win_mac_sources': [ | 1415 'chrome_unit_tests_win_mac_sources': [ |
| 1412 'browser/media_galleries/fileapi/itunes_file_util_unittest.cc', | 1416 'browser/media_galleries/fileapi/itunes_file_util_unittest.cc', |
| 1413 'browser/media_galleries/fileapi/picasa_file_util_unittest.cc', | 1417 'browser/media_galleries/fileapi/picasa_file_util_unittest.cc', |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2189 '../ui/gfx/gfx.gyp:gfx_test_support', | 2193 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 2190 '../ui/resources/ui_resources.gyp:ui_resources', | 2194 '../ui/resources/ui_resources.gyp:ui_resources', |
| 2191 'chrome_resources.gyp:chrome_resources', | 2195 'chrome_resources.gyp:chrome_resources', |
| 2192 'chrome_resources.gyp:chrome_strings', | 2196 'chrome_resources.gyp:chrome_strings', |
| 2193 ], | 2197 ], |
| 2194 'include_dirs': [ | 2198 'include_dirs': [ |
| 2195 '..', | 2199 '..', |
| 2196 ], | 2200 ], |
| 2197 'msvs_settings': { | 2201 'msvs_settings': { |
| 2198 'VCLinkerTool': { | 2202 'VCLinkerTool': { |
| 2203 'AdditionalDependencies': [ 'wintrust.lib' ], |
| 2199 'conditions': [ | 2204 'conditions': [ |
| 2200 ['incremental_chrome_dll==1', { | 2205 ['incremental_chrome_dll==1', { |
| 2201 'UseLibraryDependencyInputs': "true", | 2206 'UseLibraryDependencyInputs': "true", |
| 2202 }], | 2207 }], |
| 2203 ], | 2208 ], |
| 2204 }, | 2209 }, |
| 2205 }, | 2210 }, |
| 2206 'sources': [ | 2211 'sources': [ |
| 2207 '<@(chrome_unit_tests_sources)', | 2212 '<@(chrome_unit_tests_sources)', |
| 2208 '<@(chrome_unit_tests_js_sources)', | 2213 '<@(chrome_unit_tests_js_sources)', |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2578 }, | 2583 }, |
| 2579 }, | 2584 }, |
| 2580 }, | 2585 }, |
| 2581 }], | 2586 }], |
| 2582 ['OS=="win"', { | 2587 ['OS=="win"', { |
| 2583 'dependencies': [ | 2588 'dependencies': [ |
| 2584 'browser/safe_browsing/incident_reporting/verifier_test/verifier_uni
ttest.gyp:verifier_test_dll_1', | 2589 'browser/safe_browsing/incident_reporting/verifier_test/verifier_uni
ttest.gyp:verifier_test_dll_1', |
| 2585 'browser/safe_browsing/incident_reporting/verifier_test/verifier_uni
ttest.gyp:verifier_test_dll_2', | 2590 'browser/safe_browsing/incident_reporting/verifier_test/verifier_uni
ttest.gyp:verifier_test_dll_2', |
| 2586 'chrome_version_resources', | 2591 'chrome_version_resources', |
| 2587 'installer_util_strings', | 2592 'installer_util_strings', |
| 2593 '../breakpad/breakpad.gyp:*', |
| 2588 '../chrome_elf/chrome_elf.gyp:blacklist_test_dll_1', | 2594 '../chrome_elf/chrome_elf.gyp:blacklist_test_dll_1', |
| 2595 '../components/components.gyp:crash_component', |
| 2589 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | 2596 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', |
| 2590 '../third_party/isimpledom/isimpledom.gyp:isimpledom', | 2597 '../third_party/isimpledom/isimpledom.gyp:isimpledom', |
| 2591 ], | 2598 ], |
| 2592 'conditions': [ | 2599 'conditions': [ |
| 2593 ['win_use_allocator_shim==1', { | 2600 ['win_use_allocator_shim==1', { |
| 2594 'dependencies': [ | 2601 'dependencies': [ |
| 2595 '<(allocator_target)', | 2602 '<(allocator_target)', |
| 2596 ], | 2603 ], |
| 2597 }], | 2604 }], |
| 2598 ['branding!="Chrome"', { | 2605 ['branding!="Chrome"', { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2721 }], | 2728 }], |
| 2722 ['enable_plugin_installation==0', { | 2729 ['enable_plugin_installation==0', { |
| 2723 'sources!': [ | 2730 'sources!': [ |
| 2724 'browser/plugins/plugin_installer_unittest.cc', | 2731 'browser/plugins/plugin_installer_unittest.cc', |
| 2725 ], | 2732 ], |
| 2726 }], | 2733 }], |
| 2727 # Adding more conditions? Don't forget to update the GN build. | 2734 # Adding more conditions? Don't forget to update the GN build. |
| 2728 ], | 2735 ], |
| 2729 }, | 2736 }, |
| 2730 { | 2737 { |
| 2731 # GN: //chrome/test:chrome_app_unittests | |
| 2732 'target_name': 'chrome_app_unittests', | |
| 2733 'type': 'executable', | |
| 2734 'dependencies': [ | |
| 2735 # unit tests should only depend on | |
| 2736 # 1) everything that the chrome binaries depend on: | |
| 2737 '<@(chromium_browser_dependencies)', | |
| 2738 '<@(chromium_child_dependencies)', | |
| 2739 '../content/content.gyp:content_app_both', | |
| 2740 # 2) test-specific support libraries: | |
| 2741 '../base/base.gyp:run_all_unittests', | |
| 2742 '../testing/gmock.gyp:gmock', | |
| 2743 '../testing/gtest.gyp:gtest', | |
| 2744 'test_support_common', | |
| 2745 ], | |
| 2746 'include_dirs': [ | |
| 2747 '..', | |
| 2748 ], | |
| 2749 'sources': [ | |
| 2750 'app/chrome_watcher_client_unittest_win.cc', | |
| 2751 'app/chrome_watcher_client_win.cc', | |
| 2752 'app/chrome_watcher_command_line_unittest_win.cc', | |
| 2753 'app/chrome_watcher_command_line_win.cc', | |
| 2754 'app/delay_load_hook_unittest_win.cc', | |
| 2755 'app/delay_load_hook_win.cc', | |
| 2756 'app/delay_load_hook_win.h', | |
| 2757 'app/signature_validator_win.cc', | |
| 2758 'app/signature_validator_win.h', | |
| 2759 'app/signature_validator_win_unittest.cc', | |
| 2760 'common/crash_keys.cc', | |
| 2761 'common/crash_keys.h', | |
| 2762 ], | |
| 2763 'conditions': [ | |
| 2764 ['OS=="mac" or OS=="ios"', { | |
| 2765 'include_dirs': [ | |
| 2766 '<(DEPTH)/breakpad/src', | |
| 2767 ], | |
| 2768 }], | |
| 2769 ['OS=="mac"', { | |
| 2770 # TODO(mark): We really want this for all non-static library targets, | |
| 2771 # but when we tried to pull it up to the common.gypi level, it broke | |
| 2772 # other things like the ui and startup tests. *shrug* | |
| 2773 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | |
| 2774 }], | |
| 2775 ['OS=="win"', { | |
| 2776 'dependencies': [ | |
| 2777 # breakpad is currently only tested on Windows. | |
| 2778 '../breakpad/breakpad.gyp:*', | |
| 2779 '../components/components.gyp:crash_component', | |
| 2780 ], | |
| 2781 'conditions': [ | |
| 2782 ['win_use_allocator_shim==1', { | |
| 2783 'dependencies': [ | |
| 2784 '<(allocator_target)', | |
| 2785 ], | |
| 2786 }], | |
| 2787 ], | |
| 2788 'msvs_settings': { | |
| 2789 'VCLinkerTool': { | |
| 2790 'AdditionalDependencies': [ 'wintrust.lib' ], | |
| 2791 }, | |
| 2792 }, | |
| 2793 }], | |
| 2794 ], | |
| 2795 }, | |
| 2796 { | |
| 2797 # Protobuf compiler / generator for IPC protobuf message tests. | 2738 # Protobuf compiler / generator for IPC protobuf message tests. |
| 2798 | 2739 |
| 2799 # GN version: //chrome/test:test_proto | 2740 # GN version: //chrome/test:test_proto |
| 2800 'target_name': 'ipc_protobuf_message_test_proto', | 2741 'target_name': 'ipc_protobuf_message_test_proto', |
| 2801 'type': 'static_library', | 2742 'type': 'static_library', |
| 2802 'sources': [ | 2743 'sources': [ |
| 2803 'common/safe_browsing/ipc_protobuf_message_test.proto' | 2744 'common/safe_browsing/ipc_protobuf_message_test.proto' |
| 2804 ], | 2745 ], |
| 2805 'variables': { | 2746 'variables': { |
| 2806 'proto_in_dir': 'common/safe_browsing', | 2747 'proto_in_dir': 'common/safe_browsing', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2889 'dependencies': [ | 2830 'dependencies': [ |
| 2890 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2831 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 2891 ], | 2832 ], |
| 2892 }], | 2833 }], |
| 2893 ], | 2834 ], |
| 2894 }, | 2835 }, |
| 2895 ], | 2836 ], |
| 2896 }], | 2837 }], |
| 2897 ], # 'conditions' | 2838 ], # 'conditions' |
| 2898 } | 2839 } |
| OLD | NEW |