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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
58 ['use_aura==1', { | 58 ['use_aura==1', { |
59 'dependencies': [ | 59 'dependencies': [ |
60 'mojo_aura_demo', | 60 'mojo_aura_demo', |
61 'mojo_launcher', | 61 'mojo_launcher', |
62 'mojo_view_manager', | 62 'mojo_view_manager', |
63 ], | 63 ], |
64 }], | 64 }], |
65 ] | 65 ] |
66 }, | 66 }, |
67 { | 67 { |
68 'target_name': 'mojo_external_service_bindings', | |
69 'type': 'static_library', | |
70 'sources': [ | |
71 'shell/external_service.mojom', | |
72 ], | |
73 'variables': { | |
74 'mojom_base_output_dir': 'mojo', | |
75 }, | |
76 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | |
77 'export_dependent_settings': [ | |
78 'mojo_bindings', | |
79 ], | |
80 'dependencies': [ | |
81 'mojo_bindings', | |
82 ], | |
83 }, | |
84 { | |
68 'target_name': 'mojo_run_all_unittests', | 85 'target_name': 'mojo_run_all_unittests', |
69 'type': 'static_library', | 86 'type': 'static_library', |
70 'dependencies': [ | 87 'dependencies': [ |
71 '../base/base.gyp:base', | 88 '../base/base.gyp:base', |
72 '../base/base.gyp:test_support_base', | 89 '../base/base.gyp:test_support_base', |
73 '../testing/gtest.gyp:gtest', | 90 '../testing/gtest.gyp:gtest', |
74 'mojo_system_impl', | 91 'mojo_system_impl', |
75 'mojo_test_support', | 92 'mojo_test_support', |
76 'mojo_test_support_impl', | 93 'mojo_test_support_impl', |
77 ], | 94 ], |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
405 ], | 422 ], |
406 }, | 423 }, |
407 { | 424 { |
408 'target_name': 'mojo_shell_lib', | 425 'target_name': 'mojo_shell_lib', |
409 'type': 'static_library', | 426 'type': 'static_library', |
410 'dependencies': [ | 427 'dependencies': [ |
411 '../base/base.gyp:base', | 428 '../base/base.gyp:base', |
412 '../base/base.gyp:base_static', | 429 '../base/base.gyp:base_static', |
413 '../net/net.gyp:net', | 430 '../net/net.gyp:net', |
414 '../url/url.gyp:url_lib', | 431 '../url/url.gyp:url_lib', |
432 'mojo_external_service_bindings', | |
415 'mojo_gles2_impl', | 433 'mojo_gles2_impl', |
416 'mojo_service_manager', | 434 'mojo_service_manager', |
417 'mojo_shell_bindings', | 435 'mojo_shell_bindings', |
418 'mojo_system_impl', | 436 'mojo_system_impl', |
419 'mojo_native_viewport_service', | 437 'mojo_native_viewport_service', |
420 'mojo_spy', | 438 'mojo_spy', |
421 ], | 439 ], |
422 'variables': { | 440 'variables': { |
423 'mojom_base_output_dir': 'mojo', | 441 'mojom_base_output_dir': 'mojo', |
424 }, | 442 }, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
456 'shell/storage.h', | 474 'shell/storage.h', |
457 'shell/switches.cc', | 475 'shell/switches.cc', |
458 'shell/switches.h', | 476 'shell/switches.h', |
459 'shell/task_runners.cc', | 477 'shell/task_runners.cc', |
460 'shell/task_runners.h', | 478 'shell/task_runners.h', |
461 'shell/test_child_process.cc', | 479 'shell/test_child_process.cc', |
462 'shell/test_child_process.h', | 480 'shell/test_child_process.h', |
463 'shell/url_request_context_getter.cc', | 481 'shell/url_request_context_getter.cc', |
464 'shell/url_request_context_getter.h', | 482 'shell/url_request_context_getter.h', |
465 ], | 483 ], |
484 'conditions': [ | |
485 ['OS=="linux"', { | |
486 'sources': [ | |
487 'shell/dbus_service_loader.cc', | |
DaveMoore
2014/04/22 20:39:51
It's more common in gyp files to list all files in
Chris Masone
2014/04/22 21:16:30
Done.
| |
488 'shell/dbus_service_loader.h', | |
489 ], | |
490 'dependencies': [ | |
491 '../build/linux/system.gyp:dbus', | |
492 '../dbus/dbus.gyp:dbus', | |
493 ], | |
494 }], | |
495 ], | |
466 }, | 496 }, |
467 { | 497 { |
468 'target_name': 'mojo_shell', | 498 'target_name': 'mojo_shell', |
469 'type': 'executable', | 499 'type': 'executable', |
470 'dependencies': [ | 500 'dependencies': [ |
471 '../base/base.gyp:base', | 501 '../base/base.gyp:base', |
472 '../ui/gl/gl.gyp:gl', | 502 '../ui/gl/gl.gyp:gl', |
473 '../url/url.gyp:url_lib', | 503 '../url/url.gyp:url_lib', |
474 'mojo_common_lib', | 504 'mojo_common_lib', |
475 'mojo_environment_chromium', | 505 'mojo_environment_chromium', |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
653 'mojo_js_unittests.isolate', | 683 'mojo_js_unittests.isolate', |
654 ], | 684 ], |
655 'sources': [ | 685 'sources': [ |
656 'mojo_js_unittests.isolate', | 686 'mojo_js_unittests.isolate', |
657 ], | 687 ], |
658 }, | 688 }, |
659 ], | 689 ], |
660 }], | 690 }], |
661 ], | 691 ], |
662 } | 692 } |
OLD | NEW |