OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'target_defaults': { | 6 'target_defaults': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['mojo_shell_debug_url != ""', { | 8 ['mojo_shell_debug_url != ""', { |
9 'defines': [ | 9 'defines': [ |
10 'MOJO_SHELL_DEBUG=1', | 10 'MOJO_SHELL_DEBUG=1', |
(...skipping 18 matching lines...) Expand all Loading... |
29 'type': 'none', | 29 'type': 'none', |
30 'dependencies': [ | 30 'dependencies': [ |
31 'mojo_apps_js_unittests', | 31 'mojo_apps_js_unittests', |
32 'mojo_bindings', | 32 'mojo_bindings', |
33 'mojo_compositor_app', | 33 'mojo_compositor_app', |
34 'mojo_common_lib', | 34 'mojo_common_lib', |
35 'mojo_common_unittests', | 35 'mojo_common_unittests', |
36 'mojo_js', | 36 'mojo_js', |
37 'mojo_js_unittests', | 37 'mojo_js_unittests', |
38 'mojo_message_generator', | 38 'mojo_message_generator', |
| 39 'mojo_native_viewport_service', |
39 'mojo_pepper_container_app', | 40 'mojo_pepper_container_app', |
40 'mojo_public_test_utils', | 41 'mojo_public_test_utils', |
41 'mojo_public_bindings_unittests', | 42 'mojo_public_bindings_unittests', |
42 'mojo_public_environment_unittests', | 43 'mojo_public_environment_unittests', |
43 'mojo_public_system_perftests', | 44 'mojo_public_system_perftests', |
44 'mojo_public_system_unittests', | 45 'mojo_public_system_unittests', |
45 'mojo_public_utility_unittests', | 46 'mojo_public_utility_unittests', |
46 'mojo_sample_app', | 47 'mojo_sample_app', |
47 'mojo_service_manager', | 48 'mojo_service_manager', |
48 'mojo_service_manager_unittests', | 49 'mojo_service_manager_unittests', |
(...skipping 14 matching lines...) Expand all Loading... |
63 }], | 64 }], |
64 ] | 65 ] |
65 }, | 66 }, |
66 { | 67 { |
67 'target_name': 'mojo_run_all_unittests', | 68 'target_name': 'mojo_run_all_unittests', |
68 'type': 'static_library', | 69 'type': 'static_library', |
69 'dependencies': [ | 70 'dependencies': [ |
70 '../base/base.gyp:base', | 71 '../base/base.gyp:base', |
71 '../base/base.gyp:test_support_base', | 72 '../base/base.gyp:test_support_base', |
72 '../testing/gtest.gyp:gtest', | 73 '../testing/gtest.gyp:gtest', |
73 'mojo_system', | |
74 'mojo_system_impl', | 74 'mojo_system_impl', |
75 'mojo_test_support', | 75 'mojo_test_support', |
76 'mojo_test_support_impl', | 76 'mojo_test_support_impl', |
77 ], | 77 ], |
78 'sources': [ | 78 'sources': [ |
79 'common/test/run_all_unittests.cc', | 79 'common/test/run_all_unittests.cc', |
80 ], | 80 ], |
81 }, | 81 }, |
82 { | 82 { |
83 'target_name': 'mojo_run_all_perftests', | 83 'target_name': 'mojo_run_all_perftests', |
84 'type': 'static_library', | 84 'type': 'static_library', |
85 'dependencies': [ | 85 'dependencies': [ |
86 '../base/base.gyp:test_support_base', | 86 '../base/base.gyp:test_support_base', |
87 'mojo_system', | |
88 'mojo_system_impl', | 87 'mojo_system_impl', |
89 'mojo_test_support', | 88 'mojo_test_support', |
90 'mojo_test_support_impl', | 89 'mojo_test_support_impl', |
91 ], | 90 ], |
92 'sources': [ | 91 'sources': [ |
93 'common/test/run_all_perftests.cc', | 92 'common/test/run_all_perftests.cc', |
94 ], | 93 ], |
95 }, | 94 }, |
96 { | 95 { |
97 'target_name': 'mojo_system_impl', | 96 'target_name': 'mojo_system_impl', |
98 'type': '<(component)', | 97 'type': '<(component)', |
99 'dependencies': [ | 98 'dependencies': [ |
100 'mojo_system', | |
101 '../base/base.gyp:base', | 99 '../base/base.gyp:base', |
102 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 100 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
103 ], | 101 ], |
104 'defines': [ | 102 'defines': [ |
105 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 103 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
| 104 'MOJO_SYSTEM_IMPLEMENTATION', |
106 ], | 105 ], |
107 'sources': [ | 106 'sources': [ |
108 'embedder/embedder.cc', | 107 'embedder/embedder.cc', |
109 'embedder/embedder.h', | 108 'embedder/embedder.h', |
110 'embedder/platform_channel_pair.cc', | 109 'embedder/platform_channel_pair.cc', |
111 'embedder/platform_channel_pair.h', | 110 'embedder/platform_channel_pair.h', |
112 'embedder/platform_channel_pair_posix.cc', | 111 'embedder/platform_channel_pair_posix.cc', |
113 'embedder/platform_channel_pair_win.cc', | 112 'embedder/platform_channel_pair_win.cc', |
114 'embedder/platform_channel_utils_posix.cc', | 113 'embedder/platform_channel_utils_posix.cc', |
115 'embedder/platform_channel_utils_posix.h', | 114 'embedder/platform_channel_utils_posix.h', |
116 'embedder/platform_handle.cc', | 115 'embedder/platform_handle.cc', |
117 'embedder/platform_handle.h', | 116 'embedder/platform_handle.h', |
118 'embedder/scoped_platform_handle.h', | 117 'embedder/scoped_platform_handle.h', |
119 'system/channel.cc', | 118 'system/channel.cc', |
120 'system/channel.h', | 119 'system/channel.h', |
121 'system/constants.h', | 120 'system/constants.h', |
122 'system/core_impl.cc', | 121 'system/core.cc', |
123 'system/core_impl.h', | 122 'system/core.h', |
124 'system/data_pipe.cc', | 123 'system/data_pipe.cc', |
125 'system/data_pipe.h', | 124 'system/data_pipe.h', |
126 'system/data_pipe_consumer_dispatcher.cc', | 125 'system/data_pipe_consumer_dispatcher.cc', |
127 'system/data_pipe_consumer_dispatcher.h', | 126 'system/data_pipe_consumer_dispatcher.h', |
128 'system/data_pipe_producer_dispatcher.cc', | 127 'system/data_pipe_producer_dispatcher.cc', |
129 'system/data_pipe_producer_dispatcher.h', | 128 'system/data_pipe_producer_dispatcher.h', |
130 'system/dispatcher.cc', | 129 'system/dispatcher.cc', |
131 'system/dispatcher.h', | 130 'system/dispatcher.h', |
132 'system/handle_table.cc', | 131 'system/handle_table.cc', |
133 'system/handle_table.h', | 132 'system/handle_table.h', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 ], | 175 ], |
177 }, | 176 }, |
178 { | 177 { |
179 'target_name': 'mojo_system_unittests', | 178 'target_name': 'mojo_system_unittests', |
180 'type': 'executable', | 179 'type': 'executable', |
181 'dependencies': [ | 180 'dependencies': [ |
182 '../base/base.gyp:run_all_unittests', | 181 '../base/base.gyp:run_all_unittests', |
183 '../testing/gtest.gyp:gtest', | 182 '../testing/gtest.gyp:gtest', |
184 'mojo_common_test_support', | 183 'mojo_common_test_support', |
185 'mojo_system', | 184 'mojo_system', |
186 'mojo_system_impl', | |
187 ], | 185 ], |
188 'sources': [ | 186 'sources': [ |
189 'embedder/embedder_unittest.cc', | 187 'embedder/embedder_unittest.cc', |
190 'embedder/platform_channel_pair_posix_unittest.cc', | 188 'embedder/platform_channel_pair_posix_unittest.cc', |
191 'system/core_impl_unittest.cc', | 189 'system/core_unittest.cc', |
192 'system/core_test_base.cc', | 190 'system/core_test_base.cc', |
193 'system/core_test_base.h', | 191 'system/core_test_base.h', |
194 'system/data_pipe_unittest.cc', | 192 'system/data_pipe_unittest.cc', |
195 'system/dispatcher_unittest.cc', | 193 'system/dispatcher_unittest.cc', |
196 'system/local_data_pipe_unittest.cc', | 194 'system/local_data_pipe_unittest.cc', |
197 'system/message_pipe_dispatcher_unittest.cc', | 195 'system/message_pipe_dispatcher_unittest.cc', |
198 'system/message_pipe_unittest.cc', | 196 'system/message_pipe_unittest.cc', |
199 'system/multiprocess_message_pipe_unittest.cc', | 197 'system/multiprocess_message_pipe_unittest.cc', |
200 'system/raw_channel_unittest.cc', | 198 'system/raw_channel_unittest.cc', |
201 'system/raw_shared_buffer_unittest.cc', | 199 'system/raw_shared_buffer_unittest.cc', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 }, | 248 }, |
251 { | 249 { |
252 'target_name': 'mojo_common_lib', | 250 'target_name': 'mojo_common_lib', |
253 'type': '<(component)', | 251 'type': '<(component)', |
254 'defines': [ | 252 'defines': [ |
255 'MOJO_COMMON_IMPLEMENTATION', | 253 'MOJO_COMMON_IMPLEMENTATION', |
256 ], | 254 ], |
257 'dependencies': [ | 255 'dependencies': [ |
258 '../base/base.gyp:base', | 256 '../base/base.gyp:base', |
259 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 257 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
260 'mojo_system', | |
261 ], | 258 ], |
262 'sources': [ | 259 'sources': [ |
263 'common/common_type_converters.cc', | 260 'common/common_type_converters.cc', |
264 'common/common_type_converters.h', | 261 'common/common_type_converters.h', |
265 'common/environment_data.cc', | 262 'common/environment_data.cc', |
266 'common/environment_data.h', | 263 'common/environment_data.h', |
267 'common/handle_watcher.cc', | 264 'common/handle_watcher.cc', |
268 'common/handle_watcher.h', | 265 'common/handle_watcher.h', |
269 'common/message_pump_mojo.cc', | 266 'common/message_pump_mojo.cc', |
270 'common/message_pump_mojo.h', | 267 'common/message_pump_mojo.h', |
271 'common/message_pump_mojo_handler.h', | 268 'common/message_pump_mojo_handler.h', |
272 'common/time_helper.cc', | 269 'common/time_helper.cc', |
273 'common/time_helper.h', | 270 'common/time_helper.h', |
274 ], | 271 ], |
275 }, | 272 }, |
276 { | 273 { |
277 'target_name': 'mojo_common_test_support', | 274 'target_name': 'mojo_common_test_support', |
278 'type': 'static_library', | 275 'type': 'static_library', |
279 'dependencies': [ | 276 'dependencies': [ |
280 '../base/base.gyp:base', | 277 '../base/base.gyp:base', |
281 '../base/base.gyp:test_support_base', | 278 '../base/base.gyp:test_support_base', |
282 '../testing/gtest.gyp:gtest', | 279 '../testing/gtest.gyp:gtest', |
283 'mojo_system', | |
284 'mojo_system_impl', | 280 'mojo_system_impl', |
285 ], | 281 ], |
286 'sources': [ | 282 'sources': [ |
287 'common/test/multiprocess_test_helper.cc', | 283 'common/test/multiprocess_test_helper.cc', |
288 'common/test/multiprocess_test_helper.h', | 284 'common/test/multiprocess_test_helper.h', |
289 'common/test/test_utils.h', | 285 'common/test/test_utils.h', |
290 'common/test/test_utils_posix.cc', | 286 'common/test/test_utils_posix.cc', |
291 'common/test/test_utils_win.cc', | 287 'common/test/test_utils_win.cc', |
292 ], | 288 ], |
293 }, | 289 }, |
294 { | 290 { |
295 'target_name': 'mojo_common_unittests', | 291 'target_name': 'mojo_common_unittests', |
296 'type': 'executable', | 292 'type': 'executable', |
297 'dependencies': [ | 293 'dependencies': [ |
298 '../base/base.gyp:base', | 294 '../base/base.gyp:base', |
299 '../base/base.gyp:base_message_loop_tests', | 295 '../base/base.gyp:base_message_loop_tests', |
300 '../testing/gtest.gyp:gtest', | 296 '../testing/gtest.gyp:gtest', |
301 'mojo_bindings', | 297 'mojo_bindings', |
302 'mojo_environment_chromium', | 298 'mojo_environment_chromium', |
303 'mojo_common_lib', | 299 'mojo_common_lib', |
304 'mojo_common_test_support', | 300 'mojo_common_test_support', |
305 'mojo_public_test_utils', | 301 'mojo_public_test_utils', |
306 'mojo_run_all_unittests', | 302 'mojo_run_all_unittests', |
307 'mojo_system', | |
308 'mojo_system_impl', | 303 'mojo_system_impl', |
309 ], | 304 ], |
310 'sources': [ | 305 'sources': [ |
311 'common/common_type_converters_unittest.cc', | 306 'common/common_type_converters_unittest.cc', |
312 'common/handle_watcher_unittest.cc', | 307 'common/handle_watcher_unittest.cc', |
313 'common/message_pump_mojo_unittest.cc', | 308 'common/message_pump_mojo_unittest.cc', |
314 'common/test/multiprocess_test_helper_unittest.cc', | 309 'common/test/multiprocess_test_helper_unittest.cc', |
315 ], | 310 ], |
316 }, | 311 }, |
317 { | 312 { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 'target_name': 'mojo_shell_lib', | 393 'target_name': 'mojo_shell_lib', |
399 'type': 'static_library', | 394 'type': 'static_library', |
400 'dependencies': [ | 395 'dependencies': [ |
401 '../base/base.gyp:base', | 396 '../base/base.gyp:base', |
402 '../base/base.gyp:base_static', | 397 '../base/base.gyp:base_static', |
403 '../net/net.gyp:net', | 398 '../net/net.gyp:net', |
404 '../url/url.gyp:url_lib', | 399 '../url/url.gyp:url_lib', |
405 'mojo_gles2_impl', | 400 'mojo_gles2_impl', |
406 'mojo_service_manager', | 401 'mojo_service_manager', |
407 'mojo_shell_bindings', | 402 'mojo_shell_bindings', |
408 'mojo_system', | |
409 'mojo_system_impl', | 403 'mojo_system_impl', |
410 'mojo_native_viewport_service', | 404 'mojo_native_viewport_service', |
411 'mojo_spy', | 405 'mojo_spy', |
412 ], | 406 ], |
413 'variables': { | 407 'variables': { |
414 'mojom_base_output_dir': 'mojo', | 408 'mojom_base_output_dir': 'mojo', |
415 }, | 409 }, |
416 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 410 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
417 'sources': [ | 411 'sources': [ |
418 'shell/app_child_process.cc', | 412 'shell/app_child_process.cc', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 'target_name': 'mojo_shell', | 453 'target_name': 'mojo_shell', |
460 'type': 'executable', | 454 'type': 'executable', |
461 'dependencies': [ | 455 'dependencies': [ |
462 '../base/base.gyp:base', | 456 '../base/base.gyp:base', |
463 '../ui/gl/gl.gyp:gl', | 457 '../ui/gl/gl.gyp:gl', |
464 '../url/url.gyp:url_lib', | 458 '../url/url.gyp:url_lib', |
465 'mojo_common_lib', | 459 'mojo_common_lib', |
466 'mojo_environment_chromium', | 460 'mojo_environment_chromium', |
467 'mojo_service_manager', | 461 'mojo_service_manager', |
468 'mojo_shell_lib', | 462 'mojo_shell_lib', |
469 'mojo_system', | |
470 'mojo_system_impl', | 463 'mojo_system_impl', |
471 ], | 464 ], |
472 'sources': [ | 465 'sources': [ |
473 'shell/desktop/mojo_main.cc', | 466 'shell/desktop/mojo_main.cc', |
474 ], | 467 ], |
475 }, | 468 }, |
476 { | 469 { |
477 'target_name': 'mojo_service_manager_unittests', | 470 'target_name': 'mojo_service_manager_unittests', |
478 'type': 'executable', | 471 'type': 'executable', |
479 'dependencies': [ | 472 'dependencies': [ |
480 '../base/base.gyp:base', | 473 '../base/base.gyp:base', |
481 '../testing/gtest.gyp:gtest', | 474 '../testing/gtest.gyp:gtest', |
482 '../url/url.gyp:url_lib', | 475 '../url/url.gyp:url_lib', |
483 'mojo_bindings', | 476 'mojo_bindings', |
484 'mojo_common_lib', | 477 'mojo_common_lib', |
485 'mojo_environment_chromium', | 478 'mojo_environment_chromium', |
486 'mojo_run_all_unittests', | 479 'mojo_run_all_unittests', |
487 'mojo_service_manager', | 480 'mojo_service_manager', |
488 'mojo_shell_client', | 481 'mojo_shell_client', |
489 'mojo_system', | |
490 ], | 482 ], |
491 'variables': { | 483 'variables': { |
492 'mojom_base_output_dir': 'mojo', | 484 'mojom_base_output_dir': 'mojo', |
493 }, | 485 }, |
494 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 486 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
495 'sources': [ | 487 'sources': [ |
496 'service_manager/service_manager_unittest.cc', | 488 'service_manager/service_manager_unittest.cc', |
497 'service_manager/test.mojom', | 489 'service_manager/test.mojom', |
498 ], | 490 ], |
499 }, | 491 }, |
500 { | 492 { |
501 'target_name': 'mojo_js_bindings_lib', | 493 'target_name': 'mojo_js_bindings_lib', |
502 'type': 'static_library', | 494 'type': 'static_library', |
503 'dependencies': [ | 495 'dependencies': [ |
504 '../base/base.gyp:base', | 496 '../base/base.gyp:base', |
505 '../gin/gin.gyp:gin', | 497 '../gin/gin.gyp:gin', |
506 '../v8/tools/gyp/v8.gyp:v8', | 498 '../v8/tools/gyp/v8.gyp:v8', |
507 'mojo_common_lib', | 499 'mojo_common_lib', |
508 'mojo_system', | |
509 ], | 500 ], |
510 'export_dependent_settings': [ | 501 'export_dependent_settings': [ |
511 '../base/base.gyp:base', | 502 '../base/base.gyp:base', |
512 '../gin/gin.gyp:gin', | 503 '../gin/gin.gyp:gin', |
513 'mojo_common_lib', | 504 'mojo_common_lib', |
514 'mojo_system', | |
515 ], | 505 ], |
516 'sources': [ | 506 'sources': [ |
517 'bindings/js/core.cc', | 507 'bindings/js/core.cc', |
518 'bindings/js/core.h', | 508 'bindings/js/core.h', |
519 'bindings/js/handle.cc', | 509 'bindings/js/handle.cc', |
520 'bindings/js/handle.h', | 510 'bindings/js/handle.h', |
521 'bindings/js/support.cc', | 511 'bindings/js/support.cc', |
522 'bindings/js/support.h', | 512 'bindings/js/support.h', |
523 'bindings/js/waiting_callback.cc', | 513 'bindings/js/waiting_callback.cc', |
524 'bindings/js/waiting_callback.h', | 514 'bindings/js/waiting_callback.h', |
(...skipping 14 matching lines...) Expand all Loading... |
539 }, | 529 }, |
540 { | 530 { |
541 'target_name': 'mojo_message_generator', | 531 'target_name': 'mojo_message_generator', |
542 'type': 'executable', | 532 'type': 'executable', |
543 'dependencies': [ | 533 'dependencies': [ |
544 '../base/base.gyp:base', | 534 '../base/base.gyp:base', |
545 '../testing/gtest.gyp:gtest', | 535 '../testing/gtest.gyp:gtest', |
546 'mojo_bindings', | 536 'mojo_bindings', |
547 'mojo_common_lib', | 537 'mojo_common_lib', |
548 'mojo_environment_chromium', | 538 'mojo_environment_chromium', |
549 'mojo_system', | |
550 'mojo_system_impl', | 539 'mojo_system_impl', |
551 ], | 540 ], |
552 'sources': [ | 541 'sources': [ |
553 'tools/message_generator.cc', | 542 'tools/message_generator.cc', |
554 ], | 543 ], |
555 }, | 544 }, |
556 ], | 545 ], |
557 'conditions': [ | 546 'conditions': [ |
558 ['OS=="android"', { | 547 ['OS=="android"', { |
559 'targets': [ | 548 'targets': [ |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 'mojo_js_unittests.isolate', | 636 'mojo_js_unittests.isolate', |
648 ], | 637 ], |
649 'sources': [ | 638 'sources': [ |
650 'mojo_js_unittests.isolate', | 639 'mojo_js_unittests.isolate', |
651 ], | 640 ], |
652 }, | 641 }, |
653 ], | 642 ], |
654 }], | 643 }], |
655 ], | 644 ], |
656 } | 645 } |
OLD | NEW |