OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'includes': [ | 6 'includes': [ |
7 'mojo_variables.gypi', | 7 'mojo_variables.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'mojo_edk_tests', | 11 'target_name': 'mojo_edk_tests', |
12 'type': 'none', | 12 'type': 'none', |
13 'dependencies': [ | 13 'dependencies': [ |
14 # NOTE: If adding a new dependency here, please consider whether it | 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 | 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 | 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 | 17 # target on iOS due to the presence of the js targets, which cause v8 |
18 # to be built. | 18 # to be built. |
19 'mojo_message_pipe_perftests', | 19 'mojo_message_pipe_perftests', |
20 'mojo_public_bindings_perftests', | 20 'mojo_public_bindings_perftests', |
21 'mojo_public_bindings_unittests', | 21 'mojo_public_bindings_unittests', |
22 'mojo_public_environment_unittests', | |
23 'mojo_public_system_perftests', | 22 'mojo_public_system_perftests', |
24 'mojo_public_system_unittests', | 23 'mojo_public_system_unittests', |
25 'mojo_public_utility_unittests', | 24 'mojo_public_utility_unittests', |
26 'mojo_system_unittests', | 25 'mojo_system_unittests', |
27 'mojo_js_unittests', | 26 'mojo_js_unittests', |
28 'mojo_js_integration_tests', | 27 'mojo_js_integration_tests', |
29 ], | 28 ], |
30 }, | 29 }, |
31 { | 30 { |
32 # GN version: //mojo/edk/system/ports:mojo_system_ports_unittests | 31 # GN version: //mojo/edk/system/ports:mojo_system_ports_unittests |
33 'target_name': 'mojo_system_ports_unittests', | 32 'target_name': 'mojo_system_ports_unittests', |
34 'type': 'executable', | 33 'type': 'executable', |
35 'dependencies': [ | 34 'dependencies': [ |
36 '../testing/gtest.gyp:gtest', | 35 '../testing/gtest.gyp:gtest', |
37 '../testing/gtest.gyp:gtest_main', | 36 '../testing/gtest.gyp:gtest_main', |
38 'mojo_edk.gyp:mojo_system_impl', | 37 'mojo_edk.gyp:mojo_system_impl', |
39 ], | 38 ], |
40 'sources': [ | 39 'sources': [ |
41 'edk/system/ports/ports_unittest.cc', | 40 'edk/system/ports/ports_unittest.cc', |
42 ], | 41 ], |
43 }, | 42 }, |
44 { | 43 { |
45 # GN version: //mojo/edk/test:mojo_public_bindings_unittests | 44 # GN version: //mojo/edk/test:mojo_public_bindings_unittests |
46 'target_name': 'mojo_public_bindings_unittests', | 45 'target_name': 'mojo_public_bindings_unittests', |
47 'type': 'executable', | 46 'type': 'executable', |
48 'dependencies': [ | 47 'dependencies': [ |
49 '../testing/gtest.gyp:gtest', | 48 '../testing/gtest.gyp:gtest', |
50 'mojo_base.gyp:mojo_environment_chromium', | |
51 'mojo_edk.gyp:mojo_run_all_unittests', | 49 'mojo_edk.gyp:mojo_run_all_unittests', |
52 'mojo_public.gyp:mojo_cpp_bindings', | 50 'mojo_public.gyp:mojo_cpp_bindings', |
53 'mojo_public.gyp:mojo_message_pump_lib', | 51 'mojo_public.gyp:mojo_message_pump_lib', |
54 'mojo_public.gyp:mojo_public_bindings_test_utils', | 52 'mojo_public.gyp:mojo_public_bindings_test_utils', |
55 'mojo_public.gyp:mojo_public_test_associated_interfaces', | 53 'mojo_public.gyp:mojo_public_test_associated_interfaces', |
56 'mojo_public.gyp:mojo_public_test_interfaces', | 54 'mojo_public.gyp:mojo_public_test_interfaces', |
57 'mojo_public.gyp:mojo_public_test_interfaces_blink', | 55 'mojo_public.gyp:mojo_public_test_interfaces_blink', |
58 'mojo_public.gyp:mojo_public_test_interfaces_chromium', | 56 'mojo_public.gyp:mojo_public_test_interfaces_chromium', |
59 'mojo_public.gyp:mojo_public_test_interfaces_struct_traits', | 57 'mojo_public.gyp:mojo_public_test_interfaces_struct_traits', |
60 'mojo_public.gyp:mojo_public_test_utils', | 58 'mojo_public.gyp:mojo_public_test_utils', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 { | 104 { |
107 # GN version: //mojo/edk/test:mojo_public_bindings_perftests | 105 # GN version: //mojo/edk/test:mojo_public_bindings_perftests |
108 'target_name': 'mojo_public_bindings_perftests', | 106 'target_name': 'mojo_public_bindings_perftests', |
109 'type': 'executable', | 107 'type': 'executable', |
110 'dependencies': [ | 108 'dependencies': [ |
111 '../base/base.gyp:test_support_base', | 109 '../base/base.gyp:test_support_base', |
112 '../testing/gtest.gyp:gtest', | 110 '../testing/gtest.gyp:gtest', |
113 'mojo_base.gyp:mojo_common_lib', | 111 'mojo_base.gyp:mojo_common_lib', |
114 'mojo_edk.gyp:mojo_run_all_perftests', | 112 'mojo_edk.gyp:mojo_run_all_perftests', |
115 'mojo_public.gyp:mojo_cpp_bindings', | 113 'mojo_public.gyp:mojo_cpp_bindings', |
116 'mojo_public.gyp:mojo_environment_standalone', | |
117 'mojo_public.gyp:mojo_message_pump_lib', | 114 'mojo_public.gyp:mojo_message_pump_lib', |
118 'mojo_public.gyp:mojo_public_bindings_test_utils', | 115 'mojo_public.gyp:mojo_public_bindings_test_utils', |
119 'mojo_public.gyp:mojo_public_test_interfaces', | 116 'mojo_public.gyp:mojo_public_test_interfaces', |
120 'mojo_public.gyp:mojo_public_test_utils', | 117 'mojo_public.gyp:mojo_public_test_utils', |
121 'mojo_public.gyp:mojo_utility', | 118 'mojo_public.gyp:mojo_utility', |
122 ], | 119 ], |
123 'sources': [ | 120 'sources': [ |
124 'public/cpp/bindings/tests/bindings_perftest.cc', | 121 'public/cpp/bindings/tests/bindings_perftest.cc', |
125 'public/cpp/bindings/tests/e2e_perftest.cc', | 122 'public/cpp/bindings/tests/e2e_perftest.cc', |
126 ], | 123 ], |
127 }, | 124 }, |
128 { | 125 { |
129 # GN version: //mojo/edk/test:mojo_public_environment_unittests | |
130 'target_name': 'mojo_public_environment_unittests', | |
131 'type': 'executable', | |
132 'dependencies': [ | |
133 '../testing/gtest.gyp:gtest', | |
134 'mojo_edk.gyp:mojo_run_all_unittests', | |
135 'mojo_public.gyp:mojo_cpp_bindings', | |
136 'mojo_public.gyp:mojo_environment_standalone', | |
137 'mojo_public.gyp:mojo_public_test_utils', | |
138 'mojo_public.gyp:mojo_utility', | |
139 ], | |
140 'sources': [ | |
141 'public/cpp/environment/tests/async_wait_unittest.cc', | |
142 'public/cpp/environment/tests/async_waiter_unittest.cc', | |
143 'public/cpp/environment/tests/logger_unittest.cc', | |
144 'public/cpp/environment/tests/logging_unittest.cc', | |
145 ], | |
146 }, | |
147 { | |
148 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests | 126 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests |
149 # and //mojo/public/c/system/tests | 127 # and //mojo/public/c/system/tests |
150 'target_name': 'mojo_public_system_unittests', | 128 'target_name': 'mojo_public_system_unittests', |
151 'type': 'executable', | 129 'type': 'executable', |
152 'dependencies': [ | 130 'dependencies': [ |
153 '../testing/gtest.gyp:gtest', | 131 '../testing/gtest.gyp:gtest', |
154 'mojo_edk.gyp:mojo_run_all_unittests', | 132 'mojo_edk.gyp:mojo_run_all_unittests', |
155 'mojo_public.gyp:mojo_cpp_system', | 133 'mojo_public.gyp:mojo_cpp_system', |
156 'mojo_public.gyp:mojo_public_test_utils', | 134 'mojo_public.gyp:mojo_public_test_utils', |
157 ], | 135 ], |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 # TODO(yzshen): fix the following two targets. | 240 # TODO(yzshen): fix the following two targets. |
263 { | 241 { |
264 # GN version: //mojo/edk/js/test:js_unittests | 242 # GN version: //mojo/edk/js/test:js_unittests |
265 'target_name': 'mojo_js_unittests', | 243 'target_name': 'mojo_js_unittests', |
266 'type': 'executable', | 244 'type': 'executable', |
267 'dependencies': [ | 245 'dependencies': [ |
268 '../gin/gin.gyp:gin_test', | 246 '../gin/gin.gyp:gin_test', |
269 'mojo_edk.gyp:mojo_common_test_support', | 247 'mojo_edk.gyp:mojo_common_test_support', |
270 'mojo_edk.gyp:mojo_run_all_unittests', | 248 'mojo_edk.gyp:mojo_run_all_unittests', |
271 'mojo_edk.gyp:mojo_js_lib', | 249 'mojo_edk.gyp:mojo_js_lib', |
272 'mojo_public.gyp:mojo_environment_standalone', | |
273 'mojo_public.gyp:mojo_public_test_interfaces', | 250 'mojo_public.gyp:mojo_public_test_interfaces', |
274 'mojo_public.gyp:mojo_utility', | 251 'mojo_public.gyp:mojo_utility', |
275 ], | 252 ], |
276 'sources': [ | 253 'sources': [ |
277 'edk/js/handle_unittest.cc', | 254 'edk/js/handle_unittest.cc', |
278 'edk/js/test/run_js_tests.cc', | 255 'edk/js/test/run_js_tests.cc', |
279 ], | 256 ], |
280 }, | 257 }, |
281 { | 258 { |
282 # GN version: //mojo/edk/js/test:js_integration_tests | 259 # GN version: //mojo/edk/js/test:js_integration_tests |
283 'target_name': 'mojo_js_integration_tests', | 260 'target_name': 'mojo_js_integration_tests', |
284 'type': 'executable', | 261 'type': 'executable', |
285 'dependencies': [ | 262 'dependencies': [ |
286 '../base/base.gyp:base', | 263 '../base/base.gyp:base', |
287 '../gin/gin.gyp:gin_test', | 264 '../gin/gin.gyp:gin_test', |
288 'mojo_base.gyp:mojo_common_lib', | 265 'mojo_base.gyp:mojo_common_lib', |
289 'mojo_edk.gyp:mojo_js_lib', | 266 'mojo_edk.gyp:mojo_js_lib', |
290 'mojo_edk.gyp:mojo_run_all_unittests', | 267 'mojo_edk.gyp:mojo_run_all_unittests', |
291 'mojo_js_to_cpp_bindings', | 268 'mojo_js_to_cpp_bindings', |
292 'mojo_public.gyp:mojo_environment_standalone', | |
293 'mojo_public.gyp:mojo_public_test_interfaces', | 269 'mojo_public.gyp:mojo_public_test_interfaces', |
294 'mojo_public.gyp:mojo_utility', | 270 'mojo_public.gyp:mojo_utility', |
295 ], | 271 ], |
296 'sources': [ | 272 'sources': [ |
297 'edk/js/test/run_js_integration_tests.cc', | 273 'edk/js/test/run_js_integration_tests.cc', |
298 'edk/js/tests/js_to_cpp_tests.cc', | 274 'edk/js/tests/js_to_cpp_tests.cc', |
299 ], | 275 ], |
300 }, | 276 }, |
301 { | 277 { |
302 'target_name': 'mojo_js_to_cpp_bindings', | 278 'target_name': 'mojo_js_to_cpp_bindings', |
(...skipping 16 matching lines...) Expand all Loading... |
319 'mojo_public_bindings_unittests', | 295 'mojo_public_bindings_unittests', |
320 ], | 296 ], |
321 'includes': [ | 297 'includes': [ |
322 '../build/isolate.gypi', | 298 '../build/isolate.gypi', |
323 ], | 299 ], |
324 'sources': [ | 300 'sources': [ |
325 'mojo_public_bindings_unittests.isolate', | 301 'mojo_public_bindings_unittests.isolate', |
326 ], | 302 ], |
327 }, | 303 }, |
328 { | 304 { |
329 'target_name': 'mojo_public_environment_unittests_run', | |
330 'type': 'none', | |
331 'dependencies': [ | |
332 'mojo_public_environment_unittests', | |
333 ], | |
334 'includes': [ | |
335 '../build/isolate.gypi', | |
336 ], | |
337 'sources': [ | |
338 'mojo_public_environment_unittests.isolate', | |
339 ], | |
340 }, | |
341 { | |
342 'target_name': 'mojo_public_system_unittests_run', | 305 'target_name': 'mojo_public_system_unittests_run', |
343 'type': 'none', | 306 'type': 'none', |
344 'dependencies': [ | 307 'dependencies': [ |
345 'mojo_public_system_unittests', | 308 'mojo_public_system_unittests', |
346 ], | 309 ], |
347 'includes': [ | 310 'includes': [ |
348 '../build/isolate.gypi', | 311 '../build/isolate.gypi', |
349 ], | 312 ], |
350 'sources': [ | 313 'sources': [ |
351 'mojo_public_system_unittests.isolate', | 314 'mojo_public_system_unittests.isolate', |
352 ], | 315 ], |
353 }, | 316 }, |
354 { | 317 { |
355 'target_name': 'mojo_public_utility_unittests_run', | 318 'target_name': 'mojo_public_utility_unittests_run', |
356 'type': 'none', | 319 'type': 'none', |
357 'dependencies': [ | 320 'dependencies': [ |
358 'mojo_public_utility_unittests', | 321 'mojo_public_utility_unittests', |
359 ], | 322 ], |
360 'includes': [ | 323 'includes': [ |
361 '../build/isolate.gypi', | 324 '../build/isolate.gypi', |
362 ], | 325 ], |
363 'sources': [ | 326 'sources': [ |
364 'mojo_public_utility_unittests.isolate', | 327 'mojo_public_utility_unittests.isolate', |
365 ], | 328 ], |
366 }, | 329 }, |
367 ], | 330 ], |
368 }], | 331 }], |
369 ], | 332 ], |
370 } | 333 } |
OLD | NEW |