OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'ipc.gypi', | 10 'ipc.gypi', |
(...skipping 19 matching lines...) Expand all Loading... |
30 }, | 30 }, |
31 }, | 31 }, |
32 { | 32 { |
33 'target_name': 'ipc_tests', | 33 'target_name': 'ipc_tests', |
34 'type': '<(gtest_target_type)', | 34 'type': '<(gtest_target_type)', |
35 'dependencies': [ | 35 'dependencies': [ |
36 'ipc', | 36 'ipc', |
37 'test_support_ipc', | 37 'test_support_ipc', |
38 '../base/base.gyp:base', | 38 '../base/base.gyp:base', |
39 '../base/base.gyp:base_i18n', | 39 '../base/base.gyp:base_i18n', |
| 40 '../base/base.gyp:run_all_unittests', |
40 '../base/base.gyp:test_support_base', | 41 '../base/base.gyp:test_support_base', |
41 '../testing/gtest.gyp:gtest', | 42 '../testing/gtest.gyp:gtest', |
42 ], | 43 ], |
43 'include_dirs': [ | 44 'include_dirs': [ |
44 '..' | 45 '..' |
45 ], | 46 ], |
46 'sources': [ | 47 'sources': [ |
47 'file_descriptor_set_posix_unittest.cc', | 48 'file_descriptor_set_posix_unittest.cc', |
48 'ipc_channel_posix_unittest.cc', | 49 'ipc_channel_posix_unittest.cc', |
| 50 'ipc_channel_unittest.cc', |
49 'ipc_fuzzing_tests.cc', | 51 'ipc_fuzzing_tests.cc', |
50 'ipc_message_unittest.cc', | 52 'ipc_message_unittest.cc', |
51 'ipc_message_utils_unittest.cc', | 53 'ipc_message_utils_unittest.cc', |
52 'ipc_send_fds_test.cc', | 54 'ipc_send_fds_test.cc', |
53 'ipc_sync_channel_unittest.cc', | 55 'ipc_sync_channel_unittest.cc', |
54 'ipc_sync_message_unittest.cc', | 56 'ipc_sync_message_unittest.cc', |
55 'ipc_sync_message_unittest.h', | 57 'ipc_sync_message_unittest.h', |
56 'ipc_tests.cc', | 58 'ipc_test_base.cc', |
57 'ipc_tests.h', | 59 'ipc_test_base.h', |
58 'sync_socket_unittest.cc', | 60 'sync_socket_unittest.cc', |
59 ], | 61 ], |
60 'conditions': [ | 62 'conditions': [ |
61 ['toolkit_uses_gtk == 1', { | 63 ['toolkit_uses_gtk == 1', { |
62 'dependencies': [ | 64 'dependencies': [ |
63 '../build/linux/system.gyp:gtk', | 65 '../build/linux/system.gyp:gtk', |
64 ], | 66 ], |
65 }], | 67 }], |
66 ['OS == "android" and gtest_target_type == "shared_library"', { | 68 ['OS == "android" and gtest_target_type == "shared_library"', { |
67 'dependencies': [ | 69 'dependencies': [ |
68 '../testing/android/native_test.gyp:native_test_native_code', | 70 '../testing/android/native_test.gyp:native_test_native_code', |
69 ], | 71 ], |
70 }], | 72 }], |
71 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 73 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
72 'conditions': [ | 74 'conditions': [ |
73 ['linux_use_tcmalloc==1', { | 75 ['linux_use_tcmalloc==1', { |
74 'dependencies': [ | 76 'dependencies': [ |
75 '../base/allocator/allocator.gyp:allocator', | 77 '../base/allocator/allocator.gyp:allocator', |
76 ], | 78 ], |
77 }], | 79 }], |
78 ], | 80 ], |
79 }] | 81 }] |
80 ], | 82 ], |
81 }, | 83 }, |
82 { | 84 { |
| 85 'target_name': 'ipc_perftests', |
| 86 'type': '<(gtest_target_type)', |
| 87 # TODO(viettrungluu): Figure out which dependencies are really needed. |
| 88 'dependencies': [ |
| 89 'ipc', |
| 90 'test_support_ipc', |
| 91 '../base/base.gyp:base', |
| 92 '../base/base.gyp:base_i18n', |
| 93 '../base/base.gyp:test_support_base', |
| 94 '../base/base.gyp:test_support_perf', |
| 95 '../testing/gtest.gyp:gtest', |
| 96 ], |
| 97 'include_dirs': [ |
| 98 '..' |
| 99 ], |
| 100 'sources': [ |
| 101 'ipc_perftests.cc', |
| 102 'ipc_test_base.cc', |
| 103 'ipc_test_base.h', |
| 104 ], |
| 105 'conditions': [ |
| 106 ['toolkit_uses_gtk == 1', { |
| 107 'dependencies': [ |
| 108 '../build/linux/system.gyp:gtk', |
| 109 ], |
| 110 }], |
| 111 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 112 'dependencies': [ |
| 113 '../testing/android/native_test.gyp:native_test_native_code', |
| 114 ], |
| 115 }], |
| 116 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
| 117 'conditions': [ |
| 118 ['linux_use_tcmalloc==1', { |
| 119 'dependencies': [ |
| 120 '../base/allocator/allocator.gyp:allocator', |
| 121 ], |
| 122 }], |
| 123 ], |
| 124 }] |
| 125 ], |
| 126 }, |
| 127 { |
83 'target_name': 'test_support_ipc', | 128 'target_name': 'test_support_ipc', |
84 'type': 'static_library', | 129 'type': 'static_library', |
85 'dependencies': [ | 130 'dependencies': [ |
86 'ipc', | 131 'ipc', |
87 '../base/base.gyp:base', | 132 '../base/base.gyp:base', |
88 '../testing/gtest.gyp:gtest', | 133 '../testing/gtest.gyp:gtest', |
89 ], | 134 ], |
90 'sources': [ | 135 'sources': [ |
91 'ipc_multiprocess_test.cc', | 136 'ipc_multiprocess_test.cc', |
92 'ipc_multiprocess_test.h', | 137 'ipc_multiprocess_test.h', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 ], | 182 ], |
138 'variables': { | 183 'variables': { |
139 'test_suite_name': 'ipc_tests', | 184 'test_suite_name': 'ipc_tests', |
140 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ipc_tests
<(SHARED_LIB_SUFFIX)', | 185 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ipc_tests
<(SHARED_LIB_SUFFIX)', |
141 }, | 186 }, |
142 'includes': [ '../build/apk_test.gypi' ], | 187 'includes': [ '../build/apk_test.gypi' ], |
143 }], | 188 }], |
144 }], | 189 }], |
145 ], | 190 ], |
146 } | 191 } |
OLD | NEW |