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

Unified Diff: base/process/BUILD.gn

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « base/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « base/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698