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

Side by Side Diff: mojo/mojo.gyp

Issue 360563004: Enable Mojo on iOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reduce diff in mojo_public.gypi Created 6 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « content/content_app.gypi ('k') | mojo/mojo_public.gypi » ('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 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',
11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"', 11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"',
12 ], 12 ],
13 }], 13 }],
14 ], 14 ],
15 }, 15 },
16 'variables': { 16 'variables': {
17 'chromium_code': 1, 17 'chromium_code': 1,
18 'mojo_shell_debug_url%': "", 18 'mojo_shell_debug_url%': "",
19 }, 19 },
20 'includes': [ 20 'includes': [
21 'mojo_apps.gypi',
22 'mojo_examples.gypi',
23 'mojo_public.gypi', 21 'mojo_public.gypi',
24 'mojo_services.gypi',
25 ], 22 ],
26 'targets': [ 23 'targets': [
27 { 24 {
28 'target_name': 'mojo', 25 'target_name': 'mojo',
29 'type': 'none', 26 'type': 'none',
30 'dependencies': [ 27 'dependencies': [
31 'mojo_apps_js_unittests',
32 'mojo_compositor_app',
33 'mojo_common_lib', 28 'mojo_common_lib',
34 'mojo_common_unittests', 29 'mojo_common_unittests',
35 'mojo_cpp_bindings', 30 'mojo_cpp_bindings',
36 'mojo_geometry_lib',
37 'mojo_html_viewer',
38 'mojo_js',
39 'mojo_js_bindings',
40 'mojo_js_unittests',
41 'mojo_launcher',
42 'mojo_message_generator', 31 'mojo_message_generator',
43 'mojo_native_viewport_service',
44 'mojo_network_service',
45 'mojo_pepper_container_app',
46 'mojo_png_viewer',
47 'mojo_profile_service',
48 'mojo_public_application_unittests', 32 'mojo_public_application_unittests',
49 'mojo_public_test_utils', 33 'mojo_public_test_utils',
50 'mojo_public_bindings_unittests', 34 'mojo_public_bindings_unittests',
51 'mojo_public_environment_unittests', 35 'mojo_public_environment_unittests',
52 'mojo_public_system_perftests', 36 'mojo_public_system_perftests',
53 'mojo_public_system_unittests', 37 'mojo_public_system_unittests',
54 'mojo_public_utility_unittests', 38 'mojo_public_utility_unittests',
55 'mojo_sample_app',
56 'mojo_service_manager', 39 'mojo_service_manager',
57 'mojo_service_manager_unittests', 40 'mojo_service_manager_unittests',
58 'mojo_shell',
59 'mojo_shell_lib',
60 'mojo_shell_tests',
61 'mojo_system', 41 'mojo_system',
62 'mojo_system_impl', 42 'mojo_system_impl',
63 'mojo_system_unittests', 43 'mojo_system_unittests',
64 'mojo_test_service',
65 'mojo_utility', 44 'mojo_utility',
66 'mojo_view_manager_lib',
67 'mojo_view_manager_lib_unittests',
68 'mojo_wget',
69 ], 45 ],
70 'conditions': [ 46 'conditions': [
47 ['OS != "ios"', {
48 'dependencies': [
49 'mojo_apps_js_unittests',
50 'mojo_compositor_app',
51 'mojo_geometry_lib',
52 'mojo_html_viewer',
53 'mojo_js',
54 'mojo_js_bindings',
55 'mojo_js_unittests',
56 'mojo_launcher',
57 'mojo_native_viewport_service',
58 'mojo_network_service',
59 'mojo_pepper_container_app',
60 'mojo_png_viewer',
61 'mojo_profile_service',
62 'mojo_sample_app',
63 'mojo_shell',
64 'mojo_shell_lib',
65 'mojo_shell_tests',
66 'mojo_test_service',
67 'mojo_view_manager_lib',
68 'mojo_view_manager_lib_unittests',
69 'mojo_wget',
70 ],
71 }],
71 ['use_aura==1', { 72 ['use_aura==1', {
72 'dependencies': [ 73 'dependencies': [
73 'mojo_aura_demo', 74 'mojo_aura_demo',
74 'mojo_aura_demo_init', 75 'mojo_aura_demo_init',
75 'mojo_browser', 76 'mojo_browser',
76 'mojo_demo_launcher', 77 'mojo_demo_launcher',
77 'mojo_embedded_app', 78 'mojo_embedded_app',
78 'mojo_keyboard', 79 'mojo_keyboard',
79 'mojo_media_viewer', 80 'mojo_media_viewer',
80 'mojo_nesting_app', 81 'mojo_nesting_app',
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 'system/remote_message_pipe_unittest.cc', 275 'system/remote_message_pipe_unittest.cc',
275 'system/shared_buffer_dispatcher_unittest.cc', 276 'system/shared_buffer_dispatcher_unittest.cc',
276 'system/simple_dispatcher_unittest.cc', 277 'system/simple_dispatcher_unittest.cc',
277 'system/test_utils.cc', 278 'system/test_utils.cc',
278 'system/test_utils.h', 279 'system/test_utils.h',
279 'system/waiter_list_unittest.cc', 280 'system/waiter_list_unittest.cc',
280 'system/waiter_test_utils.cc', 281 'system/waiter_test_utils.cc',
281 'system/waiter_test_utils.h', 282 'system/waiter_test_utils.h',
282 'system/waiter_unittest.cc', 283 'system/waiter_unittest.cc',
283 ], 284 ],
284 }, 285 'conditions': [
285 { 286 ['OS=="ios"', {
286 'target_name': 'mojo_gles2_impl', 287 'sources!': [
287 'type': '<(component)', 288 'embedder/embedder_unittest.cc',
288 'dependencies': [ 289 'system/multiprocess_message_pipe_unittest.cc',
289 '../base/base.gyp:base', 290 ],
290 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 291 }],
291 '../gpu/gpu.gyp:command_buffer_client',
292 '../gpu/gpu.gyp:command_buffer_common',
293 '../gpu/gpu.gyp:gles2_cmd_helper',
294 '../gpu/gpu.gyp:gles2_implementation',
295 'mojo_gles2',
296 'mojo_gles2_bindings',
297 'mojo_environment_chromium',
298 'mojo_system_impl',
299 ],
300 'defines': [
301 'MOJO_GLES2_IMPL_IMPLEMENTATION',
302 ],
303 'sources': [
304 'gles2/command_buffer_client_impl.cc',
305 'gles2/command_buffer_client_impl.h',
306 'gles2/gles2_impl_export.h',
307 'gles2/gles2_support_impl.cc',
308 'gles2/gles2_support_impl.h',
309 'gles2/gles2_context.cc',
310 'gles2/gles2_context.h',
311 ], 292 ],
312 }, 293 },
313 { 294 {
314 'target_name': 'mojo_test_support_impl', 295 'target_name': 'mojo_test_support_impl',
315 'type': 'static_library', 296 'type': 'static_library',
316 'dependencies': [ 297 'dependencies': [
317 '../base/base.gyp:base', 298 '../base/base.gyp:base',
318 ], 299 ],
319 'sources': [ 300 'sources': [
320 'common/test/test_support_impl.cc', 301 'common/test/test_support_impl.cc',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 '../testing/gtest.gyp:gtest', 341 '../testing/gtest.gyp:gtest',
361 'mojo_system_impl', 342 'mojo_system_impl',
362 ], 343 ],
363 'sources': [ 344 'sources': [
364 'common/test/multiprocess_test_helper.cc', 345 'common/test/multiprocess_test_helper.cc',
365 'common/test/multiprocess_test_helper.h', 346 'common/test/multiprocess_test_helper.h',
366 'common/test/test_utils.h', 347 'common/test/test_utils.h',
367 'common/test/test_utils_posix.cc', 348 'common/test/test_utils_posix.cc',
368 'common/test/test_utils_win.cc', 349 'common/test/test_utils_win.cc',
369 ], 350 ],
351 'conditions': [
352 ['OS=="ios"', {
353 'sources!': [
354 'common/test/multiprocess_test_helper.cc',
355 'common/test/multiprocess_test_helper.h',
356 ],
357 }],
358 ],
370 }, 359 },
371 { 360 {
372 'target_name': 'mojo_common_unittests', 361 'target_name': 'mojo_common_unittests',
373 'type': 'executable', 362 'type': 'executable',
374 'dependencies': [ 363 'dependencies': [
375 '../base/base.gyp:base', 364 '../base/base.gyp:base',
376 '../base/base.gyp:base_message_loop_tests', 365 '../base/base.gyp:base_message_loop_tests',
377 '../testing/gtest.gyp:gtest', 366 '../testing/gtest.gyp:gtest',
378 'mojo_cpp_bindings', 367 'mojo_cpp_bindings',
379 'mojo_environment_chromium', 368 'mojo_environment_chromium',
380 'mojo_common_lib', 369 'mojo_common_lib',
381 'mojo_common_test_support', 370 'mojo_common_test_support',
382 'mojo_public_test_utils', 371 'mojo_public_test_utils',
383 'mojo_run_all_unittests', 372 'mojo_run_all_unittests',
384 ], 373 ],
385 'sources': [ 374 'sources': [
386 'common/common_type_converters_unittest.cc', 375 'common/common_type_converters_unittest.cc',
387 'common/handle_watcher_unittest.cc', 376 'common/handle_watcher_unittest.cc',
388 'common/message_pump_mojo_unittest.cc', 377 'common/message_pump_mojo_unittest.cc',
389 'common/test/multiprocess_test_helper_unittest.cc', 378 'common/test/multiprocess_test_helper_unittest.cc',
390 ], 379 ],
380 'conditions': [
381 ['OS=="ios"', {
382 'sources!': [
383 'common/test/multiprocess_test_helper_unittest.cc',
384 ],
385 }],
386 ],
391 }, 387 },
392 { 388 {
393 # GN version: //mojo/environment:chromium 389 # GN version: //mojo/environment:chromium
394 'target_name': 'mojo_environment_chromium', 390 'target_name': 'mojo_environment_chromium',
395 'type': 'static_library', 391 'type': 'static_library',
396 'dependencies': [ 392 'dependencies': [
397 'mojo_common_lib', 393 'mojo_common_lib',
398 'mojo_environment_chromium_impl', 394 'mojo_environment_chromium_impl',
399 ], 395 ],
400 'sources': [ 396 'sources': [
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 'service_manager/service_manager.cc', 452 'service_manager/service_manager.cc',
457 'service_manager/service_manager.h', 453 'service_manager/service_manager.h',
458 'service_manager/service_manager_export.h', 454 'service_manager/service_manager_export.h',
459 ], 455 ],
460 'export_dependent_settings': [ 456 'export_dependent_settings': [
461 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 457 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
462 'mojo_service_provider_bindings', 458 'mojo_service_provider_bindings',
463 ], 459 ],
464 }, 460 },
465 { 461 {
466 'target_name': 'mojo_spy',
467 'type': 'static_library',
468 'dependencies': [
469 '../base/base.gyp:base',
470 '../base/base.gyp:base_static',
471 '../net/net.gyp:http_server',
472 '../url/url.gyp:url_lib',
473 'mojo_service_manager',
474 ],
475 'sources': [
476 'spy/spy.cc',
477 'spy/spy.h',
478 'spy/websocket_server.cc',
479 'spy/websocket_server.h',
480 ],
481 },
482 {
483 'target_name': 'mojo_shell_lib',
484 'type': 'static_library',
485 'dependencies': [
486 '../base/base.gyp:base',
487 '../base/base.gyp:base_static',
488 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
489 '../net/net.gyp:net',
490 '../url/url.gyp:url_lib',
491 'mojo_application',
492 'mojo_external_service_bindings',
493 'mojo_gles2_impl',
494 'mojo_native_viewport_service',
495 'mojo_network_bindings',
496 'mojo_profile_service',
497 'mojo_service_manager',
498 'mojo_service_provider_bindings',
499 'mojo_spy',
500 'mojo_system_impl',
501 ],
502 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
503 'sources': [
504 'shell/app_child_process.cc',
505 'shell/app_child_process.h',
506 'shell/app_child_process.mojom',
507 'shell/app_child_process_host.cc',
508 'shell/app_child_process_host.h',
509 'shell/child_process.cc',
510 'shell/child_process.h',
511 'shell/child_process_host.cc',
512 'shell/child_process_host.h',
513 'shell/context.cc',
514 'shell/context.h',
515 'shell/dbus_service_loader_linux.cc',
516 'shell/dbus_service_loader_linux.h',
517 'shell/dynamic_service_loader.cc',
518 'shell/dynamic_service_loader.h',
519 'shell/dynamic_service_runner.h',
520 'shell/init.cc',
521 'shell/init.h',
522 'shell/in_process_dynamic_service_runner.cc',
523 'shell/in_process_dynamic_service_runner.h',
524 'shell/keep_alive.cc',
525 'shell/keep_alive.h',
526 'shell/mojo_url_resolver.cc',
527 'shell/mojo_url_resolver.h',
528 'shell/out_of_process_dynamic_service_runner.cc',
529 'shell/out_of_process_dynamic_service_runner.h',
530 'shell/profile_service_loader.cc',
531 'shell/profile_service_loader.h',
532 'shell/run.cc',
533 'shell/run.h',
534 'shell/switches.cc',
535 'shell/switches.h',
536 'shell/task_runners.cc',
537 'shell/task_runners.h',
538 'shell/test_child_process.cc',
539 'shell/test_child_process.h',
540 'shell/view_manager_loader.cc',
541 'shell/view_manager_loader.h',
542 ],
543 'conditions': [
544 ['OS=="linux"', {
545 'dependencies': [
546 '../build/linux/system.gyp:dbus',
547 '../dbus/dbus.gyp:dbus',
548 ],
549 }],
550 ['use_aura==1', {
551 'dependencies': [
552 # These are only necessary as long as we hard code use of ViewManage r.
553 '../skia/skia.gyp:skia',
554 'mojo_gles2',
555 'mojo_view_manager',
556 'mojo_view_manager_bindings',
557 ],
558 }, { # use_aura==0
559 'sources!': [
560 'shell/view_manager_loader.cc',
561 'shell/view_manager_loader.h',
562 ],
563 }],
564 ],
565 },
566 {
567 'target_name': 'mojo_shell_test_support',
568 'type': 'static_library',
569 'dependencies': [
570 '../base/base.gyp:base',
571 '../base/base.gyp:base_static',
572 '../url/url.gyp:url_lib',
573 'mojo_service_manager',
574 'mojo_shell_lib',
575 'mojo_system_impl',
576 ],
577 'sources': [
578 'shell/shell_test_helper.cc',
579 'shell/shell_test_helper.h',
580 ],
581 },
582 {
583 'target_name': 'mojo_shell',
584 'type': 'executable',
585 'dependencies': [
586 '../base/base.gyp:base',
587 '../ui/gl/gl.gyp:gl',
588 '../url/url.gyp:url_lib',
589 'mojo_common_lib',
590 'mojo_environment_chromium',
591 'mojo_service_manager',
592 'mojo_shell_lib',
593 'mojo_system_impl',
594 ],
595 'conditions': [
596 ['use_ozone==1', {
597 'dependencies': [
598 '../ui/ozone/ozone.gyp:ozone',
599 ],
600 }],
601 ],
602 'sources': [
603 'shell/desktop/mojo_main.cc',
604 ],
605 },
606 {
607 'target_name': 'mojo_shell_tests',
608 'type': '<(gtest_target_type)',
609 'dependencies': [
610 '../base/base.gyp:base',
611 '../base/base.gyp:test_support_base',
612 '../testing/gtest.gyp:gtest',
613 # TODO(vtl): We don't currently need this, but I imagine we will soon.
614 # '../ui/gl/gl.gyp:gl',
615 '../url/url.gyp:url_lib',
616 'mojo_common_lib',
617 'mojo_environment_chromium',
618 'mojo_service_manager',
619 'mojo_shell_lib',
620 'mojo_system_impl',
621 'mojo_test_service',
622 'mojo_test_service_bindings',
623 ],
624 'sources': [
625 'shell/child_process_host_unittest.cc',
626 'shell/shell_test_base.cc',
627 'shell/shell_test_base.h',
628 'shell/shell_test_base_unittest.cc',
629 'shell/shell_test_main.cc',
630 ],
631 'conditions': [
632 ['OS == "android"', {
633 'dependencies': [
634 '../testing/android/native_test.gyp:native_test_native_code',
635 ],
636 }],
637 ],
638 },
639 {
640 'target_name': 'mojo_service_manager_unittests', 462 'target_name': 'mojo_service_manager_unittests',
641 'type': 'executable', 463 'type': 'executable',
642 'dependencies': [ 464 'dependencies': [
643 '../base/base.gyp:base', 465 '../base/base.gyp:base',
644 '../testing/gtest.gyp:gtest', 466 '../testing/gtest.gyp:gtest',
645 '../url/url.gyp:url_lib', 467 '../url/url.gyp:url_lib',
646 'mojo_common_lib', 468 'mojo_common_lib',
647 'mojo_cpp_bindings', 469 'mojo_cpp_bindings',
648 'mojo_environment_chromium', 470 'mojo_environment_chromium',
649 'mojo_run_all_unittests', 471 'mojo_run_all_unittests',
650 'mojo_service_manager', 472 'mojo_service_manager',
651 'mojo_application', 473 'mojo_application',
652 ], 474 ],
653 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 475 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
654 'sources': [ 476 'sources': [
655 'service_manager/service_manager_unittest.cc', 477 'service_manager/service_manager_unittest.cc',
656 'service_manager/test.mojom', 478 'service_manager/test.mojom',
657 ], 479 ],
658 }, 480 },
659 { 481 {
660 'target_name': 'mojo_js_bindings_lib',
661 'type': 'static_library',
662 'dependencies': [
663 '../base/base.gyp:base',
664 '../gin/gin.gyp:gin',
665 '../v8/tools/gyp/v8.gyp:v8',
666 'mojo_common_lib',
667 ],
668 'export_dependent_settings': [
669 '../base/base.gyp:base',
670 '../gin/gin.gyp:gin',
671 'mojo_common_lib',
672 ],
673 'sources': [
674 'bindings/js/core.cc',
675 'bindings/js/core.h',
676 'bindings/js/handle.cc',
677 'bindings/js/handle.h',
678 'bindings/js/support.cc',
679 'bindings/js/support.h',
680 'bindings/js/waiting_callback.cc',
681 'bindings/js/waiting_callback.h',
682 ],
683 },
684 {
685 'target_name': 'mojo_js_unittests',
686 'type': 'executable',
687 'dependencies': [
688 '../gin/gin.gyp:gin_test',
689 'mojo_common_test_support',
690 'mojo_js_bindings_lib',
691 'mojo_run_all_unittests',
692 'mojo_public_test_interfaces',
693 ],
694 'sources': [
695 'bindings/js/run_js_tests.cc',
696 ],
697 },
698 {
699 'target_name': 'mojo_message_generator', 482 'target_name': 'mojo_message_generator',
700 'type': 'executable', 483 'type': 'executable',
701 'dependencies': [ 484 'dependencies': [
702 '../base/base.gyp:base', 485 '../base/base.gyp:base',
703 '../testing/gtest.gyp:gtest', 486 '../testing/gtest.gyp:gtest',
704 'mojo_common_lib', 487 'mojo_common_lib',
705 'mojo_cpp_bindings', 488 'mojo_cpp_bindings',
706 'mojo_environment_chromium', 489 'mojo_environment_chromium',
707 'mojo_system_impl', 490 'mojo_system_impl',
708 ], 491 ],
709 'sources': [ 492 'sources': [
710 'tools/message_generator.cc', 493 'tools/message_generator.cc',
711 ], 494 ],
712 }, 495 },
713 {
714 'target_name': 'mojo_cc_support',
715 'type': 'static_library',
716 'dependencies': [
717 '../base/base.gyp:base',
718 '../cc/cc.gyp:cc',
719 '../skia/skia.gyp:skia',
720 '../gpu/gpu.gyp:gles2_implementation',
721 'mojo_gles2',
722 ],
723 'sources': [
724 'cc/context_provider_mojo.cc',
725 'cc/context_provider_mojo.h',
726 ],
727 },
728 ], 496 ],
729 'conditions': [ 497 'conditions': [
498 ['OS!="ios"', {
499 'includes': [
500 'mojo_apps.gypi',
501 'mojo_examples.gypi',
502 'mojo_services.gypi',
503 ],
504 'targets': [
505 {
506 'target_name': 'mojo_gles2_impl',
507 'type': '<(component)',
508 'dependencies': [
509 '../base/base.gyp:base',
510 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
511 '../gpu/gpu.gyp:command_buffer_client',
512 '../gpu/gpu.gyp:command_buffer_common',
513 '../gpu/gpu.gyp:gles2_cmd_helper',
514 '../gpu/gpu.gyp:gles2_implementation',
515 'mojo_gles2',
516 'mojo_gles2_bindings',
517 'mojo_environment_chromium',
518 'mojo_system_impl',
519 ],
520 'defines': [
521 'MOJO_GLES2_IMPL_IMPLEMENTATION',
522 ],
523 'sources': [
524 'gles2/command_buffer_client_impl.cc',
525 'gles2/command_buffer_client_impl.h',
526 'gles2/gles2_impl_export.h',
527 'gles2/gles2_support_impl.cc',
528 'gles2/gles2_support_impl.h',
529 'gles2/gles2_context.cc',
530 'gles2/gles2_context.h',
531 ],
532 },
533 {
534 'target_name': 'mojo_spy',
535 'type': 'static_library',
536 'dependencies': [
537 '../base/base.gyp:base',
538 '../base/base.gyp:base_static',
539 '../net/net.gyp:http_server',
540 '../url/url.gyp:url_lib',
541 'mojo_service_manager',
542 ],
543 'sources': [
544 'spy/spy.cc',
545 'spy/spy.h',
546 'spy/websocket_server.cc',
547 'spy/websocket_server.h',
548 ],
549 },
550 {
551 'target_name': 'mojo_shell_lib',
552 'type': 'static_library',
553 'dependencies': [
554 '../base/base.gyp:base',
555 '../base/base.gyp:base_static',
556 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
557 '../net/net.gyp:net',
558 '../url/url.gyp:url_lib',
559 'mojo_application',
560 'mojo_external_service_bindings',
561 'mojo_gles2_impl',
562 'mojo_native_viewport_service',
563 'mojo_network_bindings',
564 'mojo_profile_service',
565 'mojo_service_manager',
566 'mojo_service_provider_bindings',
567 'mojo_spy',
568 'mojo_system_impl',
569 ],
570 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
571 'sources': [
572 'shell/app_child_process.cc',
573 'shell/app_child_process.h',
574 'shell/app_child_process.mojom',
575 'shell/app_child_process_host.cc',
576 'shell/app_child_process_host.h',
577 'shell/child_process.cc',
578 'shell/child_process.h',
579 'shell/child_process_host.cc',
580 'shell/child_process_host.h',
581 'shell/context.cc',
582 'shell/context.h',
583 'shell/dbus_service_loader_linux.cc',
584 'shell/dbus_service_loader_linux.h',
585 'shell/dynamic_service_loader.cc',
586 'shell/dynamic_service_loader.h',
587 'shell/dynamic_service_runner.h',
588 'shell/init.cc',
589 'shell/init.h',
590 'shell/in_process_dynamic_service_runner.cc',
591 'shell/in_process_dynamic_service_runner.h',
592 'shell/keep_alive.cc',
593 'shell/keep_alive.h',
594 'shell/mojo_url_resolver.cc',
595 'shell/mojo_url_resolver.h',
596 'shell/out_of_process_dynamic_service_runner.cc',
597 'shell/out_of_process_dynamic_service_runner.h',
598 'shell/profile_service_loader.cc',
599 'shell/profile_service_loader.h',
600 'shell/run.cc',
601 'shell/run.h',
602 'shell/switches.cc',
603 'shell/switches.h',
604 'shell/task_runners.cc',
605 'shell/task_runners.h',
606 'shell/test_child_process.cc',
607 'shell/test_child_process.h',
608 'shell/view_manager_loader.cc',
609 'shell/view_manager_loader.h',
610 ],
611 'conditions': [
612 ['OS=="linux"', {
613 'dependencies': [
614 '../build/linux/system.gyp:dbus',
615 '../dbus/dbus.gyp:dbus',
616 ],
617 }],
618 ['use_aura==1', {
619 'dependencies': [
620 # These are only necessary as long as we hard code use of
621 # ViewManager.
622 '../skia/skia.gyp:skia',
623 'mojo_gles2',
624 'mojo_view_manager',
625 'mojo_view_manager_bindings',
626 ],
627 }, { # use_aura==0
628 'sources!': [
629 'shell/view_manager_loader.cc',
630 'shell/view_manager_loader.h',
631 ],
632 }],
633 ],
634 },
635 {
636 'target_name': 'mojo_shell_test_support',
637 'type': 'static_library',
638 'dependencies': [
639 '../base/base.gyp:base',
640 '../base/base.gyp:base_static',
641 '../url/url.gyp:url_lib',
642 'mojo_service_manager',
643 'mojo_shell_lib',
644 'mojo_system_impl',
645 ],
646 'sources': [
647 'shell/shell_test_helper.cc',
648 'shell/shell_test_helper.h',
649 ],
650 },
651 {
652 'target_name': 'mojo_shell',
653 'type': 'executable',
654 'dependencies': [
655 '../base/base.gyp:base',
656 '../ui/gl/gl.gyp:gl',
657 '../url/url.gyp:url_lib',
658 'mojo_common_lib',
659 'mojo_environment_chromium',
660 'mojo_service_manager',
661 'mojo_shell_lib',
662 'mojo_system_impl',
663 ],
664 'conditions': [
665 ['use_ozone==1', {
666 'dependencies': [
667 '../ui/ozone/ozone.gyp:ozone',
668 ],
669 }],
670 ],
671 'sources': [
672 'shell/desktop/mojo_main.cc',
673 ],
674 },
675 {
676 'target_name': 'mojo_shell_tests',
677 'type': '<(gtest_target_type)',
678 'dependencies': [
679 '../base/base.gyp:base',
680 '../base/base.gyp:test_support_base',
681 '../testing/gtest.gyp:gtest',
682 # TODO(vtl): We don't currently need this, but I imagine we will
683 # soon.
684 # '../ui/gl/gl.gyp:gl',
685 '../url/url.gyp:url_lib',
686 'mojo_common_lib',
687 'mojo_environment_chromium',
688 'mojo_service_manager',
689 'mojo_shell_lib',
690 'mojo_system_impl',
691 'mojo_test_service',
692 'mojo_test_service_bindings',
693 ],
694 'sources': [
695 'shell/child_process_host_unittest.cc',
696 'shell/shell_test_base.cc',
697 'shell/shell_test_base.h',
698 'shell/shell_test_base_unittest.cc',
699 'shell/shell_test_main.cc',
700 ],
701 'conditions': [
702 ['OS == "android"', {
703 'dependencies': [
704 '../testing/android/native_test.gyp:native_test_native_code',
705 ],
706 }],
707 ],
708 },
709 {
710 'target_name': 'mojo_js_bindings_lib',
711 'type': 'static_library',
712 'dependencies': [
713 '../base/base.gyp:base',
714 '../gin/gin.gyp:gin',
715 '../v8/tools/gyp/v8.gyp:v8',
716 'mojo_common_lib',
717 ],
718 'export_dependent_settings': [
719 '../base/base.gyp:base',
720 '../gin/gin.gyp:gin',
721 'mojo_common_lib',
722 ],
723 'sources': [
724 'bindings/js/core.cc',
725 'bindings/js/core.h',
726 'bindings/js/handle.cc',
727 'bindings/js/handle.h',
728 'bindings/js/support.cc',
729 'bindings/js/support.h',
730 'bindings/js/waiting_callback.cc',
731 'bindings/js/waiting_callback.h',
732 ],
733 },
734 {
735 'target_name': 'mojo_js_unittests',
736 'type': 'executable',
737 'dependencies': [
738 '../gin/gin.gyp:gin_test',
739 'mojo_common_test_support',
740 'mojo_js_bindings_lib',
741 'mojo_run_all_unittests',
742 'mojo_public_test_interfaces',
743 ],
744 'sources': [
745 'bindings/js/run_js_tests.cc',
746 ],
747 },
748 {
749 'target_name': 'mojo_cc_support',
750 'type': 'static_library',
751 'dependencies': [
752 '../base/base.gyp:base',
753 '../cc/cc.gyp:cc',
754 '../skia/skia.gyp:skia',
755 '../gpu/gpu.gyp:gles2_implementation',
756 'mojo_gles2',
757 ],
758 'sources': [
759 'cc/context_provider_mojo.cc',
760 'cc/context_provider_mojo.h',
761 ],
762 },
763 ],
764 }],
730 ['OS=="android"', { 765 ['OS=="android"', {
731 'targets': [ 766 'targets': [
732 { 767 {
733 'target_name': 'mojo_jni_headers', 768 'target_name': 'mojo_jni_headers',
734 'type': 'none', 769 'type': 'none',
735 'dependencies': [ 770 'dependencies': [
736 'mojo_java_set_jni_headers', 771 'mojo_java_set_jni_headers',
737 ], 772 ],
738 'sources': [ 773 'sources': [
739 'android/javatests/src/org/chromium/mojo/MojoTestCase.java', 774 'android/javatests/src/org/chromium/mojo/MojoTestCase.java',
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 'views/views_init_internal.h', 1026 'views/views_init_internal.h',
992 ], 1027 ],
993 'defines': [ 1028 'defines': [
994 'MOJO_VIEWS_IMPLEMENTATION', 1029 'MOJO_VIEWS_IMPLEMENTATION',
995 ], 1030 ],
996 }, 1031 },
997 ], 1032 ],
998 }], 1033 }],
999 ], 1034 ],
1000 } 1035 }
OLDNEW
« no previous file with comments | « content/content_app.gypi ('k') | mojo/mojo_public.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698