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

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

Issue 728553002: Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « mojo/edk/mojo_edk.gyp ('k') | mojo/edk/system/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # Essential components (and their tests) that are needed to build
6 # Chrome should be here. Other components that are useful only in
7 # Mojo land like mojo_shell should be in mojo.gyp.
8 { 5 {
9 'includes': [ 6 'includes': [
10 '../mojo_variables.gypi', 7 '../mojo_variables.gypi',
11 ], 8 ],
12 'targets': [ 9 'targets': [
13 { 10 {
14 'target_name': 'mojo_edk', 11 'target_name': 'mojo_edk_tests',
15 'type': 'none', 12 'type': 'none',
16 'dependencies': [ 13 'dependencies': [
17 # NOTE: If adding a new dependency here, please consider whether it 14 # NOTE: If adding a new dependency here, please consider whether it
18 # 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
19 # 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
20 # 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
21 # to be built. 18 # to be built.
22 'mojo_message_pipe_perftests', 19 'mojo_message_pipe_perftests',
23 'mojo_public_application_unittests', 20 'mojo_public_application_unittests',
24 'mojo_public_bindings_unittests', 21 'mojo_public_bindings_unittests',
25 'mojo_public_environment_unittests', 22 'mojo_public_environment_unittests',
26 'mojo_public_system_perftests', 23 'mojo_public_system_perftests',
27 'mojo_public_system_unittests', 24 'mojo_public_system_unittests',
28 'mojo_public_utility_unittests', 25 'mojo_public_utility_unittests',
29 'mojo_system_impl',
30 'mojo_system_unittests', 26 'mojo_system_unittests',
31 'mojo_js_unittests', 27 'mojo_js_unittests',
32 ], 28 'mojo_js_integration_tests',
33 },
34 {
35 'target_name': 'mojo_none',
36 'type': 'none',
37 },
38 {
39 # GN version: //mojo/edk/test:run_all_unittests
40 'target_name': 'mojo_run_all_unittests',
41 'type': 'static_library',
42 'dependencies': [
43 '../../base/base.gyp:base',
44 '../../base/base.gyp:test_support_base',
45 '../../testing/gtest.gyp:gtest',
46 'mojo_system_impl',
47 'mojo_test_support_impl',
48 '../public/mojo_public.gyp:mojo_test_support',
49 ],
50 'sources': [
51 'test/run_all_unittests.cc',
52 ],
53 },
54 {
55 # GN version: //mojo/edk/test:run_all_perftests
56 'target_name': 'mojo_run_all_perftests',
57 'type': 'static_library',
58 'dependencies': [
59 '../../base/base.gyp:test_support_base',
60 'mojo_system_impl',
61 'mojo_test_support_impl',
62 '../public/mojo_public.gyp:mojo_test_support',
63 ],
64 'sources': [
65 'test/run_all_perftests.cc',
66 ], 29 ],
67 }, 30 },
68 # TODO(vtl): Reorganize the mojo_public_*_unittests. 31 # TODO(vtl): Reorganize the mojo_public_*_unittests.
69 { 32 {
70 # GN version: //mojo/public/cpp/bindings/tests:mojo_public_bindings_unitte sts 33 # GN version: //mojo/public/cpp/bindings/tests:mojo_public_bindings_unitte sts
71 'target_name': 'mojo_public_bindings_unittests', 34 'target_name': 'mojo_public_bindings_unittests',
72 'type': 'executable', 35 'type': 'executable',
73 'dependencies': [ 36 'dependencies': [
74 '../../testing/gtest.gyp:gtest', 37 '../../testing/gtest.gyp:gtest',
75 'mojo_run_all_unittests', 38 'mojo_edk.gyp:mojo_run_all_unittests',
76 '../public/mojo_public.gyp:mojo_cpp_bindings', 39 '../public/mojo_public.gyp:mojo_cpp_bindings',
77 '../public/mojo_public.gyp:mojo_environment_standalone', 40 '../public/mojo_public.gyp:mojo_environment_standalone',
78 '../public/mojo_public.gyp:mojo_public_bindings_test_utils', 41 '../public/mojo_public.gyp:mojo_public_bindings_test_utils',
79 '../public/mojo_public.gyp:mojo_public_test_interfaces', 42 '../public/mojo_public.gyp:mojo_public_test_interfaces',
80 '../public/mojo_public.gyp:mojo_public_test_utils', 43 '../public/mojo_public.gyp:mojo_public_test_utils',
81 '../public/mojo_public.gyp:mojo_utility', 44 '../public/mojo_public.gyp:mojo_utility',
82 ], 45 ],
83 'sources': [ 46 'sources': [
84 '../public/cpp/bindings/tests/array_unittest.cc', 47 '../public/cpp/bindings/tests/array_unittest.cc',
85 '../public/cpp/bindings/tests/bounds_checker_unittest.cc', 48 '../public/cpp/bindings/tests/bounds_checker_unittest.cc',
(...skipping 13 matching lines...) Expand all
99 '../public/cpp/bindings/tests/type_conversion_unittest.cc', 62 '../public/cpp/bindings/tests/type_conversion_unittest.cc',
100 '../public/cpp/bindings/tests/validation_unittest.cc', 63 '../public/cpp/bindings/tests/validation_unittest.cc',
101 ], 64 ],
102 }, 65 },
103 { 66 {
104 # GN version: //mojo/public/cpp/environment/tests:mojo_public_environment_ unittests 67 # GN version: //mojo/public/cpp/environment/tests:mojo_public_environment_ unittests
105 'target_name': 'mojo_public_environment_unittests', 68 'target_name': 'mojo_public_environment_unittests',
106 'type': 'executable', 69 'type': 'executable',
107 'dependencies': [ 70 'dependencies': [
108 '../../testing/gtest.gyp:gtest', 71 '../../testing/gtest.gyp:gtest',
109 'mojo_run_all_unittests', 72 'mojo_edk.gyp:mojo_run_all_unittests',
110 '../public/mojo_public.gyp:mojo_environment_standalone', 73 '../public/mojo_public.gyp:mojo_environment_standalone',
111 '../public/mojo_public.gyp:mojo_public_test_utils', 74 '../public/mojo_public.gyp:mojo_public_test_utils',
112 '../public/mojo_public.gyp:mojo_utility', 75 '../public/mojo_public.gyp:mojo_utility',
113 ], 76 ],
114 'include_dirs': [ '../..' ], 77 'include_dirs': [ '../..' ],
115 'sources': [ 78 'sources': [
116 '../public/cpp/environment/tests/async_wait_unittest.cc', 79 '../public/cpp/environment/tests/async_wait_unittest.cc',
117 '../public/cpp/environment/tests/async_waiter_unittest.cc', 80 '../public/cpp/environment/tests/async_waiter_unittest.cc',
118 '../public/cpp/environment/tests/logger_unittest.cc', 81 '../public/cpp/environment/tests/logger_unittest.cc',
119 '../public/cpp/environment/tests/logging_unittest.cc', 82 '../public/cpp/environment/tests/logging_unittest.cc',
120 ], 83 ],
121 }, 84 },
122 { 85 {
123 # GN version: //mojo/public/cpp/application/tests:mojo_public_application_ unittests 86 # GN version: //mojo/public/cpp/application/tests:mojo_public_application_ unittests
124 'target_name': 'mojo_public_application_unittests', 87 'target_name': 'mojo_public_application_unittests',
125 'type': 'executable', 88 'type': 'executable',
126 'dependencies': [ 89 'dependencies': [
127 '../../base/base.gyp:base', 90 '../../base/base.gyp:base',
128 '../../testing/gtest.gyp:gtest', 91 '../../testing/gtest.gyp:gtest',
129 'mojo_run_all_unittests', 92 'mojo_edk.gyp:mojo_run_all_unittests',
130 '../public/mojo_public.gyp:mojo_application_standalone', 93 '../public/mojo_public.gyp:mojo_application_standalone',
131 '../public/mojo_public.gyp:mojo_utility', 94 '../public/mojo_public.gyp:mojo_utility',
132 '../public/mojo_public.gyp:mojo_environment_standalone', 95 '../public/mojo_public.gyp:mojo_environment_standalone',
133 ], 96 ],
134 'sources': [ 97 'sources': [
135 '../public/cpp/application/tests/service_registry_unittest.cc', 98 '../public/cpp/application/tests/service_registry_unittest.cc',
136 ], 99 ],
137 }, 100 },
138 { 101 {
139 # GN version: //mojo/public/cpp/application/tests:mojo_public_system_unitt ests 102 # GN version: //mojo/public/cpp/system/tests:mojo_public_system_unittests
103 # and //mojo/public/c/system/tests
140 'target_name': 'mojo_public_system_unittests', 104 'target_name': 'mojo_public_system_unittests',
141 'type': 'executable', 105 'type': 'executable',
142 'dependencies': [ 106 'dependencies': [
143 '../../testing/gtest.gyp:gtest', 107 '../../testing/gtest.gyp:gtest',
144 'mojo_run_all_unittests', 108 'mojo_edk.gyp:mojo_run_all_unittests',
145 '../public/mojo_public.gyp:mojo_public_test_utils', 109 '../public/mojo_public.gyp:mojo_public_test_utils',
146 ], 110 ],
147 'include_dirs': [ '../..' ], 111 'include_dirs': [ '../..' ],
148 'sources': [ 112 'sources': [
149 '<@(mojo_public_system_unittest_sources)', 113 '<@(mojo_public_system_unittest_sources)',
150 ], 114 ],
151 }, 115 },
152 { 116 {
153 # GN version: //mojo/public/cpp/application/tests:mojo_public_utility_unit tests 117 # GN version: //mojo/public/cpp/application/tests:mojo_public_utility_unit tests
154 'target_name': 'mojo_public_utility_unittests', 118 'target_name': 'mojo_public_utility_unittests',
155 'type': 'executable', 119 'type': 'executable',
156 'dependencies': [ 120 'dependencies': [
157 '../../testing/gtest.gyp:gtest', 121 '../../testing/gtest.gyp:gtest',
158 'mojo_run_all_unittests', 122 'mojo_edk.gyp:mojo_run_all_unittests',
159 '../public/mojo_public.gyp:mojo_public_test_utils', 123 '../public/mojo_public.gyp:mojo_public_test_utils',
160 '../public/mojo_public.gyp:mojo_utility', 124 '../public/mojo_public.gyp:mojo_utility',
161 ], 125 ],
162 'include_dirs': [ '../..' ], 126 'include_dirs': [ '../..' ],
163 'sources': [ 127 'sources': [
164 '../public/cpp/utility/tests/mutex_unittest.cc', 128 '../public/cpp/utility/tests/mutex_unittest.cc',
165 '../public/cpp/utility/tests/run_loop_unittest.cc', 129 '../public/cpp/utility/tests/run_loop_unittest.cc',
166 '../public/cpp/utility/tests/thread_unittest.cc', 130 '../public/cpp/utility/tests/thread_unittest.cc',
167 ], 131 ],
168 'conditions': [ 132 'conditions': [
169 # See crbug.com/342893: 133 # See crbug.com/342893:
170 ['OS=="win"', { 134 ['OS=="win"', {
171 'sources!': [ 135 'sources!': [
172 '../public/cpp/utility/tests/mutex_unittest.cc', 136 '../public/cpp/utility/tests/mutex_unittest.cc',
173 '../public/cpp/utility/tests/thread_unittest.cc', 137 '../public/cpp/utility/tests/thread_unittest.cc',
174 ], 138 ],
175 }], 139 }],
176 ], 140 ],
177 }, 141 },
178 { 142 {
179 # GN version: //mojo/public/c/system/tests:perftests 143 # GN version: //mojo/public/c/system/tests:perftests
180 'target_name': 'mojo_public_system_perftests', 144 'target_name': 'mojo_public_system_perftests',
181 'type': 'executable', 145 'type': 'executable',
182 'dependencies': [ 146 'dependencies': [
183 '../../base/base.gyp:base', 147 '../../base/base.gyp:base',
184 '../../testing/gtest.gyp:gtest', 148 '../../testing/gtest.gyp:gtest',
185 'mojo_run_all_perftests', 149 'mojo_edk.gyp:mojo_run_all_perftests',
186 '../public/mojo_public.gyp:mojo_public_test_utils', 150 '../public/mojo_public.gyp:mojo_public_test_utils',
187 '../public/mojo_public.gyp:mojo_utility', 151 '../public/mojo_public.gyp:mojo_utility',
188 ], 152 ],
189 'sources': [ 153 'sources': [
190 '../public/c/system/tests/core_perftest.cc', 154 '../public/c/system/tests/core_perftest.cc',
191 ], 155 ],
192 }, 156 },
193
194 {
195 # GN version: //mojo/edk/system
196 'target_name': 'mojo_system_impl',
197 'type': '<(component)',
198 'dependencies': [
199 '../../base/base.gyp:base',
200 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
201 ],
202 'defines': [
203 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
204 'MOJO_SYSTEM_IMPLEMENTATION',
205 'MOJO_USE_SYSTEM_IMPL',
206 ],
207 'sources': [
208 'embedder/channel_info_forward.h',
209 'embedder/channel_init.cc',
210 'embedder/channel_init.h',
211 'embedder/embedder.cc',
212 'embedder/embedder.h',
213 'embedder/platform_channel_pair.cc',
214 'embedder/platform_channel_pair.h',
215 'embedder/platform_channel_pair_posix.cc',
216 'embedder/platform_channel_pair_win.cc',
217 'embedder/platform_channel_utils_posix.cc',
218 'embedder/platform_channel_utils_posix.h',
219 'embedder/platform_handle.cc',
220 'embedder/platform_handle.h',
221 'embedder/platform_handle_utils.h',
222 'embedder/platform_handle_utils_posix.cc',
223 'embedder/platform_handle_utils_win.cc',
224 'embedder/platform_handle_vector.h',
225 'embedder/platform_shared_buffer.h',
226 'embedder/platform_support.h',
227 'embedder/scoped_platform_handle.h',
228 'embedder/simple_platform_shared_buffer.cc',
229 'embedder/simple_platform_shared_buffer.h',
230 'embedder/simple_platform_shared_buffer_posix.cc',
231 'embedder/simple_platform_shared_buffer_win.cc',
232 'embedder/simple_platform_support.cc',
233 'embedder/simple_platform_support.h',
234 'system/channel.cc',
235 'system/channel.h',
236 'system/channel_endpoint.cc',
237 'system/channel_endpoint.h',
238 'system/channel_endpoint_id.cc',
239 'system/channel_endpoint_id.h',
240 'system/channel_info.cc',
241 'system/channel_info.h',
242 'system/constants.h',
243 'system/core.cc',
244 'system/core.h',
245 'system/data_pipe.cc',
246 'system/data_pipe.h',
247 'system/data_pipe_consumer_dispatcher.cc',
248 'system/data_pipe_consumer_dispatcher.h',
249 'system/data_pipe_producer_dispatcher.cc',
250 'system/data_pipe_producer_dispatcher.h',
251 'system/dispatcher.cc',
252 'system/dispatcher.h',
253 'system/entrypoints.cc',
254 'system/handle_signals_state.h',
255 'system/handle_table.cc',
256 'system/handle_table.h',
257 'system/local_data_pipe.cc',
258 'system/local_data_pipe.h',
259 'system/local_message_pipe_endpoint.cc',
260 'system/local_message_pipe_endpoint.h',
261 'system/mapping_table.cc',
262 'system/mapping_table.h',
263 'system/memory.cc',
264 'system/memory.h',
265 'system/message_in_transit.cc',
266 'system/message_in_transit.h',
267 'system/message_in_transit_queue.cc',
268 'system/message_in_transit_queue.h',
269 'system/message_pipe.cc',
270 'system/message_pipe.h',
271 'system/message_pipe_dispatcher.cc',
272 'system/message_pipe_dispatcher.h',
273 'system/message_pipe_endpoint.cc',
274 'system/message_pipe_endpoint.h',
275 'system/options_validation.h',
276 'system/platform_handle_dispatcher.cc',
277 'system/platform_handle_dispatcher.h',
278 'system/proxy_message_pipe_endpoint.cc',
279 'system/proxy_message_pipe_endpoint.h',
280 'system/raw_channel.cc',
281 'system/raw_channel.h',
282 'system/raw_channel_posix.cc',
283 'system/raw_channel_win.cc',
284 'system/shared_buffer_dispatcher.cc',
285 'system/shared_buffer_dispatcher.h',
286 'system/simple_dispatcher.cc',
287 'system/simple_dispatcher.h',
288 'system/transport_data.cc',
289 'system/transport_data.h',
290 'system/waiter.cc',
291 'system/waiter.h',
292 'system/waiter_list.cc',
293 'system/waiter_list.h',
294 # Test-only code:
295 # TODO(vtl): It's a little unfortunate that these end up in the same
296 # component as non-test-only code. In the static build, this code should
297 # hopefully be dead-stripped.
298 'embedder/test_embedder.cc',
299 'embedder/test_embedder.h',
300 ],
301 'all_dependent_settings': {
302 # Ensures that dependent projects import the core functions on Windows.
303 'defines': ['MOJO_USE_SYSTEM_IMPL'],
304 }
305 },
306 { 157 {
307 # GN version: //mojo/edk/system:mojo_system_unittests 158 # GN version: //mojo/edk/system:mojo_system_unittests
308 'target_name': 'mojo_system_unittests', 159 'target_name': 'mojo_system_unittests',
309 'type': 'executable', 160 'type': 'executable',
310 'dependencies': [ 161 'dependencies': [
311 '../../base/base.gyp:base', 162 '../../base/base.gyp:base',
312 '../../testing/gtest.gyp:gtest', 163 '../../testing/gtest.gyp:gtest',
313 'mojo_common_test_support', 164 'mojo_edk.gyp:mojo_common_test_support',
314 'mojo_system_impl', 165 'mojo_edk.gyp:mojo_system_impl',
315 ], 166 ],
316 'sources': [ 167 'sources': [
317 'embedder/embedder_unittest.cc', 168 'embedder/embedder_unittest.cc',
318 'embedder/platform_channel_pair_posix_unittest.cc', 169 'embedder/platform_channel_pair_posix_unittest.cc',
319 'embedder/simple_platform_shared_buffer_unittest.cc', 170 'embedder/simple_platform_shared_buffer_unittest.cc',
320 'system/channel_endpoint_id_unittest.cc', 171 'system/channel_endpoint_id_unittest.cc',
321 'system/channel_unittest.cc', 172 'system/channel_unittest.cc',
322 'system/core_unittest.cc', 173 'system/core_unittest.cc',
323 'system/core_test_base.cc', 174 'system/core_test_base.cc',
324 'system/core_test_base.h', 175 'system/core_test_base.h',
(...skipping 12 matching lines...) Expand all
337 'system/remote_message_pipe_unittest.cc', 188 'system/remote_message_pipe_unittest.cc',
338 'system/run_all_unittests.cc', 189 'system/run_all_unittests.cc',
339 'system/shared_buffer_dispatcher_unittest.cc', 190 'system/shared_buffer_dispatcher_unittest.cc',
340 'system/simple_dispatcher_unittest.cc', 191 'system/simple_dispatcher_unittest.cc',
341 'system/test_utils.cc', 192 'system/test_utils.cc',
342 'system/test_utils.h', 193 'system/test_utils.h',
343 'system/waiter_list_unittest.cc', 194 'system/waiter_list_unittest.cc',
344 'system/waiter_test_utils.cc', 195 'system/waiter_test_utils.cc',
345 'system/waiter_test_utils.h', 196 'system/waiter_test_utils.h',
346 'system/waiter_unittest.cc', 197 'system/waiter_unittest.cc',
198 'test/multiprocess_test_helper_unittest.cc',
347 ], 199 ],
348 'conditions': [ 200 'conditions': [
349 ['OS=="ios"', { 201 ['OS=="ios"', {
350 'sources!': [ 202 'sources!': [
351 'embedder/embedder_unittest.cc', 203 'embedder/embedder_unittest.cc',
352 'system/multiprocess_message_pipe_unittest.cc', 204 'system/multiprocess_message_pipe_unittest.cc',
205 'test/multiprocess_test_helper_unittest.cc',
353 ], 206 ],
354 }], 207 }],
355 ], 208 ],
356 }, 209 },
357 { 210 {
358 # GN version: //mojo/edk/system:mojo_message_pipe_perftests 211 # GN version: //mojo/edk/system:mojo_message_pipe_perftests
359 'target_name': 'mojo_message_pipe_perftests', 212 'target_name': 'mojo_message_pipe_perftests',
360 'type': 'executable', 213 'type': 'executable',
361 'dependencies': [ 214 'dependencies': [
362 '../../base/base.gyp:base', 215 '../../base/base.gyp:base',
363 '../../base/base.gyp:test_support_base', 216 '../../base/base.gyp:test_support_base',
364 '../../base/base.gyp:test_support_perf', 217 '../../base/base.gyp:test_support_perf',
365 '../../testing/gtest.gyp:gtest', 218 '../../testing/gtest.gyp:gtest',
366 'mojo_common_test_support', 219 'mojo_edk.gyp:mojo_common_test_support',
367 'mojo_system_impl', 220 'mojo_edk.gyp:mojo_system_impl',
368 ], 221 ],
369 'sources': [ 222 'sources': [
370 'system/message_pipe_perftest.cc', 223 'system/message_pipe_perftest.cc',
371 'system/message_pipe_test_utils.h', 224 'system/message_pipe_test_utils.h',
372 'system/message_pipe_test_utils.cc', 225 'system/message_pipe_test_utils.cc',
373 'system/test_utils.cc', 226 'system/test_utils.cc',
374 'system/test_utils.h', 227 'system/test_utils.h',
375 ], 228 ],
376 }, 229 },
377 { 230 {
378 # GN version: //mojo/edk/js 231 # GN version: //mojo/edk/js/test:js_unittests
379 'target_name': 'mojo_js_lib',
380 'type': 'static_library',
381 'dependencies': [
382 '../../base/base.gyp:base',
383 '../../gin/gin.gyp:gin',
384 '../../v8/tools/gyp/v8.gyp:v8',
385 ],
386 'export_dependent_settings': [
387 '../../base/base.gyp:base',
388 '../../gin/gin.gyp:gin',
389 ],
390 'sources': [
391 # Sources list duplicated in GN build.
392 'js/core.cc',
393 'js/core.h',
394 'js/drain_data.cc',
395 'js/drain_data.h',
396 'js/handle.cc',
397 'js/handle.h',
398 'js/handle_close_observer.h',
399 'js/support.cc',
400 'js/support.h',
401 'js/waiting_callback.cc',
402 'js/waiting_callback.h',
403 ],
404 },
405 {
406 # GN version: //mojo/edk/js:js_unittests
407 'target_name': 'mojo_js_unittests', 232 'target_name': 'mojo_js_unittests',
408 'type': 'executable', 233 'type': 'executable',
409 'dependencies': [ 234 'dependencies': [
410 '../../gin/gin.gyp:gin_test', 235 '../../gin/gin.gyp:gin_test',
411 'mojo_common_test_support', 236 'mojo_edk.gyp:mojo_common_test_support',
412 'mojo_run_all_unittests', 237 'mojo_edk.gyp:mojo_run_all_unittests',
413 'mojo_js_lib', 238 'mojo_edk.gyp:mojo_js_lib',
414 '../public/mojo_public.gyp:mojo_environment_standalone', 239 '../public/mojo_public.gyp:mojo_environment_standalone',
415 '../public/mojo_public.gyp:mojo_public_test_interfaces', 240 '../public/mojo_public.gyp:mojo_public_test_interfaces',
416 '../public/mojo_public.gyp:mojo_utility', 241 '../public/mojo_public.gyp:mojo_utility',
417 ], 242 ],
418 'sources': [ 243 'sources': [
419 'js/handle_unittest.cc', 244 'js/handle_unittest.cc',
420 'js/tests/run_js_tests.cc', 245 'js/test/run_js_tests.cc',
421 ], 246 ],
422 }, 247 },
423 { 248 {
424 # GN version: //mojo/common/test:test_support_impl 249 # GN version: //mojo/edk/js/test:js_integration_tests
425 'target_name': 'mojo_test_support_impl', 250 'target_name': 'mojo_js_integration_tests',
426 'type': 'static_library', 251 'type': 'executable',
427 'dependencies': [ 252 'dependencies': [
428 '../../base/base.gyp:base', 253 '../../base/base.gyp:base',
254 '../../gin/gin.gyp:gin_test',
255 '../public/mojo_public.gyp:mojo_environment_standalone',
256 '../public/mojo_public.gyp:mojo_public_test_interfaces',
257 '../public/mojo_public.gyp:mojo_utility',
258 'mojo_edk.gyp:mojo_js_lib',
259 'mojo_edk.gyp:mojo_run_all_unittests',
260 'mojo_js_to_cpp_bindings',
429 ], 261 ],
430 'sources': [ 262 'sources': [
431 'test/test_support_impl.cc', 263 'js/test/run_js_integration_tests.cc',
432 'test/test_support_impl.h', 264 'js/tests/js_to_cpp_tests',
433 ], 265 ],
434 }, 266 },
435 { 267 {
436 # GN version: //mojo/edk/test:test_support 268 'target_name': 'mojo_js_to_cpp_bindings',
437 'target_name': 'mojo_common_test_support', 269 'type': 'none',
438 'type': 'static_library', 270 'variables': {
439 'dependencies': [ 271 'mojom_files': [
440 '../../base/base.gyp:base', 272 'js/tests/js_to_cpp.mojom',
441 '../../base/base.gyp:test_support_base', 273 ],
442 '../../testing/gtest.gyp:gtest', 274 },
443 'mojo_system_impl', 275 'includes': [ '../public/tools/bindings/mojom_bindings_generator_explicit. gypi' ],
444 ],
445 'sources': [
446 'test/multiprocess_test_helper.cc',
447 'test/multiprocess_test_helper.h',
448 'test/test_utils.h',
449 'test/test_utils_posix.cc',
450 'test/test_utils_win.cc',
451 ],
452 'conditions': [
453 ['OS=="ios"', {
454 'sources!': [
455 'test/multiprocess_test_helper.cc',
456 ],
457 }],
458 ],
459 }, 276 },
460 ], 277 ],
461 } 278 }
OLDNEW
« no previous file with comments | « mojo/edk/mojo_edk.gyp ('k') | mojo/edk/system/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698