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

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

Issue 554743006: sandbox: remove seccomp-bpf demo program (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') | 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 "seccomp-bpf-helpers/syscall_sets.h", 179 "seccomp-bpf-helpers/syscall_sets.h",
180 ] 180 ]
181 defines = [ "SANDBOX_IMPLEMENTATION" ] 181 defines = [ "SANDBOX_IMPLEMENTATION" ]
182 182
183 deps = [ 183 deps = [
184 "//base", 184 "//base",
185 ":seccomp_bpf", 185 ":seccomp_bpf",
186 ] 186 ]
187 } 187 }
188 188
189 if (compile_seccomp_bpf_demo) {
190 # A demonstration program for the seccomp-bpf sandbox.
191 executable("seccomp_bpf_demo") {
192 sources = [
193 "seccomp-bpf/demo.cc",
194 ]
195 deps = [
196 ":seccomp_bpf",
197 ]
198 }
199 }
200
201 # The setuid sandbox for Linux. 189 # The setuid sandbox for Linux.
202 executable("chrome_sandbox") { 190 executable("chrome_sandbox") {
203 sources = [ 191 sources = [
204 "suid/common/sandbox.h", 192 "suid/common/sandbox.h",
205 "suid/common/suid_unsafe_environment_variables.h", 193 "suid/common/suid_unsafe_environment_variables.h",
206 "suid/linux_util.c", 194 "suid/linux_util.c",
207 "suid/linux_util.h", 195 "suid/linux_util.h",
208 "suid/process_util.h", 196 "suid/process_util.h",
209 "suid/process_util_linux.c", 197 "suid/process_util_linux.c",
210 "suid/sandbox.c", 198 "suid/sandbox.c",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 # 'type': 'none', 304 # 'type': 'none',
317 # 'variables': { 305 # 'variables': {
318 # 'test_suite_name': 'sandbox_linux_jni_unittests', 306 # 'test_suite_name': 'sandbox_linux_jni_unittests',
319 # }, 307 # },
320 # 'dependencies': [ 308 # 'dependencies': [
321 # 'sandbox_linux_jni_unittests', 309 # 'sandbox_linux_jni_unittests',
322 # ], 310 # ],
323 # 'includes': [ '../../build/apk_test.gypi' ], 311 # 'includes': [ '../../build/apk_test.gypi' ],
324 # } 312 # }
325 } 313 }
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