Index: mojo/mojo.gyp |
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp |
index e7cc056e3dab8b6c073a9e3149091640815c4f96..96517d1fc0b106ae8f52ab971812a07ba2352b7c 100644 |
--- a/mojo/mojo.gyp |
+++ b/mojo/mojo.gyp |
@@ -233,6 +233,7 @@ |
'mojo_system', |
'mojo_utility', |
'native_viewport', |
+ 'hello_world_service_impl', |
], |
'sources': [ |
'shell/app_container.cc', |
@@ -314,16 +315,52 @@ |
'target_name': 'sample_app', |
'type': 'shared_library', |
'dependencies': [ |
+ '../base/base.gyp:base', |
'../ui/gl/gl.gyp:gl', |
+ 'hello_world_service', |
+ 'mojo_common_lib', |
'mojo_system', |
], |
'sources': [ |
+ 'examples/sample_app/hello_world_client_impl.cc', |
+ 'examples/sample_app/hello_world_client_impl.h', |
'examples/sample_app/sample_app.cc', |
'examples/sample_app/spinning_cube.cc', |
'examples/sample_app/spinning_cube.h', |
], |
}, |
{ |
+ 'target_name': 'hello_world_service', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'mojo_bindings', |
+ 'mojo_system', |
+ ], |
+ 'export_dependent_settings': [ |
+ 'mojo_bindings', |
+ 'mojo_system', |
+ ], |
+ 'sources': [ |
+ 'examples/hello_world_service/hello_world_service.mojom', |
+ ], |
+ 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
+ }, |
+ { |
+ 'target_name': 'hello_world_service_impl', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'examples/hello_world_service/hello_world_service_impl.cc', |
+ 'examples/hello_world_service/hello_world_service_impl.h', |
+ ], |
+ 'export_dependent_settings': [ |
+ 'hello_world_service', |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ 'hello_world_service', |
+ ], |
+ }, |
+ { |
'target_name': 'mojo_bindings', |
'type': 'static_library', |
'include_dirs': [ |