| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 ['OS=="linux"', { | 8 ['OS=="linux"', { |
| 9 'compile_suid_client': 1, | 9 'compile_suid_client': 1, |
| 10 'compile_credentials': 1, | 10 'compile_credentials': 1, |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 'seccomp_bpf', | 174 'seccomp_bpf', |
| 175 ], | 175 ], |
| 176 'defines': [ | 176 'defines': [ |
| 177 'SANDBOX_IMPLEMENTATION', | 177 'SANDBOX_IMPLEMENTATION', |
| 178 ], | 178 ], |
| 179 'include_dirs': [ | 179 'include_dirs': [ |
| 180 '../..', | 180 '../..', |
| 181 ], | 181 ], |
| 182 }, | 182 }, |
| 183 { | 183 { |
| 184 # A demonstration program for the seccomp-bpf sandbox. | |
| 185 'target_name': 'seccomp_bpf_demo', | |
| 186 'conditions': [ | |
| 187 ['compile_seccomp_bpf_demo==1', { | |
| 188 'type': 'executable', | |
| 189 'sources': [ | |
| 190 'seccomp-bpf/demo.cc', | |
| 191 ], | |
| 192 'dependencies': [ | |
| 193 'seccomp_bpf', | |
| 194 ], | |
| 195 }, { | |
| 196 'type': 'none', | |
| 197 }], | |
| 198 ], | |
| 199 'include_dirs': [ | |
| 200 '../../', | |
| 201 ], | |
| 202 }, | |
| 203 { | |
| 204 # The setuid sandbox, for Linux | 184 # The setuid sandbox, for Linux |
| 205 'target_name': 'chrome_sandbox', | 185 'target_name': 'chrome_sandbox', |
| 206 'type': 'executable', | 186 'type': 'executable', |
| 207 'sources': [ | 187 'sources': [ |
| 208 'suid/common/sandbox.h', | 188 'suid/common/sandbox.h', |
| 209 'suid/common/suid_unsafe_environment_variables.h', | 189 'suid/common/suid_unsafe_environment_variables.h', |
| 210 'suid/linux_util.c', | 190 'suid/linux_util.c', |
| 211 'suid/linux_util.h', | 191 'suid/linux_util.h', |
| 212 'suid/process_util.h', | 192 'suid/process_util.h', |
| 213 'suid/process_util_linux.c', | 193 'suid/process_util_linux.c', |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 '../sandbox_linux_unittests.isolate', | 345 '../sandbox_linux_unittests.isolate', |
| 366 ], | 346 ], |
| 367 'sources': [ | 347 'sources': [ |
| 368 '../sandbox_linux_unittests.isolate', | 348 '../sandbox_linux_unittests.isolate', |
| 369 ], | 349 ], |
| 370 }, | 350 }, |
| 371 ], | 351 ], |
| 372 }], | 352 }], |
| 373 ], | 353 ], |
| 374 } | 354 } |
| OLD | NEW |