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 'targets': [ | 5 'targets': [ |
6 { | 6 { |
7 # This target contains mocks and test utilities that don't belong in | 7 # This target contains mocks and test utilities that don't belong in |
8 # production libraries but are used by more than one test executable. | 8 # production libraries but are used by more than one test executable. |
9 'target_name': 'test_support_common', | 9 'target_name': 'test_support_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 2634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2645 { | 2645 { |
2646 'target_name': 'chrome_app_unittests', | 2646 'target_name': 'chrome_app_unittests', |
2647 'type': 'executable', | 2647 'type': 'executable', |
2648 'dependencies': [ | 2648 'dependencies': [ |
2649 # unit tests should only depend on | 2649 # unit tests should only depend on |
2650 # 1) everything that the chrome binaries depend on: | 2650 # 1) everything that the chrome binaries depend on: |
2651 '<@(chromium_browser_dependencies)', | 2651 '<@(chromium_browser_dependencies)', |
2652 '<@(chromium_child_dependencies)', | 2652 '<@(chromium_child_dependencies)', |
2653 '../content/content.gyp:content_app_both', | 2653 '../content/content.gyp:content_app_both', |
2654 # 2) test-specific support libraries: | 2654 # 2) test-specific support libraries: |
| 2655 '../base/base.gyp:run_all_unittests', |
2655 '../testing/gmock.gyp:gmock', | 2656 '../testing/gmock.gyp:gmock', |
2656 '../testing/gtest.gyp:gtest', | 2657 '../testing/gtest.gyp:gtest', |
2657 'test_support_common', | 2658 'test_support_common', |
2658 ], | 2659 ], |
2659 'include_dirs': [ | 2660 'include_dirs': [ |
2660 '..', | 2661 '..', |
2661 ], | 2662 ], |
2662 'sources': [ | 2663 'sources': [ |
2663 'app/breakpad_field_trial_win.cc', | 2664 'app/breakpad_field_trial_win.cc', |
2664 'app/breakpad_win.cc', | 2665 'app/breakpad_win.cc', |
2665 'app/breakpad_unittest_win.cc', | 2666 'app/breakpad_unittest_win.cc', |
2666 'app/delay_load_hook_win.cc', | 2667 'app/delay_load_hook_win.cc', |
2667 'app/delay_load_hook_win.h', | 2668 'app/delay_load_hook_win.h', |
2668 'app/delay_load_hook_unittest_win.cc', | 2669 'app/delay_load_hook_unittest_win.cc', |
2669 'app/hard_error_handler_win.cc', | 2670 'app/hard_error_handler_win.cc', |
2670 'app/run_all_unittests.cc', | |
2671 'common/crash_keys.cc', | 2671 'common/crash_keys.cc', |
2672 'common/crash_keys.h', | 2672 'common/crash_keys.h', |
2673 ], | 2673 ], |
2674 'conditions': [ | 2674 'conditions': [ |
2675 ['OS=="mac" or OS=="ios"', { | 2675 ['OS=="mac" or OS=="ios"', { |
2676 'include_dirs': [ | 2676 'include_dirs': [ |
2677 '<(DEPTH)/breakpad/src', | 2677 '<(DEPTH)/breakpad/src', |
2678 ], | 2678 ], |
2679 }], | 2679 }], |
2680 ['OS=="mac"', { | 2680 ['OS=="mac"', { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2753 # more details. | 2753 # more details. |
2754 'DebugInformationFormat': '3', | 2754 'DebugInformationFormat': '3', |
2755 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', | 2755 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', |
2756 }, | 2756 }, |
2757 }, | 2757 }, |
2758 }, | 2758 }, |
2759 ], | 2759 ], |
2760 }], | 2760 }], |
2761 ], # 'conditions' | 2761 ], # 'conditions' |
2762 } | 2762 } |
OLD | NEW |