Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: third_party/mojo/mojo_edk_tests.gyp

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/mojo/mojo_edk_system_impl.gypi ('k') | third_party/mojo/mojo_public.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 'mojo_variables.gypi',
8 ],
9 'targets': [
10 {
11 'target_name': 'mojo_edk_tests',
12 'type': 'none',
13 'dependencies': [
14 # NOTE: If adding a new dependency here, please consider whether it
15 # should also be added to the list of Mojo-related dependencies of
16 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base
17 # target on iOS due to the presence of the js targets, which cause v8
18 # to be built.
19 'mojo_message_pipe_perftests',
20 'mojo_public_bindings_perftests',
21 'mojo_public_bindings_unittests',
22 'mojo_public_environment_unittests',
23 'mojo_public_system_perftests',
24 'mojo_public_system_unittests',
25 'mojo_public_utility_unittests',
26 'mojo_system_unittests',
27 ],
28 },
29 # TODO(vtl): Reorganize the mojo_public_*_unittests.
30 {
31 # GN version: //mojo/edk/test:mojo_public_bindings_unittests
32 'target_name': 'mojo_public_bindings_unittests',
33 'type': 'executable',
34 'dependencies': [
35 '../../mojo/mojo_base.gyp:mojo_environment_chromium',
36 '../../mojo/mojo_base.gyp:mojo_message_pump_lib',
37 '../../testing/gtest.gyp:gtest',
38 'mojo_edk.gyp:mojo_run_all_unittests',
39 'mojo_public.gyp:mojo_cpp_bindings',
40 'mojo_public.gyp:mojo_public_bindings_test_utils',
41 'mojo_public.gyp:mojo_public_test_associated_interfaces',
42 'mojo_public.gyp:mojo_public_test_interfaces',
43 'mojo_public.gyp:mojo_public_test_interfaces_blink',
44 'mojo_public.gyp:mojo_public_test_interfaces_chromium',
45 'mojo_public.gyp:mojo_public_test_utils',
46 'mojo_public.gyp:mojo_utility',
47 ],
48 'sources': [
49 '../../mojo/public/cpp/bindings/tests/array_unittest.cc',
50 '../../mojo/public/cpp/bindings/tests/associated_interface_unittest.cc',
51 '../../mojo/public/cpp/bindings/tests/binding_callback_unittest.cc',
52 '../../mojo/public/cpp/bindings/tests/binding_unittest.cc',
53 '../../mojo/public/cpp/bindings/tests/bounds_checker_unittest.cc',
54 '../../mojo/public/cpp/bindings/tests/buffer_unittest.cc',
55 '../../mojo/public/cpp/bindings/tests/callback_unittest.cc',
56 '../../mojo/public/cpp/bindings/tests/connector_unittest.cc',
57 '../../mojo/public/cpp/bindings/tests/constant_unittest.cc',
58 '../../mojo/public/cpp/bindings/tests/container_test_util.cc',
59 '../../mojo/public/cpp/bindings/tests/equals_unittest.cc',
60 '../../mojo/public/cpp/bindings/tests/handle_passing_unittest.cc',
61 '../../mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc',
62 '../../mojo/public/cpp/bindings/tests/map_unittest.cc',
63 '../../mojo/public/cpp/bindings/tests/message_queue.cc',
64 '../../mojo/public/cpp/bindings/tests/message_queue.h',
65 '../../mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc',
66 '../../mojo/public/cpp/bindings/tests/pickle_unittest.cc',
67 '../../mojo/public/cpp/bindings/tests/pickled_struct_blink.cc',
68 '../../mojo/public/cpp/bindings/tests/pickled_struct_blink.h',
69 '../../mojo/public/cpp/bindings/tests/pickled_struct_chromium.cc',
70 '../../mojo/public/cpp/bindings/tests/pickled_struct_chromium.h',
71 '../../mojo/public/cpp/bindings/tests/rect_blink.h',
72 '../../mojo/public/cpp/bindings/tests/rect_chromium.h',
73 '../../mojo/public/cpp/bindings/tests/request_response_unittest.cc',
74 '../../mojo/public/cpp/bindings/tests/router_test_util.cc',
75 '../../mojo/public/cpp/bindings/tests/router_test_util.h',
76 '../../mojo/public/cpp/bindings/tests/router_unittest.cc',
77 '../../mojo/public/cpp/bindings/tests/sample_service_unittest.cc',
78 '../../mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc' ,
79 '../../mojo/public/cpp/bindings/tests/string_unittest.cc',
80 '../../mojo/public/cpp/bindings/tests/struct_traits_unittest.cc',
81 '../../mojo/public/cpp/bindings/tests/struct_unittest.cc',
82 '../../mojo/public/cpp/bindings/tests/type_conversion_unittest.cc',
83 '../../mojo/public/cpp/bindings/tests/union_unittest.cc',
84 '../../mojo/public/cpp/bindings/tests/validation_unittest.cc',
85 ],
86 },
87 {
88 # GN version: //mojo/edk/test:mojo_public_bindings_perftests
89 'target_name': 'mojo_public_bindings_perftests',
90 'type': 'executable',
91 'dependencies': [
92 '../../mojo/mojo_base.gyp:mojo_common_lib',
93 '../../testing/gtest.gyp:gtest',
94 'mojo_edk.gyp:mojo_run_all_unittests',
95 'mojo_public.gyp:mojo_cpp_bindings',
96 'mojo_public.gyp:mojo_environment_standalone',
97 'mojo_public.gyp:mojo_public_bindings_test_utils',
98 'mojo_public.gyp:mojo_public_test_interfaces',
99 'mojo_public.gyp:mojo_public_test_utils',
100 'mojo_public.gyp:mojo_utility',
101 ],
102 'sources': [
103 '../../mojo/public/cpp/bindings/tests/bindings_perftest.cc',
104 ],
105 },
106 {
107 # GN version: //mojo/edk/test:mojo_public_environment_unittests
108 'target_name': 'mojo_public_environment_unittests',
109 'type': 'executable',
110 'dependencies': [
111 '../../testing/gtest.gyp:gtest',
112 'mojo_edk.gyp:mojo_run_all_unittests',
113 'mojo_public.gyp:mojo_cpp_bindings',
114 'mojo_public.gyp:mojo_environment_standalone',
115 'mojo_public.gyp:mojo_public_test_utils',
116 'mojo_public.gyp:mojo_utility',
117 ],
118 'include_dirs': [ '../..' ],
119 'sources': [
120 '../../mojo/public/cpp/environment/tests/async_wait_unittest.cc',
121 '../../mojo/public/cpp/environment/tests/async_waiter_unittest.cc',
122 '../../mojo/public/cpp/environment/tests/logger_unittest.cc',
123 '../../mojo/public/cpp/environment/tests/logging_unittest.cc',
124 ],
125 },
126 {
127 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests
128 # and //mojo/public/c/system/tests
129 'target_name': 'mojo_public_system_unittests',
130 'type': 'executable',
131 'dependencies': [
132 '../../testing/gtest.gyp:gtest',
133 'mojo_edk.gyp:mojo_run_all_unittests',
134 'mojo_public.gyp:mojo_public_test_utils',
135 ],
136 'include_dirs': [ '../..' ],
137 'sources': [
138 '<@(mojo_public_system_unittest_sources)',
139 ],
140 },
141 {
142 # GN version: //mojo/public/cpp/application/tests:mojo_public_utility_unit tests
143 'target_name': 'mojo_public_utility_unittests',
144 'type': 'executable',
145 'dependencies': [
146 '../../testing/gtest.gyp:gtest',
147 'mojo_edk.gyp:mojo_run_all_unittests',
148 'mojo_public.gyp:mojo_cpp_bindings',
149 'mojo_public.gyp:mojo_public_test_utils',
150 'mojo_public.gyp:mojo_utility',
151 ],
152 'include_dirs': [ '../..' ],
153 'sources': [
154 '../../mojo/public/cpp/utility/tests/mutex_unittest.cc',
155 '../../mojo/public/cpp/utility/tests/run_loop_unittest.cc',
156 '../../mojo/public/cpp/utility/tests/thread_unittest.cc',
157 ],
158 'conditions': [
159 # See crbug.com/342893:
160 ['OS=="win"', {
161 'sources!': [
162 '../../mojo/public/cpp/utility/tests/mutex_unittest.cc',
163 '../../mojo/public/cpp/utility/tests/thread_unittest.cc',
164 ],
165 }],
166 ],
167 },
168 {
169 # GN version: //mojo/edk/test:mojo_public_system_perftests
170 'target_name': 'mojo_public_system_perftests',
171 'type': 'executable',
172 'dependencies': [
173 '../../base/base.gyp:base',
174 '../../testing/gtest.gyp:gtest',
175 'mojo_edk.gyp:mojo_run_all_perftests',
176 'mojo_public.gyp:mojo_public_test_utils',
177 'mojo_public.gyp:mojo_utility',
178 ],
179 'sources': [
180 '../../mojo/public/c/system/tests/core_perftest.cc',
181 ],
182 },
183 {
184 # GN version: //mojo/edk/system:mojo_system_unittests
185 'target_name': 'mojo_system_unittests',
186 'type': 'executable',
187 'dependencies': [
188 '../../base/base.gyp:base',
189 '../../testing/gtest.gyp:gtest',
190 'mojo_edk.gyp:mojo_common_test_support',
191 'mojo_edk.gyp:mojo_system_impl',
192 ],
193 'sources': [
194 'src/mojo/edk/embedder/embedder_unittest.cc',
195 'src/mojo/edk/embedder/platform_channel_pair_posix_unittest.cc',
196 'src/mojo/edk/embedder/simple_platform_shared_buffer_unittest.cc',
197 'src/mojo/edk/system/awakable_list_unittest.cc',
198 'src/mojo/edk/system/channel_endpoint_id_unittest.cc',
199 'src/mojo/edk/system/channel_endpoint_unittest.cc',
200 'src/mojo/edk/system/channel_manager_unittest.cc',
201 'src/mojo/edk/system/channel_test_base.cc',
202 'src/mojo/edk/system/channel_test_base.h',
203 'src/mojo/edk/system/channel_unittest.cc',
204 'src/mojo/edk/system/core_test_base.cc',
205 'src/mojo/edk/system/core_test_base.h',
206 'src/mojo/edk/system/core_unittest.cc',
207 'src/mojo/edk/system/data_pipe_impl_unittest.cc',
208 'src/mojo/edk/system/data_pipe_unittest.cc',
209 'src/mojo/edk/system/dispatcher_unittest.cc',
210 'src/mojo/edk/system/endpoint_relayer_unittest.cc',
211 'src/mojo/edk/system/ipc_support_unittest.cc',
212 'src/mojo/edk/system/memory_unittest.cc',
213 'src/mojo/edk/system/message_in_transit_queue_unittest.cc',
214 'src/mojo/edk/system/message_in_transit_test_utils.cc',
215 'src/mojo/edk/system/message_in_transit_test_utils.h',
216 'src/mojo/edk/system/message_pipe_dispatcher_unittest.cc',
217 'src/mojo/edk/system/message_pipe_test_utils.cc',
218 'src/mojo/edk/system/message_pipe_test_utils.h',
219 'src/mojo/edk/system/message_pipe_unittest.cc',
220 'src/mojo/edk/system/multiprocess_message_pipe_unittest.cc',
221 'src/mojo/edk/system/mutex_unittest.cc',
222 'src/mojo/edk/system/options_validation_unittest.cc',
223 'src/mojo/edk/system/platform_handle_dispatcher_unittest.cc',
224 'src/mojo/edk/system/raw_channel_unittest.cc',
225 'src/mojo/edk/system/remote_data_pipe_impl_unittest.cc',
226 'src/mojo/edk/system/remote_message_pipe_unittest.cc',
227 'src/mojo/edk/system/run_all_unittests.cc',
228 'src/mojo/edk/system/shared_buffer_dispatcher_unittest.cc',
229 'src/mojo/edk/system/simple_dispatcher_unittest.cc',
230 'src/mojo/edk/system/test_channel_endpoint_client.cc',
231 'src/mojo/edk/system/test_channel_endpoint_client.h',
232 'src/mojo/edk/system/test_utils.cc',
233 'src/mojo/edk/system/test_utils.h',
234 'src/mojo/edk/system/thread_annotations_unittest.cc',
235 'src/mojo/edk/system/unique_identifier_unittest.cc',
236 'src/mojo/edk/system/wait_set_dispatcher_unittest.cc',
237 'src/mojo/edk/system/waiter_test_utils.cc',
238 'src/mojo/edk/system/waiter_test_utils.h',
239 'src/mojo/edk/system/waiter_unittest.cc',
240 'src/mojo/edk/test/multiprocess_test_helper_unittest.cc',
241 ],
242 'conditions': [
243 ['OS=="ios"', {
244 'sources!': [
245 'src/mojo/edk/embedder/embedder_unittest.cc',
246 'src/mojo/edk/system/ipc_support_unittest.cc',
247 'src/mojo/edk/system/multiprocess_message_pipe_unittest.cc',
248 'src/mojo/edk/test/multiprocess_test_helper_unittest.cc',
249 ],
250 }],
251 ],
252 },
253 {
254 # GN version: //mojo/edk/system:mojo_message_pipe_perftests
255 'target_name': 'mojo_message_pipe_perftests',
256 'type': 'executable',
257 'dependencies': [
258 '../../base/base.gyp:base',
259 '../../base/base.gyp:test_support_base',
260 '../../base/base.gyp:test_support_perf',
261 '../../testing/gtest.gyp:gtest',
262 'mojo_edk.gyp:mojo_common_test_support',
263 'mojo_edk.gyp:mojo_system_impl',
264 ],
265 'sources': [
266 'src/mojo/edk/system/message_pipe_perftest.cc',
267 'src/mojo/edk/system/message_pipe_test_utils.cc',
268 'src/mojo/edk/system/message_pipe_test_utils.h',
269 'src/mojo/edk/system/test_utils.cc',
270 'src/mojo/edk/system/test_utils.h',
271 ],
272 },
273 {
274 'target_name': 'mojo_js_to_cpp_bindings',
275 'type': 'none',
276 'variables': {
277 'mojom_files': [
278 'src/mojo/edk/js/tests/js_to_cpp.mojom',
279 ],
280 },
281 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
282 },
283 ],
284 'conditions': [
285 ['test_isolation_mode != "noop"', {
286 'targets': [
287 {
288 'target_name': 'mojo_public_bindings_unittests_run',
289 'type': 'none',
290 'dependencies': [
291 'mojo_public_bindings_unittests',
292 ],
293 'includes': [
294 '../../build/isolate.gypi',
295 ],
296 'sources': [
297 'mojo_public_bindings_unittests.isolate',
298 ],
299 },
300 {
301 'target_name': 'mojo_public_environment_unittests_run',
302 'type': 'none',
303 'dependencies': [
304 'mojo_public_environment_unittests',
305 ],
306 'includes': [
307 '../../build/isolate.gypi',
308 ],
309 'sources': [
310 'mojo_public_environment_unittests.isolate',
311 ],
312 },
313 {
314 'target_name': 'mojo_public_system_unittests_run',
315 'type': 'none',
316 'dependencies': [
317 'mojo_public_system_unittests',
318 ],
319 'includes': [
320 '../../build/isolate.gypi',
321 ],
322 'sources': [
323 'mojo_public_system_unittests.isolate',
324 ],
325 },
326 {
327 'target_name': 'mojo_public_utility_unittests_run',
328 'type': 'none',
329 'dependencies': [
330 'mojo_public_utility_unittests',
331 ],
332 'includes': [
333 '../../build/isolate.gypi',
334 ],
335 'sources': [
336 'mojo_public_utility_unittests.isolate',
337 ],
338 },
339 ],
340 }],
341 ],
342 }
OLDNEW
« no previous file with comments | « third_party/mojo/mojo_edk_system_impl.gypi ('k') | third_party/mojo/mojo_public.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698