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

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: 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') | sandbox/linux/suid/common/sandbox.h » ('J')
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", 195 "suid/linux_util.h",
197 "suid/process_util.h", 196 "suid/process_util.h",
198 "suid/process_util_linux.c", 197 "suid/process_util_linux.c",
199 "suid/sandbox.c", 198 "suid/sandbox.c",
200 ] 199 ]
201 200
202 cflags = [ 201 cflags = [
203 # For ULLONG_MAX 202 # For ULLONG_MAX
204 "-std=gnu99", 203 "-std=gnu99",
205 # These files have a suspicious comparison. 204 # These files have a suspicious comparison.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 # 'type': 'none', 307 # 'type': 'none',
309 # 'variables': { 308 # 'variables': {
310 # 'test_suite_name': 'sandbox_linux_jni_unittests', 309 # 'test_suite_name': 'sandbox_linux_jni_unittests',
311 # }, 310 # },
312 # 'dependencies': [ 311 # 'dependencies': [
313 # 'sandbox_linux_jni_unittests', 312 # 'sandbox_linux_jni_unittests',
314 # ], 313 # ],
315 # 'includes': [ '../../build/apk_test.gypi' ], 314 # 'includes': [ '../../build/apk_test.gypi' ],
316 # } 315 # }
317 } 316 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/sandbox_linux.gypi » ('j') | sandbox/linux/suid/common/sandbox.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698