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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'mojo_sample_app', | 8 'target_name': 'mojo_sample_app', |
9 'type': 'loadable_module', | 9 'type': 'loadable_module', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 19 matching lines...) Expand all Loading... |
30 ], | 30 ], |
31 }, | 31 }, |
32 { | 32 { |
33 'target_name': 'package_mojo_sample_app', | 33 'target_name': 'package_mojo_sample_app', |
34 'variables': { | 34 'variables': { |
35 'app_name': 'mojo_sample_app', | 35 'app_name': 'mojo_sample_app', |
36 }, | 36 }, |
37 'includes': [ 'build/package_app.gypi' ], | 37 'includes': [ 'build/package_app.gypi' ], |
38 }, | 38 }, |
39 { | 39 { |
| 40 'target_name': 'mojo_example_service_bindings', |
| 41 'type': 'static_library', |
| 42 'sources': [ |
| 43 'examples/test/example_service.mojom', |
| 44 ], |
| 45 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 46 'export_dependent_settings': [ |
| 47 'mojo_cpp_bindings', |
| 48 ], |
| 49 'dependencies': [ |
| 50 'mojo_cpp_bindings', |
| 51 ], |
| 52 }, |
| 53 { |
| 54 'target_name': 'mojo_example_service', |
| 55 'type': 'loadable_module', |
| 56 'dependencies': [ |
| 57 'mojo_application', # For ApplicationDelegate. |
| 58 'mojo_cpp_bindings', # For example_service.mojom.h |
| 59 'mojo_environment_standalone', # For Environment. |
| 60 'mojo_example_service_bindings', |
| 61 'mojo_utility', # For RunLoop. |
| 62 '<(mojo_system_for_loadable_module)', |
| 63 ], |
| 64 'sources': [ |
| 65 # TODO(msw): Move to examples/services/example/ ??? |
| 66 'examples/test/example_service_application.cc', |
| 67 'examples/test/example_service_application.h', |
| 68 'examples/test/example_service_impl.cc', |
| 69 'examples/test/example_service_impl.h', |
| 70 'public/cpp/application/lib/mojo_main_standalone.cc', |
| 71 ], |
| 72 }, |
| 73 { # TODO(msw): New mojo_unittest.gypi file ??? |
| 74 'target_name': 'mojo_example_unittests', |
| 75 'type': 'loadable_module', |
| 76 'dependencies': [ |
| 77 '../testing/gtest.gyp:gtest', |
| 78 'mojo_application', # For ApplicationDelegate. |
| 79 'mojo_environment_standalone', # For Environment. |
| 80 'mojo_example_service', |
| 81 'mojo_example_service_bindings', |
| 82 'mojo_utility', # For RunLoop. |
| 83 '<(mojo_system_for_loadable_module)', |
| 84 ], |
| 85 'sources': [ |
| 86 'examples/test/example_unittest.cc', |
| 87 ], |
| 88 }, |
| 89 { |
| 90 'target_name': 'package_mojo_example_unittests', |
| 91 'variables': { |
| 92 'app_name': 'mojo_example_unittests', |
| 93 }, |
| 94 'includes': [ 'build/package_app.gypi' ], |
| 95 }, |
| 96 { |
40 'target_name': 'mojo_compositor_app', | 97 'target_name': 'mojo_compositor_app', |
41 'type': 'loadable_module', | 98 'type': 'loadable_module', |
42 'dependencies': [ | 99 'dependencies': [ |
43 '../base/base.gyp:base', | 100 '../base/base.gyp:base', |
44 '../cc/cc.gyp:cc', | 101 '../cc/cc.gyp:cc', |
45 '../ui/gfx/gfx.gyp:gfx', | 102 '../ui/gfx/gfx.gyp:gfx', |
46 '../ui/gfx/gfx.gyp:gfx_geometry', | 103 '../ui/gfx/gfx.gyp:gfx_geometry', |
47 'mojo_application', | 104 'mojo_application', |
48 'mojo_cc_support', | 105 'mojo_cc_support', |
49 'mojo_common_lib', | 106 'mojo_common_lib', |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 ], | 669 ], |
613 'sources': [ | 670 'sources': [ |
614 'examples/dbus_echo/dbus_echo_app.cc', | 671 'examples/dbus_echo/dbus_echo_app.cc', |
615 'public/cpp/application/lib/mojo_main_standalone.cc', | 672 'public/cpp/application/lib/mojo_main_standalone.cc', |
616 ], | 673 ], |
617 }, | 674 }, |
618 ], | 675 ], |
619 }], | 676 }], |
620 ], | 677 ], |
621 } | 678 } |
OLD | NEW |