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

Unified Diff: sandbox/linux/BUILD.gn

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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 | « sandbox/BUILD.gn ('k') | sandbox/mac/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/BUILD.gn
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
index ff4a238fe1e8bec37d38e7ebdb58bc3ac5356069..af3a95063997a2d9962978df5a17b444725c1eb0 100644
--- a/sandbox/linux/BUILD.gn
+++ b/sandbox/linux/BUILD.gn
@@ -10,7 +10,7 @@ declare_args() {
compile_credentials = is_linux
compile_seccomp_bpf_demo =
- (is_linux && (cpu_arch == "x86" || cpu_arch == "x64"))
+ is_linux && (cpu_arch == "x86" || cpu_arch == "x64")
}
# We have two principal targets: sandbox and sandbox_linux_unittests
@@ -58,9 +58,7 @@ source_set("sandbox_linux_test_utils") {
"seccomp-bpf/sandbox_bpf_test_runner.cc",
"seccomp-bpf/sandbox_bpf_test_runner.h",
]
- deps += [
- ":seccomp_bpf",
- ]
+ deps += [ ":seccomp_bpf" ]
}
}
@@ -95,9 +93,7 @@ test("sandbox_linux_unittests") {
}
if (compile_suid_client) {
- sources += [
- "suid/client/setuid_sandbox_client_unittest.cc",
- ]
+ sources += [ "suid/client/setuid_sandbox_client_unittest.cc" ]
}
if (use_seccomp_bpf) {
sources += [
@@ -202,7 +198,7 @@ component("seccomp_bpf_helpers") {
}
if (is_linux) {
-# The setuid sandbox for Linux.
+ # The setuid sandbox for Linux.
executable("chrome_sandbox") {
sources = [
"suid/common/sandbox.h",
@@ -215,6 +211,7 @@ if (is_linux) {
cflags = [
# For ULLONG_MAX
"-std=gnu99",
+
# These files have a suspicious comparison.
# TODO fix this and re-enable this warning.
"-Wno-sign-compare",
@@ -258,6 +255,7 @@ component("sandbox_services") {
"services/proc_util.cc",
"services/proc_util.h",
]
+
# For capabilities.cc.
configs += [ "//build/config/linux:libcap" ]
}
@@ -329,7 +327,6 @@ if (is_android) {
# ":sandbox_linux_unittests",
# ]
#}
-
# TODO(GYP) convert this.
# {
# 'target_name': 'sandbox_linux_jni_unittests_apk',
« no previous file with comments | « sandbox/BUILD.gn ('k') | sandbox/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698