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

Unified Diff: ipc/BUILD.gn

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup the compiler configuration Created 5 years, 2 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
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 = [

Powered by Google App Engine
This is Rietveld 408576698