summaryrefslogtreecommitdiffstats
path: root/content/content_common_mojo_bindings.gypi
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-26 16:45:02 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-26 16:45:02 +0000
commit69a0a13eeb7cc7ad5c760a460f64c15a7086c0d7 (patch)
tree7761f8b4566a70f815748367529cec12f7aaf4e8 /content/content_common_mojo_bindings.gypi
parent28916d8dadc8a9963759698b729c4debe287390b (diff)
downloadchromium_src-69a0a13eeb7cc7ad5c760a460f64c15a7086c0d7.zip
chromium_src-69a0a13eeb7cc7ad5c760a460f64c15a7086c0d7.tar.gz
chromium_src-69a0a13eeb7cc7ad5c760a460f64c15a7086c0d7.tar.bz2
Adds plumbing to pass WebUI mojo::Handle from browser to renderer
See the test for details on how it'll all work out in practice. BUG=none TEST=none R=darin@chromium.org, tsepez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258763 Review URL: https://codereview.chromium.org/206923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common_mojo_bindings.gypi')
-rw-r--r--content/content_common_mojo_bindings.gypi31
1 files changed, 31 insertions, 0 deletions
diff --git a/content/content_common_mojo_bindings.gypi b/content/content_common_mojo_bindings.gypi
new file mode 100644
index 0000000..3a495b3
--- /dev/null
+++ b/content/content_common_mojo_bindings.gypi
@@ -0,0 +1,31 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'content_common_mojo_bindings',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../mojo/mojo.gyp:mojo_bindings',
+ '../mojo/mojo.gyp:mojo_environment_chromium',
+ '../mojo/mojo.gyp:mojo_system',
+ ],
+ 'sources': [
+ 'common/mojo/render_process.mojom',
+ ],
+ # TODO(sky): this shouldn't be necessary. It's working around a bug in
+ # gyp.
+ 'variables': {
+ 'mojom_base_output_dir': 'content',
+ },
+ 'includes': [ '../mojo/public/bindings/mojom_bindings_generator.gypi' ],
+ 'export_dependent_settings': [
+ '../mojo/mojo.gyp:mojo_bindings',
+ '../mojo/mojo.gyp:mojo_environment_chromium',
+ '../mojo/mojo.gyp:mojo_system',
+ ],
+ },
+ ],
+}