Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: mojo/edk/embedder/BUILD.gn

Issue 2282413004: Support creating mojo peer connections from named pipes. (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/edk/embedder/named_platform_channel_pair.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/BUILD.gn
diff --git a/mojo/edk/embedder/BUILD.gn b/mojo/edk/embedder/BUILD.gn
index f20fd40230d4b4270364fedf44c28bf55d33f1e4..e4f7291babfc610e58783aa5d3a06788f17694f1 100644
--- a/mojo/edk/embedder/BUILD.gn
+++ b/mojo/edk/embedder/BUILD.gn
@@ -10,6 +10,8 @@ source_set("headers") {
"embedder.h",
"embedder_internal.h",
"named_platform_channel_pair.h",
+ "named_platform_handle.h",
+ "named_platform_handle_utils.h",
"platform_channel_pair.h",
"platform_handle.h",
"platform_handle_utils.h",
@@ -77,6 +79,9 @@ source_set("platform") {
sources = [
"named_platform_channel_pair.h",
"named_platform_channel_pair_win.cc",
+ "named_platform_handle.h",
+ "named_platform_handle_utils.h",
+ "named_platform_handle_utils_win.cc",
"platform_channel_pair.cc",
"platform_channel_pair.h",
"platform_channel_pair_posix.cc",
@@ -93,6 +98,9 @@ source_set("platform") {
"platform_shared_buffer.h",
"scoped_platform_handle.h",
]
+ if (!is_nacl) {
+ sources += [ "named_platform_handle_utils_posix.cc" ]
+ }
defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ]
@@ -103,6 +111,9 @@ source_set("platform") {
deps = [
"//base",
]
+ if (is_posix && !is_nacl) {
+ deps += [ "//ipc" ]
Ken Rockot(use gerrit already) 2016/08/30 16:58:31 I'd sooner duplicate the code or try to move it in
Sam McNally 2016/08/31 00:00:13 Done.
+ }
if (is_android) {
deps += [ "//third_party/ashmem" ]
« no previous file with comments | « no previous file | mojo/edk/embedder/named_platform_channel_pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698