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_system_perftests', | 22 'mojo_public_system_perftests', |
23 'mojo_public_system_unittests', | 23 'mojo_public_system_unittests', |
24 'mojo_public_utility_unittests', | |
25 'mojo_system_unittests', | 24 'mojo_system_unittests', |
26 'mojo_js_unittests', | 25 'mojo_js_unittests', |
27 'mojo_js_integration_tests', | 26 'mojo_js_integration_tests', |
28 ], | 27 ], |
29 }, | 28 }, |
30 { | 29 { |
31 # GN version: //mojo/edk/system/ports:mojo_system_ports_unittests | 30 # GN version: //mojo/edk/system/ports:mojo_system_ports_unittests |
32 'target_name': 'mojo_system_ports_unittests', | 31 'target_name': 'mojo_system_ports_unittests', |
33 'type': 'executable', | 32 'type': 'executable', |
34 'dependencies': [ | 33 'dependencies': [ |
(...skipping 14 matching lines...) Expand all Loading... |
49 'mojo_edk.gyp:mojo_run_all_unittests', | 48 'mojo_edk.gyp:mojo_run_all_unittests', |
50 'mojo_public.gyp:mojo_cpp_bindings', | 49 'mojo_public.gyp:mojo_cpp_bindings', |
51 'mojo_public.gyp:mojo_message_pump_lib', | 50 'mojo_public.gyp:mojo_message_pump_lib', |
52 'mojo_public.gyp:mojo_public_bindings_test_utils', | 51 'mojo_public.gyp:mojo_public_bindings_test_utils', |
53 'mojo_public.gyp:mojo_public_test_associated_interfaces', | 52 'mojo_public.gyp:mojo_public_test_associated_interfaces', |
54 'mojo_public.gyp:mojo_public_test_interfaces', | 53 'mojo_public.gyp:mojo_public_test_interfaces', |
55 'mojo_public.gyp:mojo_public_test_interfaces_blink', | 54 'mojo_public.gyp:mojo_public_test_interfaces_blink', |
56 'mojo_public.gyp:mojo_public_test_interfaces_chromium', | 55 'mojo_public.gyp:mojo_public_test_interfaces_chromium', |
57 'mojo_public.gyp:mojo_public_test_interfaces_struct_traits', | 56 'mojo_public.gyp:mojo_public_test_interfaces_struct_traits', |
58 'mojo_public.gyp:mojo_public_test_utils', | 57 'mojo_public.gyp:mojo_public_test_utils', |
59 'mojo_public.gyp:mojo_utility', | |
60 ], | 58 ], |
61 'sources': [ | 59 'sources': [ |
62 'public/cpp/bindings/tests/array_unittest.cc', | 60 'public/cpp/bindings/tests/array_unittest.cc', |
63 'public/cpp/bindings/tests/associated_interface_unittest.cc', | 61 'public/cpp/bindings/tests/associated_interface_unittest.cc', |
64 'public/cpp/bindings/tests/binding_callback_unittest.cc', | 62 'public/cpp/bindings/tests/binding_callback_unittest.cc', |
65 'public/cpp/bindings/tests/binding_unittest.cc', | 63 'public/cpp/bindings/tests/binding_unittest.cc', |
66 'public/cpp/bindings/tests/bounds_checker_unittest.cc', | 64 'public/cpp/bindings/tests/bounds_checker_unittest.cc', |
67 'public/cpp/bindings/tests/buffer_unittest.cc', | 65 'public/cpp/bindings/tests/buffer_unittest.cc', |
68 'public/cpp/bindings/tests/callback_unittest.cc', | 66 'public/cpp/bindings/tests/callback_unittest.cc', |
69 'public/cpp/bindings/tests/connector_unittest.cc', | 67 'public/cpp/bindings/tests/connector_unittest.cc', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 'dependencies': [ | 106 'dependencies': [ |
109 '../base/base.gyp:test_support_base', | 107 '../base/base.gyp:test_support_base', |
110 '../testing/gtest.gyp:gtest', | 108 '../testing/gtest.gyp:gtest', |
111 'mojo_base.gyp:mojo_common_lib', | 109 'mojo_base.gyp:mojo_common_lib', |
112 'mojo_edk.gyp:mojo_run_all_perftests', | 110 'mojo_edk.gyp:mojo_run_all_perftests', |
113 'mojo_public.gyp:mojo_cpp_bindings', | 111 'mojo_public.gyp:mojo_cpp_bindings', |
114 'mojo_public.gyp:mojo_message_pump_lib', | 112 'mojo_public.gyp:mojo_message_pump_lib', |
115 'mojo_public.gyp:mojo_public_bindings_test_utils', | 113 'mojo_public.gyp:mojo_public_bindings_test_utils', |
116 'mojo_public.gyp:mojo_public_test_interfaces', | 114 'mojo_public.gyp:mojo_public_test_interfaces', |
117 'mojo_public.gyp:mojo_public_test_utils', | 115 'mojo_public.gyp:mojo_public_test_utils', |
118 'mojo_public.gyp:mojo_utility', | |
119 ], | 116 ], |
120 'sources': [ | 117 'sources': [ |
121 'public/cpp/bindings/tests/bindings_perftest.cc', | 118 'public/cpp/bindings/tests/bindings_perftest.cc', |
122 'public/cpp/bindings/tests/e2e_perftest.cc', | 119 'public/cpp/bindings/tests/e2e_perftest.cc', |
123 ], | 120 ], |
124 }, | 121 }, |
125 { | 122 { |
126 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests | 123 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests |
127 # and //mojo/public/c/system/tests | 124 # and //mojo/public/c/system/tests |
128 'target_name': 'mojo_public_system_unittests', | 125 'target_name': 'mojo_public_system_unittests', |
129 'type': 'executable', | 126 'type': 'executable', |
130 'dependencies': [ | 127 'dependencies': [ |
131 '../testing/gtest.gyp:gtest', | 128 '../testing/gtest.gyp:gtest', |
132 'mojo_edk.gyp:mojo_run_all_unittests', | 129 'mojo_edk.gyp:mojo_run_all_unittests', |
133 'mojo_public.gyp:mojo_cpp_system', | 130 'mojo_public.gyp:mojo_cpp_system', |
134 'mojo_public.gyp:mojo_public_test_utils', | 131 'mojo_public.gyp:mojo_public_test_utils', |
135 ], | 132 ], |
136 'sources': [ | 133 'sources': [ |
137 '<@(mojo_public_system_unittest_sources)', | 134 '<@(mojo_public_system_unittest_sources)', |
138 ], | 135 ], |
139 }, | 136 }, |
140 { | 137 { |
141 # GN version: //mojo/public/cpp/application/tests:mojo_public_utility_unit
tests | |
142 'target_name': 'mojo_public_utility_unittests', | |
143 'type': 'executable', | |
144 'dependencies': [ | |
145 '../testing/gtest.gyp:gtest', | |
146 'mojo_edk.gyp:mojo_run_all_unittests', | |
147 'mojo_public.gyp:mojo_cpp_bindings', | |
148 'mojo_public.gyp:mojo_public_test_utils', | |
149 'mojo_public.gyp:mojo_utility', | |
150 ], | |
151 'sources': [ | |
152 'public/cpp/utility/tests/mutex_unittest.cc', | |
153 'public/cpp/utility/tests/run_loop_unittest.cc', | |
154 'public/cpp/utility/tests/thread_unittest.cc', | |
155 ], | |
156 'conditions': [ | |
157 # See crbug.com/342893: | |
158 ['OS=="win"', { | |
159 'sources!': [ | |
160 'public/cpp/utility/tests/mutex_unittest.cc', | |
161 'public/cpp/utility/tests/thread_unittest.cc', | |
162 ], | |
163 }], | |
164 ], | |
165 }, | |
166 { | |
167 # GN version: //mojo/edk/test:mojo_public_system_perftests | 138 # GN version: //mojo/edk/test:mojo_public_system_perftests |
168 'target_name': 'mojo_public_system_perftests', | 139 'target_name': 'mojo_public_system_perftests', |
169 'type': 'executable', | 140 'type': 'executable', |
170 'dependencies': [ | 141 'dependencies': [ |
171 '../base/base.gyp:base', | 142 '../base/base.gyp:base', |
172 '../testing/gtest.gyp:gtest', | 143 '../testing/gtest.gyp:gtest', |
173 'mojo_edk.gyp:mojo_run_all_perftests', | 144 'mojo_edk.gyp:mojo_run_all_perftests', |
174 'mojo_public.gyp:mojo_public_test_utils', | 145 'mojo_public.gyp:mojo_public_test_utils', |
175 ], | 146 ], |
176 'sources': [ | 147 'sources': [ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 { | 211 { |
241 # GN version: //mojo/edk/js/test:js_unittests | 212 # GN version: //mojo/edk/js/test:js_unittests |
242 'target_name': 'mojo_js_unittests', | 213 'target_name': 'mojo_js_unittests', |
243 'type': 'executable', | 214 'type': 'executable', |
244 'dependencies': [ | 215 'dependencies': [ |
245 '../gin/gin.gyp:gin_test', | 216 '../gin/gin.gyp:gin_test', |
246 'mojo_edk.gyp:mojo_common_test_support', | 217 'mojo_edk.gyp:mojo_common_test_support', |
247 'mojo_edk.gyp:mojo_run_all_unittests', | 218 'mojo_edk.gyp:mojo_run_all_unittests', |
248 'mojo_edk.gyp:mojo_js_lib', | 219 'mojo_edk.gyp:mojo_js_lib', |
249 'mojo_public.gyp:mojo_public_test_interfaces', | 220 'mojo_public.gyp:mojo_public_test_interfaces', |
250 'mojo_public.gyp:mojo_utility', | |
251 ], | 221 ], |
252 'sources': [ | 222 'sources': [ |
253 'edk/js/handle_unittest.cc', | 223 'edk/js/handle_unittest.cc', |
254 'edk/js/test/run_js_tests.cc', | 224 'edk/js/test/run_js_tests.cc', |
255 ], | 225 ], |
256 }, | 226 }, |
257 { | 227 { |
258 # GN version: //mojo/edk/js/test:js_integration_tests | 228 # GN version: //mojo/edk/js/test:js_integration_tests |
259 'target_name': 'mojo_js_integration_tests', | 229 'target_name': 'mojo_js_integration_tests', |
260 'type': 'executable', | 230 'type': 'executable', |
261 'dependencies': [ | 231 'dependencies': [ |
262 '../base/base.gyp:base', | 232 '../base/base.gyp:base', |
263 '../gin/gin.gyp:gin_test', | 233 '../gin/gin.gyp:gin_test', |
264 'mojo_base.gyp:mojo_common_lib', | 234 'mojo_base.gyp:mojo_common_lib', |
265 'mojo_edk.gyp:mojo_js_lib', | 235 'mojo_edk.gyp:mojo_js_lib', |
266 'mojo_edk.gyp:mojo_run_all_unittests', | 236 'mojo_edk.gyp:mojo_run_all_unittests', |
267 'mojo_js_to_cpp_bindings', | 237 'mojo_js_to_cpp_bindings', |
268 'mojo_public.gyp:mojo_public_test_interfaces', | 238 'mojo_public.gyp:mojo_public_test_interfaces', |
269 'mojo_public.gyp:mojo_utility', | |
270 ], | 239 ], |
271 'sources': [ | 240 'sources': [ |
272 'edk/js/test/run_js_integration_tests.cc', | 241 'edk/js/test/run_js_integration_tests.cc', |
273 'edk/js/tests/js_to_cpp_tests.cc', | 242 'edk/js/tests/js_to_cpp_tests.cc', |
274 ], | 243 ], |
275 }, | 244 }, |
276 { | 245 { |
277 'target_name': 'mojo_js_to_cpp_bindings', | 246 'target_name': 'mojo_js_to_cpp_bindings', |
278 'type': 'none', | 247 'type': 'none', |
279 'variables': { | 248 'variables': { |
(...skipping 26 matching lines...) Expand all Loading... |
306 'dependencies': [ | 275 'dependencies': [ |
307 'mojo_public_system_unittests', | 276 'mojo_public_system_unittests', |
308 ], | 277 ], |
309 'includes': [ | 278 'includes': [ |
310 '../build/isolate.gypi', | 279 '../build/isolate.gypi', |
311 ], | 280 ], |
312 'sources': [ | 281 'sources': [ |
313 'mojo_public_system_unittests.isolate', | 282 'mojo_public_system_unittests.isolate', |
314 ], | 283 ], |
315 }, | 284 }, |
316 { | |
317 'target_name': 'mojo_public_utility_unittests_run', | |
318 'type': 'none', | |
319 'dependencies': [ | |
320 'mojo_public_utility_unittests', | |
321 ], | |
322 'includes': [ | |
323 '../build/isolate.gypi', | |
324 ], | |
325 'sources': [ | |
326 'mojo_public_utility_unittests.isolate', | |
327 ], | |
328 }, | |
329 ], | 285 ], |
330 }], | 286 }], |
331 ], | 287 ], |
332 } | 288 } |
OLD | NEW |