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

Side by Side Diff: sandbox/linux/BUILD.gn

Issue 569533002: Remove --find-inode-switch hack from chrome-sandbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert API number bump and merge remainder of linux_util.h into sandbox.h Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 declare_args() { 7 declare_args() {
8 compile_suid_client = is_linux 8 compile_suid_client = is_linux
9 9
10 compile_credentials = is_linux 10 compile_credentials = is_linux
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ":seccomp_bpf", 185 ":seccomp_bpf",
186 ] 186 ]
187 } 187 }
188 188
189 if (is_linux) { 189 if (is_linux) {
190 # The setuid sandbox for Linux. 190 # The setuid sandbox for Linux.
191 executable("chrome_sandbox") { 191 executable("chrome_sandbox") {
192 sources = [ 192 sources = [
193 "suid/common/sandbox.h", 193 "suid/common/sandbox.h",
194 "suid/common/suid_unsafe_environment_variables.h", 194 "suid/common/suid_unsafe_environment_variables.h",
195 "suid/linux_util.c",
196 "suid/linux_util.h",
197 "suid/process_util.h", 195 "suid/process_util.h",
198 "suid/process_util_linux.c", 196 "suid/process_util_linux.c",
199 "suid/sandbox.c", 197 "suid/sandbox.c",
200 ] 198 ]
201 199
202 cflags = [ 200 cflags = [
203 # For ULLONG_MAX 201 # For ULLONG_MAX
204 "-std=gnu99", 202 "-std=gnu99",
205 # These files have a suspicious comparison. 203 # These files have a suspicious comparison.
206 # TODO fix this and re-enable this warning. 204 # TODO fix this and re-enable this warning.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 # 'type': 'none', 306 # 'type': 'none',
309 # 'variables': { 307 # 'variables': {
310 # 'test_suite_name': 'sandbox_linux_jni_unittests', 308 # 'test_suite_name': 'sandbox_linux_jni_unittests',
311 # }, 309 # },
312 # 'dependencies': [ 310 # 'dependencies': [
313 # 'sandbox_linux_jni_unittests', 311 # 'sandbox_linux_jni_unittests',
314 # ], 312 # ],
315 # 'includes': [ '../../build/apk_test.gypi' ], 313 # 'includes': [ '../../build/apk_test.gypi' ],
316 # } 314 # }
317 } 315 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698