diff options
author | ben <ben@chromium.org> | 2015-11-17 20:57:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-18 04:58:34 +0000 |
commit | 3edb97198bc5fbc22c5cf13286e8af80449ddfb9 (patch) | |
tree | 2728c10bc308270956b27a8b04a080d4c14ffffb /content/utility | |
parent | ff14aff0758577956d4704050ef3d546a9bac624 (diff) | |
download | chromium_src-3edb97198bc5fbc22c5cf13286e8af80449ddfb9.zip chromium_src-3edb97198bc5fbc22c5cf13286e8af80449ddfb9.tar.gz chromium_src-3edb97198bc5fbc22c5cf13286e8af80449ddfb9.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
Review URL: https://codereview.chromium.org/1452823003
Cr-Commit-Position: refs/heads/master@{#360293}
Diffstat (limited to 'content/utility')
-rw-r--r-- | content/utility/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content/utility/BUILD.gn b/content/utility/BUILD.gn index 65012ac..9bfe941 100644 --- a/content/utility/BUILD.gn +++ b/content/utility/BUILD.gn @@ -13,7 +13,10 @@ source_set("utility") { sources = rebase_path(content_utility_gypi_values.utility_sources, ".", "//content") - configs += [ "//content:content_implementation" ] + configs += [ + "//content:content_implementation", + "//content/public/common:mojo_shell_client", + ] deps = [ "//base", |