diff options
author | ben <ben@chromium.org> | 2015-11-18 11:56:15 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-18 19:57:44 +0000 |
commit | 2c716f9d5ebff610641f4506c17ec81d4b89b7bb (patch) | |
tree | a0460402f7d4bf809b69e24ad8095308602b5eb7 /content/ppapi_plugin/BUILD.gn | |
parent | 97ef21ed61bb27be090f0881db69b72e68047889 (diff) | |
download | chromium_src-2c716f9d5ebff610641f4506c17ec81d4b89b7bb.zip chromium_src-2c716f9d5ebff610641f4506c17ec81d4b89b7bb.tar.gz chromium_src-2c716f9d5ebff610641f4506c17ec81d4b89b7bb.tar.bz2 |
Bind Application in renderer.
This involved changing how we get the client handle to the renderer. In the first iteration I was passing this on the command line but that turns out not to work with the sandbox. So instead I an approach used by the Mojo-in-Chrome MojoApplication class and pass the primordial handle via Chrome IPC.
I had to twiddle a bunch of BUILD.gn files in content to get this to work without crashing due to inconsistencies in how MOJO_SHELL_CLIENT was defined.
R=jam@chromium.org,tsepez@chromium.org
http://crbug.com/551253
Committed: https://crrev.com/3edb97198bc5fbc22c5cf13286e8af80449ddfb9
Cr-Commit-Position: refs/heads/master@{#360293}
Review URL: https://codereview.chromium.org/1452823003
Cr-Commit-Position: refs/heads/master@{#360396}
Diffstat (limited to 'content/ppapi_plugin/BUILD.gn')
-rw-r--r-- | content/ppapi_plugin/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content/ppapi_plugin/BUILD.gn b/content/ppapi_plugin/BUILD.gn index ef4dcdf..6ce967d 100644 --- a/content/ppapi_plugin/BUILD.gn +++ b/content/ppapi_plugin/BUILD.gn @@ -32,7 +32,10 @@ source_set("ppapi_plugin_sources") { "ppapi_thread.h", ] - configs += [ "//content:content_implementation" ] + configs += [ + "//content:content_implementation", + "//content/public/common:mojo_shell_client", + ] deps = [ "//base", |