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

Unified Diff: mojo/mojo.gyp

Issue 72123002: Work in progress for end-to-end bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add base dep for sample_app Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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': [

Powered by Google App Engine
This is Rietveld 408576698