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

Unified Diff: mojo/mojo.gyp

Issue 53173008: Add mojom_bindings_generator.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing gypi file 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 72e6477a521f07a7457cd8365cf9bcd4e12551e2..aeaa277e7e7ec47e889778f72db6f4d8d236ceed 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -24,6 +24,7 @@
'mojo_js',
'sample_app',
'mojo_bindings',
+ 'mojom_test',
'mojo_bindings_test',
'native_viewport',
],
@@ -323,18 +324,31 @@
],
},
{
+ 'target_name': 'mojom_test',
+ 'type': 'executable',
+ 'sources': [
+ 'public/bindings/sample/sample_test.cc',
+ 'public/bindings/sample/sample_service.mojom',
+ ],
+ 'includes': [ '../build/mojom_bindings_generator.gypi' ],
+ 'dependencies': [
+ 'mojo_bindings',
+ ],
+ },
+ {
'target_name': 'mojo_bindings_test',
'type': 'executable',
'include_dirs': [
- '..'
+ '..',
+ '<(DEPTH)/mojo/public/bindings/sample',
],
'dependencies': [
'mojo_bindings',
],
'sources': [
- 'public/bindings/sample/generated/sample_service.cc',
- 'public/bindings/sample/generated/sample_service.h',
- 'public/bindings/sample/generated/sample_service_internal.h',
+ 'public/bindings/sample/mojom/sample_service.cc',
+ 'public/bindings/sample/mojom/sample_service.h',
+ 'public/bindings/sample/mojom/sample_service_internal.h',
'public/bindings/sample/sample_test.cc',
],
},

Powered by Google App Engine
This is Rietveld 408576698