Index: ipc/BUILD.gn |
diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn |
index 336d8d6974a240cbd65f92ff263ac6262b68952f..d5514c2a9d6e29c17501c33319e67c951427cefc 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") { |
@@ -117,6 +118,17 @@ component("ipc") { |
sources -= [ "unix_domain_socket_util.cc" ] |
} |
+ if (is_nacl_nonsfi) { |
+ sources -= [ |
+ "ipc_channel_nacl.cc", |
+ "ipc_channel_nacl.h", |
+ ] |
+ sources += [ |
Mark Seaborn
2015/10/22 21:48:30
This mix of adding and removing sources is a bit c
Petr Hosek
2015/10/23 03:01:15
Done.
|
+ "ipc_channel.cc", |
+ "ipc_channel_posix.cc", |
+ ] |
+ } |
+ |
defines = [ "IPC_IMPLEMENTATION" ] |
deps = [ |