| Index: mojo/mojo_examples.gypi
|
| diff --git a/mojo/mojo_examples.gypi b/mojo/mojo_examples.gypi
|
| index 44055eecc40a347224f19c198dc982899d451cfb..c96a608adbb2166b11dd9d69c1243fdf614a3eb3 100644
|
| --- a/mojo/mojo_examples.gypi
|
| +++ b/mojo/mojo_examples.gypi
|
| @@ -37,6 +37,63 @@
|
| 'includes': [ 'build/package_app.gypi' ],
|
| },
|
| {
|
| + 'target_name': 'mojo_example_service_bindings',
|
| + 'type': 'static_library',
|
| + 'sources': [
|
| + 'examples/test/example_service.mojom',
|
| + ],
|
| + 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
|
| + 'export_dependent_settings': [
|
| + 'mojo_cpp_bindings',
|
| + ],
|
| + 'dependencies': [
|
| + 'mojo_cpp_bindings',
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'mojo_example_service',
|
| + 'type': 'loadable_module',
|
| + 'dependencies': [
|
| + 'mojo_application', # For ApplicationDelegate.
|
| + 'mojo_cpp_bindings', # For example_service.mojom.h
|
| + 'mojo_environment_standalone', # For Environment.
|
| + 'mojo_example_service_bindings',
|
| + 'mojo_utility', # For RunLoop.
|
| + '<(mojo_system_for_loadable_module)',
|
| + ],
|
| + 'sources': [
|
| + # TODO(msw): Move to examples/services/example/ ???
|
| + 'examples/test/example_service_application.cc',
|
| + 'examples/test/example_service_application.h',
|
| + 'examples/test/example_service_impl.cc',
|
| + 'examples/test/example_service_impl.h',
|
| + 'public/cpp/application/lib/mojo_main_standalone.cc',
|
| + ],
|
| + },
|
| + { # TODO(msw): New mojo_unittest.gypi file ???
|
| + 'target_name': 'mojo_example_unittests',
|
| + 'type': 'loadable_module',
|
| + 'dependencies': [
|
| + '../testing/gtest.gyp:gtest',
|
| + 'mojo_application', # For ApplicationDelegate.
|
| + 'mojo_environment_standalone', # For Environment.
|
| + 'mojo_example_service',
|
| + 'mojo_example_service_bindings',
|
| + 'mojo_utility', # For RunLoop.
|
| + '<(mojo_system_for_loadable_module)',
|
| + ],
|
| + 'sources': [
|
| + 'examples/test/example_unittest.cc',
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'package_mojo_example_unittests',
|
| + 'variables': {
|
| + 'app_name': 'mojo_example_unittests',
|
| + },
|
| + 'includes': [ 'build/package_app.gypi' ],
|
| + },
|
| + {
|
| 'target_name': 'mojo_compositor_app',
|
| 'type': 'loadable_module',
|
| 'dependencies': [
|
|
|