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

Unified Diff: mojo/mojo.gyp

Issue 53173008: Add mojom_bindings_generator.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more rename 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
« no previous file with comments | « mojo/DEPS ('k') | mojo/public/bindings/mojo_idl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo.gyp
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index 44454c16f46dd2d1240be8ec51c06b24ae71dd87..e7cc056e3dab8b6c073a9e3149091640815c4f96 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -24,6 +24,7 @@
'mojo_js',
'sample_app',
'mojo_bindings',
+ 'mojom_test',
'mojo_bindings_test',
'mojo_js_bindings',
'mojo_js_bindings_unittests',
@@ -348,10 +349,26 @@
],
},
{
+ 'target_name': 'mojom_test',
+ 'type': 'executable',
+ 'sources': [
+ 'public/bindings/sample/sample_test.cc',
+ 'public/bindings/sample/sample_service.mojom',
+ ],
+ 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
+ 'dependencies': [
+ '../testing/gtest.gyp:gtest',
+ 'mojo_bindings',
+ 'mojo_run_all_unittests',
+ 'mojo_system',
+ ],
+ },
+ {
'target_name': 'mojo_bindings_test',
'type': 'executable',
'include_dirs': [
- '..'
+ '..',
+ '<(DEPTH)/mojo/public/bindings/sample',
],
'dependencies': [
'../testing/gtest.gyp:gtest',
@@ -360,9 +377,9 @@
'mojo_system',
],
'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',
],
},
« no previous file with comments | « mojo/DEPS ('k') | mojo/public/bindings/mojo_idl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698