summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorphosek <phosek@chromium.org>2015-10-26 20:36:48 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-27 03:37:52 +0000
commit636bceb3f0fc3062735203ef149e91736ec89024 (patch)
treec461ddec4534eab6c0d72fc607cd651ad414abca /ipc
parent5d9a5a8c009a722f06051940345dc849612195bc (diff)
downloadchromium_src-636bceb3f0fc3062735203ef149e91736ec89024.zip
chromium_src-636bceb3f0fc3062735203ef149e91736ec89024.tar.gz
chromium_src-636bceb3f0fc3062735203ef149e91736ec89024.tar.bz2
Build nacl_helper_nonsfi with GN
Support building nacl_helper_nonsfi under GN. BUG=462791 Review URL: https://codereview.chromium.org/1395573003 Cr-Commit-Position: refs/heads/master@{#356234}
Diffstat (limited to 'ipc')
-rw-r--r--ipc/BUILD.gn5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn
index 336d8d6..dcc392e 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" ]
}