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" ] |