summaryrefslogtreecommitdiffstats
path: root/mojo/mojo.gyp
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 14:44:25 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 14:44:25 +0000
commit76b8e58c5b8cf693f61ec1aa981df99c12e00506 (patch)
tree116afbb6d8ab0c2bf20afdfa5c8d796e3656b38a /mojo/mojo.gyp
parent033f12364a6adb6992787a8c4e737df26b1ce356 (diff)
downloadchromium_src-76b8e58c5b8cf693f61ec1aa981df99c12e00506.zip
chromium_src-76b8e58c5b8cf693f61ec1aa981df99c12e00506.tar.gz
chromium_src-76b8e58c5b8cf693f61ec1aa981df99c12e00506.tar.bz2
Mojo: Introduce InterfaceHandle<S>, Interface<S> and InterfacePipe<S,P>
Teach the C++ bindings generator produce code with a typed variant of ScopedMessagePipeHandle when possible. Require that RemotePtr<S> be initialized from such. InterfaceHandle<S> is the typed variant of MessagePipeHandle. Interface<S>::ScopedHandle is the typed variant of ScopedMessagePipeHandle. In addition, generate typedefs for InterfaceHandle<S> and Interface<S>::ScopedHandle for convenience. For example, from shell.mojom we generate {Scoped}ShellHandle and {Scoped}ShellClientHandle. BUG=336722 Review URL: https://codereview.chromium.org/152793005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/mojo.gyp')
-rw-r--r--mojo/mojo.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index 524c85c..5cb8a71 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -357,6 +357,7 @@
'../url/url.gyp:url_lib',
'mojo_common_lib',
'mojo_environment_chromium',
+ 'mojo_shell_bindings',
'mojo_shell_lib',
'mojo_system',
'mojo_system_impl',