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

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

Issue 881733002: Add namespace sandbox class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Last round of comments. Created 5 years, 10 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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 declare_args() { 8 declare_args() {
9 compile_suid_client = is_linux 9 compile_suid_client = is_linux
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 "seccomp-bpf/codegen_unittest.cc", 107 "seccomp-bpf/codegen_unittest.cc",
108 "seccomp-bpf/errorcode_unittest.cc", 108 "seccomp-bpf/errorcode_unittest.cc",
109 "seccomp-bpf/sandbox_bpf_unittest.cc", 109 "seccomp-bpf/sandbox_bpf_unittest.cc",
110 "seccomp-bpf/syscall_iterator_unittest.cc", 110 "seccomp-bpf/syscall_iterator_unittest.cc",
111 "seccomp-bpf/syscall_unittest.cc", 111 "seccomp-bpf/syscall_unittest.cc",
112 ] 112 ]
113 } 113 }
114 if (compile_credentials) { 114 if (compile_credentials) {
115 sources += [ 115 sources += [
116 "services/credentials_unittest.cc", 116 "services/credentials_unittest.cc",
117 "services/namespace_sandbox_unittest.cc",
117 "services/namespace_utils_unittest.cc", 118 "services/namespace_utils_unittest.cc",
118 "services/proc_util_unittest.cc", 119 "services/proc_util_unittest.cc",
119 "services/unix_domain_socket_unittest.cc", 120 "services/unix_domain_socket_unittest.cc",
120 ] 121 ]
121 } 122 }
122 } 123 }
123 124
124 # TODO(GYP) Android version of this test. 125 # TODO(GYP) Android version of this test.
125 # { 126 # {
126 # # This target is the shared library used by Android APK (i.e. 127 # # This target is the shared library used by Android APK (i.e.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 "syscall_broker/broker_process.cc", 249 "syscall_broker/broker_process.cc",
249 "syscall_broker/broker_process.h", 250 "syscall_broker/broker_process.h",
250 ] 251 ]
251 252
252 defines = [ "SANDBOX_IMPLEMENTATION" ] 253 defines = [ "SANDBOX_IMPLEMENTATION" ]
253 254
254 if (compile_credentials) { 255 if (compile_credentials) {
255 sources += [ 256 sources += [
256 "services/credentials.cc", 257 "services/credentials.cc",
257 "services/credentials.h", 258 "services/credentials.h",
259 "services/namespace_sandbox.cc",
260 "services/namespace_sandbox.h",
258 "services/namespace_utils.cc", 261 "services/namespace_utils.cc",
259 "services/namespace_utils.h", 262 "services/namespace_utils.h",
260 "services/proc_util.cc", 263 "services/proc_util.cc",
261 "services/proc_util.h", 264 "services/proc_util.h",
262 ] 265 ]
263 266
264 # For capabilities.cc. 267 # For capabilities.cc.
265 configs += [ "//build/config/linux:libcap" ] 268 configs += [ "//build/config/linux:libcap" ]
266 } 269 }
267 270
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 # 'type': 'none', 341 # 'type': 'none',
339 # 'variables': { 342 # 'variables': {
340 # 'test_suite_name': 'sandbox_linux_jni_unittests', 343 # 'test_suite_name': 'sandbox_linux_jni_unittests',
341 # }, 344 # },
342 # 'dependencies': [ 345 # 'dependencies': [
343 # 'sandbox_linux_jni_unittests', 346 # 'sandbox_linux_jni_unittests',
344 # ], 347 # ],
345 # 'includes': [ '../../build/apk_test.gypi' ], 348 # 'includes': [ '../../build/apk_test.gypi' ],
346 # } 349 # }
347 } 350 }
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