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