Index: base/process/BUILD.gn |
diff --git a/base/process/BUILD.gn b/base/process/BUILD.gn |
index 76d83695cdb5fbc075e92596846d8040dd54cbed..8c7cc8a109a8e25ae64d197142e201cfbc34de63 100644 |
--- a/base/process/BUILD.gn |
+++ b/base/process/BUILD.gn |
@@ -2,6 +2,8 @@ |
# 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") |
+ |
source_set("process") { |
sources = [ |
"internal_linux.cc", |
@@ -82,10 +84,6 @@ source_set("process") { |
sources -= [ |
"kill.cc", |
"kill.h", |
- "kill_posix.cc", |
- "launch.cc", |
- "launch.h", |
- "launch_posix.cc", |
"memory.cc", |
"memory.h", |
"process_iterator.cc", |
@@ -94,6 +92,14 @@ source_set("process") { |
"process_metrics_posix.cc", |
"process_posix.cc", |
] |
+ if (!is_nacl_nonsfi) { |
+ sources -= [ |
+ "kill_posix.cc", |
+ "launch.cc", |
+ "launch.h", |
+ "launch_posix.cc", |
+ ] |
+ } |
} |
if (is_nacl) { |