diff options
author | amistry <amistry@chromium.org> | 2016-03-16 17:53:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-17 00:54:57 +0000 |
commit | ba362cd27ec5b4410bd992daccc88a164988384a (patch) | |
tree | 8c4ef53df62869d9e4e79458c605da15af1d9344 /mojo/edk/system/BUILD.gn | |
parent | 2668bea689fd4a5ce07011903bca095aaf67bb07 (diff) | |
download | chromium_src-ba362cd27ec5b4410bd992daccc88a164988384a.zip chromium_src-ba362cd27ec5b4410bd992daccc88a164988384a.tar.gz chromium_src-ba362cd27ec5b4410bd992daccc88a164988384a.tar.bz2 |
[mojo-edk] Add support for transferring mach ports.
This change adds the ability to transfer mach ports over Mojo. Mach ports can
either be wrapped using CreatePlatformHandleWrapper() or a Mojo shared buffer
can be created using CreateSharedBufferWrapper(). For now, Mojo shared buffers
created using MojoCreateSharedBuffer() (or MojoCreateDataPipe()) will still
use posix shared memory.
BUG=582468
Review URL: https://codereview.chromium.org/1712143002
Cr-Commit-Position: refs/heads/master@{#381615}
Diffstat (limited to 'mojo/edk/system/BUILD.gn')
-rw-r--r-- | mojo/edk/system/BUILD.gn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mojo/edk/system/BUILD.gn b/mojo/edk/system/BUILD.gn index 1bd597f..5d83bb6 100644 --- a/mojo/edk/system/BUILD.gn +++ b/mojo/edk/system/BUILD.gn @@ -105,6 +105,13 @@ component("system") { # which is uninteresting. } + if (is_mac && !is_ios) { + sources += [ + "mach_port_relay.cc", + "mach_port_relay.h", + ] + } + allow_circular_includes_from = [ "//mojo/edk/embedder" ] } |