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

Side by Side Diff: mojo/edk/mojo_edk.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/js/waiting_callback.h ('k') | mojo/edk/mojo_edk_tests.gyp » ('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',
15 'type': 'none',
16 'dependencies': [
17 # NOTE: If adding a new dependency here, please consider whether it
18 # 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
20 # target on iOS due to the presence of the js targets, which cause v8
21 # to be built.
22 'mojo_message_pipe_perftests',
23 'mojo_public_application_unittests',
24 'mojo_public_bindings_unittests',
25 'mojo_public_environment_unittests',
26 'mojo_public_system_perftests',
27 'mojo_public_system_unittests',
28 'mojo_public_utility_unittests',
29 'mojo_system_impl',
30 'mojo_system_unittests',
31 'mojo_js_unittests',
32 ],
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 ],
67 },
68 # TODO(vtl): Reorganize the mojo_public_*_unittests.
69 {
70 # GN version: //mojo/public/cpp/bindings/tests:mojo_public_bindings_unitte sts
71 'target_name': 'mojo_public_bindings_unittests',
72 'type': 'executable',
73 'dependencies': [
74 '../../testing/gtest.gyp:gtest',
75 'mojo_run_all_unittests',
76 '../public/mojo_public.gyp:mojo_cpp_bindings',
77 '../public/mojo_public.gyp:mojo_environment_standalone',
78 '../public/mojo_public.gyp:mojo_public_bindings_test_utils',
79 '../public/mojo_public.gyp:mojo_public_test_interfaces',
80 '../public/mojo_public.gyp:mojo_public_test_utils',
81 '../public/mojo_public.gyp:mojo_utility',
82 ],
83 'sources': [
84 '../public/cpp/bindings/tests/array_unittest.cc',
85 '../public/cpp/bindings/tests/bounds_checker_unittest.cc',
86 '../public/cpp/bindings/tests/buffer_unittest.cc',
87 '../public/cpp/bindings/tests/connector_unittest.cc',
88 '../public/cpp/bindings/tests/container_test_util.cc',
89 '../public/cpp/bindings/tests/equals_unittest.cc',
90 '../public/cpp/bindings/tests/handle_passing_unittest.cc',
91 '../public/cpp/bindings/tests/interface_ptr_unittest.cc',
92 '../public/cpp/bindings/tests/map_unittest.cc',
93 '../public/cpp/bindings/tests/request_response_unittest.cc',
94 '../public/cpp/bindings/tests/router_unittest.cc',
95 '../public/cpp/bindings/tests/sample_service_unittest.cc',
96 '../public/cpp/bindings/tests/serialization_warning_unittest.cc',
97 '../public/cpp/bindings/tests/string_unittest.cc',
98 '../public/cpp/bindings/tests/struct_unittest.cc',
99 '../public/cpp/bindings/tests/type_conversion_unittest.cc',
100 '../public/cpp/bindings/tests/validation_unittest.cc',
101 ],
102 },
103 {
104 # GN version: //mojo/public/cpp/environment/tests:mojo_public_environment_ unittests
105 'target_name': 'mojo_public_environment_unittests',
106 'type': 'executable',
107 'dependencies': [
108 '../../testing/gtest.gyp:gtest',
109 'mojo_run_all_unittests',
110 '../public/mojo_public.gyp:mojo_environment_standalone',
111 '../public/mojo_public.gyp:mojo_public_test_utils',
112 '../public/mojo_public.gyp:mojo_utility',
113 ],
114 'include_dirs': [ '../..' ],
115 'sources': [
116 '../public/cpp/environment/tests/async_wait_unittest.cc',
117 '../public/cpp/environment/tests/async_waiter_unittest.cc',
118 '../public/cpp/environment/tests/logger_unittest.cc',
119 '../public/cpp/environment/tests/logging_unittest.cc',
120 ],
121 },
122 {
123 # GN version: //mojo/public/cpp/application/tests:mojo_public_application_ unittests
124 'target_name': 'mojo_public_application_unittests',
125 'type': 'executable',
126 'dependencies': [
127 '../../base/base.gyp:base',
128 '../../testing/gtest.gyp:gtest',
129 'mojo_run_all_unittests',
130 '../public/mojo_public.gyp:mojo_application_standalone',
131 '../public/mojo_public.gyp:mojo_utility',
132 '../public/mojo_public.gyp:mojo_environment_standalone',
133 ],
134 'sources': [
135 '../public/cpp/application/tests/service_registry_unittest.cc',
136 ],
137 },
138 {
139 # GN version: //mojo/public/cpp/application/tests:mojo_public_system_unitt ests
140 'target_name': 'mojo_public_system_unittests',
141 'type': 'executable',
142 'dependencies': [
143 '../../testing/gtest.gyp:gtest',
144 'mojo_run_all_unittests',
145 '../public/mojo_public.gyp:mojo_public_test_utils',
146 ],
147 'include_dirs': [ '../..' ],
148 'sources': [
149 '<@(mojo_public_system_unittest_sources)',
150 ],
151 },
152 {
153 # GN version: //mojo/public/cpp/application/tests:mojo_public_utility_unit tests
154 'target_name': 'mojo_public_utility_unittests',
155 'type': 'executable',
156 'dependencies': [
157 '../../testing/gtest.gyp:gtest',
158 'mojo_run_all_unittests',
159 '../public/mojo_public.gyp:mojo_public_test_utils',
160 '../public/mojo_public.gyp:mojo_utility',
161 ],
162 'include_dirs': [ '../..' ],
163 'sources': [
164 '../public/cpp/utility/tests/mutex_unittest.cc',
165 '../public/cpp/utility/tests/run_loop_unittest.cc',
166 '../public/cpp/utility/tests/thread_unittest.cc',
167 ],
168 'conditions': [
169 # See crbug.com/342893:
170 ['OS=="win"', {
171 'sources!': [
172 '../public/cpp/utility/tests/mutex_unittest.cc',
173 '../public/cpp/utility/tests/thread_unittest.cc',
174 ],
175 }],
176 ],
177 },
178 {
179 # GN version: //mojo/public/c/system/tests:perftests
180 'target_name': 'mojo_public_system_perftests',
181 'type': 'executable',
182 'dependencies': [
183 '../../base/base.gyp:base',
184 '../../testing/gtest.gyp:gtest',
185 'mojo_run_all_perftests',
186 '../public/mojo_public.gyp:mojo_public_test_utils',
187 '../public/mojo_public.gyp:mojo_utility',
188 ],
189 'sources': [
190 '../public/c/system/tests/core_perftest.cc',
191 ],
192 },
193
194 {
195 # GN version: //mojo/edk/system 11 # GN version: //mojo/edk/system
196 'target_name': 'mojo_system_impl', 12 'target_name': 'mojo_system_impl',
197 'type': '<(component)', 13 'type': '<(component)',
198 'dependencies': [ 14 'dependencies': [
199 '../../base/base.gyp:base', 15 '../../base/base.gyp:base',
200 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations', 16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
201 ], 17 ],
202 'defines': [ 18 'defines': [
203 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', 19 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
204 'MOJO_SYSTEM_IMPLEMENTATION', 20 'MOJO_SYSTEM_IMPLEMENTATION',
205 'MOJO_USE_SYSTEM_IMPL', 21 'MOJO_USE_SYSTEM_IMPL',
206 ], 22 ],
207 'sources': [ 23 'sources': [
24 'embedder/configuration.h',
208 'embedder/channel_info_forward.h', 25 'embedder/channel_info_forward.h',
209 'embedder/channel_init.cc', 26 'embedder/channel_init.cc',
210 'embedder/channel_init.h', 27 'embedder/channel_init.h',
211 'embedder/embedder.cc', 28 'embedder/embedder.cc',
212 'embedder/embedder.h', 29 'embedder/embedder.h',
30 'embedder/embedder_internal.h',
31 'embedder/entrypoints.cc',
213 'embedder/platform_channel_pair.cc', 32 'embedder/platform_channel_pair.cc',
214 'embedder/platform_channel_pair.h', 33 'embedder/platform_channel_pair.h',
215 'embedder/platform_channel_pair_posix.cc', 34 'embedder/platform_channel_pair_posix.cc',
216 'embedder/platform_channel_pair_win.cc', 35 'embedder/platform_channel_pair_win.cc',
217 'embedder/platform_channel_utils_posix.cc', 36 'embedder/platform_channel_utils_posix.cc',
218 'embedder/platform_channel_utils_posix.h', 37 'embedder/platform_channel_utils_posix.h',
219 'embedder/platform_handle.cc', 38 'embedder/platform_handle.cc',
220 'embedder/platform_handle.h', 39 'embedder/platform_handle.h',
221 'embedder/platform_handle_utils.h', 40 'embedder/platform_handle_utils.h',
222 'embedder/platform_handle_utils_posix.cc', 41 'embedder/platform_handle_utils_posix.cc',
223 'embedder/platform_handle_utils_win.cc', 42 'embedder/platform_handle_utils_win.cc',
224 'embedder/platform_handle_vector.h', 43 'embedder/platform_handle_vector.h',
225 'embedder/platform_shared_buffer.h', 44 'embedder/platform_shared_buffer.h',
226 'embedder/platform_support.h', 45 'embedder/platform_support.h',
227 'embedder/scoped_platform_handle.h', 46 'embedder/scoped_platform_handle.h',
228 'embedder/simple_platform_shared_buffer.cc', 47 'embedder/simple_platform_shared_buffer.cc',
229 'embedder/simple_platform_shared_buffer.h', 48 'embedder/simple_platform_shared_buffer.h',
230 'embedder/simple_platform_shared_buffer_posix.cc', 49 'embedder/simple_platform_shared_buffer_posix.cc',
231 'embedder/simple_platform_shared_buffer_win.cc', 50 'embedder/simple_platform_shared_buffer_win.cc',
232 'embedder/simple_platform_support.cc', 51 'embedder/simple_platform_support.cc',
233 'embedder/simple_platform_support.h', 52 'embedder/simple_platform_support.h',
234 'system/channel.cc', 53 'system/channel.cc',
235 'system/channel.h', 54 'system/channel.h',
236 'system/channel_endpoint.cc', 55 'system/channel_endpoint.cc',
237 'system/channel_endpoint.h', 56 'system/channel_endpoint.h',
238 'system/channel_endpoint_id.cc', 57 'system/channel_endpoint_id.cc',
239 'system/channel_endpoint_id.h', 58 'system/channel_endpoint_id.h',
240 'system/channel_info.cc', 59 'system/channel_info.cc',
241 'system/channel_info.h', 60 'system/channel_info.h',
242 'system/constants.h', 61 'system/channel_manager.cc',
62 'system/channel_manager.h',
63 'system/configuration.cc',
64 'system/configuration.h',
243 'system/core.cc', 65 'system/core.cc',
244 'system/core.h', 66 'system/core.h',
245 'system/data_pipe.cc', 67 'system/data_pipe.cc',
246 'system/data_pipe.h', 68 'system/data_pipe.h',
247 'system/data_pipe_consumer_dispatcher.cc', 69 'system/data_pipe_consumer_dispatcher.cc',
248 'system/data_pipe_consumer_dispatcher.h', 70 'system/data_pipe_consumer_dispatcher.h',
249 'system/data_pipe_producer_dispatcher.cc', 71 'system/data_pipe_producer_dispatcher.cc',
250 'system/data_pipe_producer_dispatcher.h', 72 'system/data_pipe_producer_dispatcher.h',
251 'system/dispatcher.cc', 73 'system/dispatcher.cc',
252 'system/dispatcher.h', 74 'system/dispatcher.h',
253 'system/entrypoints.cc',
254 'system/handle_signals_state.h', 75 'system/handle_signals_state.h',
255 'system/handle_table.cc', 76 'system/handle_table.cc',
256 'system/handle_table.h', 77 'system/handle_table.h',
257 'system/local_data_pipe.cc', 78 'system/local_data_pipe.cc',
258 'system/local_data_pipe.h', 79 'system/local_data_pipe.h',
259 'system/local_message_pipe_endpoint.cc', 80 'system/local_message_pipe_endpoint.cc',
260 'system/local_message_pipe_endpoint.h', 81 'system/local_message_pipe_endpoint.h',
261 'system/mapping_table.cc', 82 'system/mapping_table.cc',
262 'system/mapping_table.h', 83 'system/mapping_table.h',
263 'system/memory.cc', 84 'system/memory.cc',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 # hopefully be dead-stripped. 118 # hopefully be dead-stripped.
298 'embedder/test_embedder.cc', 119 'embedder/test_embedder.cc',
299 'embedder/test_embedder.h', 120 'embedder/test_embedder.h',
300 ], 121 ],
301 'all_dependent_settings': { 122 'all_dependent_settings': {
302 # Ensures that dependent projects import the core functions on Windows. 123 # Ensures that dependent projects import the core functions on Windows.
303 'defines': ['MOJO_USE_SYSTEM_IMPL'], 124 'defines': ['MOJO_USE_SYSTEM_IMPL'],
304 } 125 }
305 }, 126 },
306 { 127 {
307 # GN version: //mojo/edk/system:mojo_system_unittests
308 'target_name': 'mojo_system_unittests',
309 'type': 'executable',
310 'dependencies': [
311 '../../base/base.gyp:base',
312 '../../testing/gtest.gyp:gtest',
313 'mojo_common_test_support',
314 'mojo_system_impl',
315 ],
316 'sources': [
317 'embedder/embedder_unittest.cc',
318 'embedder/platform_channel_pair_posix_unittest.cc',
319 'embedder/simple_platform_shared_buffer_unittest.cc',
320 'system/channel_endpoint_id_unittest.cc',
321 'system/channel_unittest.cc',
322 'system/core_unittest.cc',
323 'system/core_test_base.cc',
324 'system/core_test_base.h',
325 'system/data_pipe_unittest.cc',
326 'system/dispatcher_unittest.cc',
327 'system/local_data_pipe_unittest.cc',
328 'system/memory_unittest.cc',
329 'system/message_pipe_dispatcher_unittest.cc',
330 'system/message_pipe_test_utils.h',
331 'system/message_pipe_test_utils.cc',
332 'system/message_pipe_unittest.cc',
333 'system/multiprocess_message_pipe_unittest.cc',
334 'system/options_validation_unittest.cc',
335 'system/platform_handle_dispatcher_unittest.cc',
336 'system/raw_channel_unittest.cc',
337 'system/remote_message_pipe_unittest.cc',
338 'system/run_all_unittests.cc',
339 'system/shared_buffer_dispatcher_unittest.cc',
340 'system/simple_dispatcher_unittest.cc',
341 'system/test_utils.cc',
342 'system/test_utils.h',
343 'system/waiter_list_unittest.cc',
344 'system/waiter_test_utils.cc',
345 'system/waiter_test_utils.h',
346 'system/waiter_unittest.cc',
347 ],
348 'conditions': [
349 ['OS=="ios"', {
350 'sources!': [
351 'embedder/embedder_unittest.cc',
352 'system/multiprocess_message_pipe_unittest.cc',
353 ],
354 }],
355 ],
356 },
357 {
358 # GN version: //mojo/edk/system:mojo_message_pipe_perftests
359 'target_name': 'mojo_message_pipe_perftests',
360 'type': 'executable',
361 'dependencies': [
362 '../../base/base.gyp:base',
363 '../../base/base.gyp:test_support_base',
364 '../../base/base.gyp:test_support_perf',
365 '../../testing/gtest.gyp:gtest',
366 'mojo_common_test_support',
367 'mojo_system_impl',
368 ],
369 'sources': [
370 'system/message_pipe_perftest.cc',
371 'system/message_pipe_test_utils.h',
372 'system/message_pipe_test_utils.cc',
373 'system/test_utils.cc',
374 'system/test_utils.h',
375 ],
376 },
377 {
378 # GN version: //mojo/edk/js 128 # GN version: //mojo/edk/js
379 'target_name': 'mojo_js_lib', 129 'target_name': 'mojo_js_lib',
380 'type': 'static_library', 130 'type': 'static_library',
381 'dependencies': [ 131 'dependencies': [
382 '../../base/base.gyp:base', 132 '../../base/base.gyp:base',
383 '../../gin/gin.gyp:gin', 133 '../../gin/gin.gyp:gin',
384 '../../v8/tools/gyp/v8.gyp:v8', 134 '../../v8/tools/gyp/v8.gyp:v8',
385 ], 135 ],
386 'export_dependent_settings': [ 136 'export_dependent_settings': [
387 '../../base/base.gyp:base', 137 '../../base/base.gyp:base',
388 '../../gin/gin.gyp:gin', 138 '../../gin/gin.gyp:gin',
389 ], 139 ],
390 'sources': [ 140 'sources': [
391 # Sources list duplicated in GN build. 141 # Sources list duplicated in GN build.
392 'js/core.cc', 142 'js/core.cc',
393 'js/core.h', 143 'js/core.h',
394 'js/drain_data.cc', 144 'js/drain_data.cc',
395 'js/drain_data.h', 145 'js/drain_data.h',
396 'js/handle.cc', 146 'js/handle.cc',
397 'js/handle.h', 147 'js/handle.h',
398 'js/handle_close_observer.h', 148 'js/handle_close_observer.h',
149 'js/mojo_runner_delegate.cc',
150 'js/mojo_runner_delegate.h',
399 'js/support.cc', 151 'js/support.cc',
400 'js/support.h', 152 'js/support.h',
153 'js/threading.cc',
154 'js/threading.h',
401 'js/waiting_callback.cc', 155 'js/waiting_callback.cc',
402 'js/waiting_callback.h', 156 'js/waiting_callback.h',
403 ], 157 ],
404 }, 158 },
405 { 159 {
406 # GN version: //mojo/edk/js:js_unittests 160 # GN version: //mojo/edk/test:test_support_impl
407 'target_name': 'mojo_js_unittests',
408 'type': 'executable',
409 'dependencies': [
410 '../../gin/gin.gyp:gin_test',
411 'mojo_common_test_support',
412 'mojo_run_all_unittests',
413 'mojo_js_lib',
414 '../public/mojo_public.gyp:mojo_environment_standalone',
415 '../public/mojo_public.gyp:mojo_public_test_interfaces',
416 '../public/mojo_public.gyp:mojo_utility',
417 ],
418 'sources': [
419 'js/handle_unittest.cc',
420 'js/tests/run_js_tests.cc',
421 ],
422 },
423 {
424 # GN version: //mojo/common/test:test_support_impl
425 'target_name': 'mojo_test_support_impl', 161 'target_name': 'mojo_test_support_impl',
426 'type': 'static_library', 162 'type': 'static_library',
427 'dependencies': [ 163 'dependencies': [
428 '../../base/base.gyp:base', 164 '../../base/base.gyp:base',
429 ], 165 ],
430 'sources': [ 166 'sources': [
431 'test/test_support_impl.cc', 167 'test/test_support_impl.cc',
432 'test/test_support_impl.h', 168 'test/test_support_impl.h',
433 ], 169 ],
434 }, 170 },
(...skipping 15 matching lines...) Expand all
450 'test/test_utils_win.cc', 186 'test/test_utils_win.cc',
451 ], 187 ],
452 'conditions': [ 188 'conditions': [
453 ['OS=="ios"', { 189 ['OS=="ios"', {
454 'sources!': [ 190 'sources!': [
455 'test/multiprocess_test_helper.cc', 191 'test/multiprocess_test_helper.cc',
456 ], 192 ],
457 }], 193 }],
458 ], 194 ],
459 }, 195 },
196 {
197 # GN version: //mojo/edk/test:run_all_unittests
198 'target_name': 'mojo_run_all_unittests',
199 'type': 'static_library',
200 'dependencies': [
201 '../../base/base.gyp:base',
202 '../../base/base.gyp:test_support_base',
203 '../../testing/gtest.gyp:gtest',
204 'mojo_system_impl',
205 'mojo_test_support_impl',
206 '../public/mojo_public.gyp:mojo_test_support',
207 ],
208 'sources': [
209 'test/run_all_unittests.cc',
210 ],
211 },
212 {
213 # GN version: //mojo/edk/test:run_all_perftests
214 'target_name': 'mojo_run_all_perftests',
215 'type': 'static_library',
216 'dependencies': [
217 '../../base/base.gyp:test_support_base',
218 'mojo_edk.gyp:mojo_system_impl',
219 'mojo_test_support_impl',
220 '../public/mojo_public.gyp:mojo_test_support',
221 ],
222 'sources': [
223 'test/run_all_perftests.cc',
224 ],
225 },
460 ], 226 ],
461 } 227 }
OLDNEW
« no previous file with comments | « mojo/edk/js/waiting_callback.h ('k') | mojo/edk/mojo_edk_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698