Index: ipc/BUILD.gn |
diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn |
index 336d8d6974a240cbd65f92ff263ac6262b68952f..dcc392e5df5ef8b3286a1f6ac47bbecc5c145f1c 100644 |
--- a/ipc/BUILD.gn |
+++ b/ipc/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/nacl/config.gni") |
import("//testing/test.gni") |
component("ipc") { |
@@ -100,7 +101,7 @@ component("ipc") { |
"unix_domain_socket_util.h", |
] |
- if (is_nacl) { |
+ if (is_nacl && !is_nacl_nonsfi) { |
sources -= [ |
"ipc_channel.cc", |
"ipc_channel_posix.cc", |
@@ -113,7 +114,7 @@ component("ipc") { |
] |
} |
- if (is_win || is_ios) { |
+ if (is_win || is_ios || is_nacl_nonsfi) { |
sources -= [ "unix_domain_socket_util.cc" ] |
} |