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/mojo_edk.gyp | |
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/mojo_edk.gyp')
-rw-r--r-- | mojo/mojo_edk.gyp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mojo/mojo_edk.gyp b/mojo/mojo_edk.gyp index f95cde4..db57fc5 100644 --- a/mojo/mojo_edk.gyp +++ b/mojo/mojo_edk.gyp @@ -146,6 +146,12 @@ # uninteresting. 'msvs_disabled_warnings': [ 4324 ], }], + ['OS=="mac" and OS!="ios"', { + 'sources': [ + 'edk/system/mach_port_relay.cc', + 'edk/system/mach_port_relay.h', + ], + }], ], }, { |