OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("../mojo_edk.gni") | 5 import("../mojo_edk.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 26 matching lines...) Expand all Loading... |
37 "channel_info.h", | 37 "channel_info.h", |
38 "channel_manager.cc", | 38 "channel_manager.cc", |
39 "channel_manager.h", | 39 "channel_manager.h", |
40 "configuration.cc", | 40 "configuration.cc", |
41 "configuration.h", | 41 "configuration.h", |
42 "connection_manager.h", | 42 "connection_manager.h", |
43 "core.cc", | 43 "core.cc", |
44 "core.h", | 44 "core.h", |
45 "data_pipe.cc", | 45 "data_pipe.cc", |
46 "data_pipe.h", | 46 "data_pipe.h", |
| 47 "data_pipe_impl.cc", |
47 "data_pipe_impl.h", | 48 "data_pipe_impl.h", |
48 "data_pipe_consumer_dispatcher.cc", | 49 "data_pipe_consumer_dispatcher.cc", |
49 "data_pipe_consumer_dispatcher.h", | 50 "data_pipe_consumer_dispatcher.h", |
50 "data_pipe_producer_dispatcher.cc", | 51 "data_pipe_producer_dispatcher.cc", |
51 "data_pipe_producer_dispatcher.h", | 52 "data_pipe_producer_dispatcher.h", |
52 "dispatcher.cc", | 53 "dispatcher.cc", |
53 "dispatcher.h", | 54 "dispatcher.h", |
54 "endpoint_relayer.cc", | 55 "endpoint_relayer.cc", |
55 "endpoint_relayer.h", | 56 "endpoint_relayer.h", |
56 "handle_signals_state.h", | 57 "handle_signals_state.h", |
(...skipping 23 matching lines...) Expand all Loading... |
80 "message_pipe_endpoint.h", | 81 "message_pipe_endpoint.h", |
81 "options_validation.h", | 82 "options_validation.h", |
82 "platform_handle_dispatcher.cc", | 83 "platform_handle_dispatcher.cc", |
83 "platform_handle_dispatcher.h", | 84 "platform_handle_dispatcher.h", |
84 "proxy_message_pipe_endpoint.cc", | 85 "proxy_message_pipe_endpoint.cc", |
85 "proxy_message_pipe_endpoint.h", | 86 "proxy_message_pipe_endpoint.h", |
86 "raw_channel.cc", | 87 "raw_channel.cc", |
87 "raw_channel.h", | 88 "raw_channel.h", |
88 "raw_channel_posix.cc", | 89 "raw_channel_posix.cc", |
89 "raw_channel_win.cc", | 90 "raw_channel_win.cc", |
| 91 "remote_consumer_data_pipe_impl.cc", |
| 92 "remote_consumer_data_pipe_impl.h", |
| 93 "remote_data_pipe_ack.h", |
| 94 "remote_producer_data_pipe_impl.cc", |
| 95 "remote_producer_data_pipe_impl.h", |
90 "shared_buffer_dispatcher.cc", | 96 "shared_buffer_dispatcher.cc", |
91 "shared_buffer_dispatcher.h", | 97 "shared_buffer_dispatcher.h", |
92 "simple_dispatcher.cc", | 98 "simple_dispatcher.cc", |
93 "simple_dispatcher.h", | 99 "simple_dispatcher.h", |
94 "slave_connection_manager.cc", | 100 "slave_connection_manager.cc", |
95 "slave_connection_manager.h", | 101 "slave_connection_manager.h", |
96 "transport_data.cc", | 102 "transport_data.cc", |
97 "transport_data.h", | 103 "transport_data.h", |
98 "unique_identifier.cc", | 104 "unique_identifier.cc", |
99 "unique_identifier.h", | 105 "unique_identifier.h", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 testonly = true | 141 testonly = true |
136 | 142 |
137 sources = [ | 143 sources = [ |
138 "test_utils.cc", | 144 "test_utils.cc", |
139 "test_utils.h", | 145 "test_utils.h", |
140 ] | 146 ] |
141 | 147 |
142 deps = [ | 148 deps = [ |
143 "//base", | 149 "//base", |
144 "//base/test:test_support", | 150 "//base/test:test_support", |
| 151 "../../public/c/system", |
145 ] | 152 ] |
146 } | 153 } |
147 | 154 |
148 test("mojo_system_unittests") { | 155 test("mojo_system_unittests") { |
149 sources = [ | 156 sources = [ |
150 "../test/multiprocess_test_helper_unittest.cc", | 157 "../test/multiprocess_test_helper_unittest.cc", |
151 "awakable_list_unittest.cc", | 158 "awakable_list_unittest.cc", |
152 "channel_endpoint_id_unittest.cc", | 159 "channel_endpoint_id_unittest.cc", |
153 "channel_manager_unittest.cc", | 160 "channel_manager_unittest.cc", |
154 "channel_unittest.cc", | 161 "channel_unittest.cc", |
155 "connection_manager_unittest.cc", | 162 "connection_manager_unittest.cc", |
156 "core_test_base.cc", | 163 "core_test_base.cc", |
157 "core_test_base.h", | 164 "core_test_base.h", |
158 "core_unittest.cc", | 165 "core_unittest.cc", |
| 166 "data_pipe_impl_unittest.cc", |
159 "data_pipe_unittest.cc", | 167 "data_pipe_unittest.cc", |
160 "dispatcher_unittest.cc", | 168 "dispatcher_unittest.cc", |
161 "local_data_pipe_impl_unittest.cc", | 169 "local_data_pipe_impl_unittest.cc", |
162 "memory_unittest.cc", | 170 "memory_unittest.cc", |
163 "message_pipe_dispatcher_unittest.cc", | 171 "message_pipe_dispatcher_unittest.cc", |
164 "message_pipe_test_utils.cc", | 172 "message_pipe_test_utils.cc", |
165 "message_pipe_test_utils.h", | 173 "message_pipe_test_utils.h", |
166 "message_pipe_unittest.cc", | 174 "message_pipe_unittest.cc", |
167 "multiprocess_message_pipe_unittest.cc", | 175 "multiprocess_message_pipe_unittest.cc", |
168 "options_validation_unittest.cc", | 176 "options_validation_unittest.cc", |
169 "platform_handle_dispatcher_unittest.cc", | 177 "platform_handle_dispatcher_unittest.cc", |
170 "raw_channel_unittest.cc", | 178 "raw_channel_unittest.cc", |
| 179 "remote_data_pipe_impl_unittest.cc", |
171 "remote_message_pipe_unittest.cc", | 180 "remote_message_pipe_unittest.cc", |
172 "run_all_unittests.cc", | 181 "run_all_unittests.cc", |
173 "shared_buffer_dispatcher_unittest.cc", | 182 "shared_buffer_dispatcher_unittest.cc", |
174 "simple_dispatcher_unittest.cc", | 183 "simple_dispatcher_unittest.cc", |
175 "unique_identifier_unittest.cc", | 184 "unique_identifier_unittest.cc", |
176 "waiter_test_utils.cc", | 185 "waiter_test_utils.cc", |
177 "waiter_test_utils.h", | 186 "waiter_test_utils.h", |
178 "waiter_unittest.cc", | 187 "waiter_unittest.cc", |
179 ] | 188 ] |
180 | 189 |
181 deps = [ | 190 deps = [ |
182 ":system", | 191 ":system", |
183 ":test_utils", | 192 ":test_utils", |
184 "../embedder:embedder_unittests", | 193 "../embedder:embedder_unittests", |
185 "../test:test_support", | 194 "../test:test_support", |
186 "//base", | 195 "//base", |
187 "//base/test:test_support", | 196 "//base/test:test_support", |
188 "//testing/gtest", | 197 "//testing/gtest", |
189 ] | 198 ] |
190 | 199 |
191 allow_circular_includes_from = [ "../embedder:embedder_unittests" ] | 200 allow_circular_includes_from = [ "../embedder:embedder_unittests" ] |
192 } | 201 } |
193 | 202 |
194 test("mojo_message_pipe_perftests") { | 203 test("mojo_message_pipe_perftests") { |
195 sources = [ | 204 sources = [ |
196 "message_pipe_perftest.cc", | 205 "message_pipe_perftest.cc", |
| 206 "message_pipe_test_utils.h", |
197 "message_pipe_test_utils.cc", | 207 "message_pipe_test_utils.cc", |
198 "message_pipe_test_utils.h", | |
199 ] | 208 ] |
200 | 209 |
201 deps = [ | 210 deps = [ |
202 ":system", | 211 ":system", |
203 ":test_utils", | 212 ":test_utils", |
204 "../test:test_support", | 213 "../test:test_support", |
205 "//base", | 214 "//base", |
206 "//base/test:test_support", | 215 "//base/test:test_support", |
207 "//base/test:test_support_perf", | 216 "//base/test:test_support_perf", |
208 "//testing/gtest", | 217 "//testing/gtest", |
209 ] | 218 ] |
210 } | 219 } |
OLD | NEW |