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

Side by Side Diff: sandbox/linux/sandbox_linux_test_sources.gypi

Issue 196793023: Add seccomp sandbox for non-SFI NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/linux/sandbox_linux.gypi ('k') | sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h » ('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 (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 # Tests need to be compiled in the same link unit, so we have to list them 5 # Tests need to be compiled in the same link unit, so we have to list them
6 # in a separate .gypi file. 6 # in a separate .gypi file.
7 { 7 {
8 'dependencies': [ 8 'dependencies': [
9 'sandbox', 9 'sandbox',
10 'sandbox_linux_test_utils',
10 '../base/base.gyp:base', 11 '../base/base.gyp:base',
11 '../base/base.gyp:test_support_base', 12 '../base/base.gyp:test_support_base',
12 '../testing/gtest.gyp:gtest', 13 '../testing/gtest.gyp:gtest',
13 ], 14 ],
14 'include_dirs': [ 15 'include_dirs': [
15 '../..', 16 '../..',
16 ], 17 ],
17 'sources': [ 18 'sources': [
18 'tests/main.cc', 19 'tests/main.cc',
19 'tests/test_utils.cc',
20 'tests/test_utils.h',
21 'tests/unit_tests.cc',
22 'tests/unit_tests.h',
23 'tests/unit_tests_unittest.cc', 20 'tests/unit_tests_unittest.cc',
24 'services/broker_process_unittest.cc', 21 'services/broker_process_unittest.cc',
25 'services/scoped_process_unittest.cc', 22 'services/scoped_process_unittest.cc',
26 'services/thread_helpers_unittests.cc', 23 'services/thread_helpers_unittests.cc',
27 'services/yama_unittests.cc', 24 'services/yama_unittests.cc',
28 ], 25 ],
29 'conditions': [ 26 'conditions': [
30 [ 'compile_suid_client==1', { 27 [ 'compile_suid_client==1', {
31 'sources': [ 28 'sources': [
32 'suid/client/setuid_sandbox_client_unittest.cc', 29 'suid/client/setuid_sandbox_client_unittest.cc',
33 ], 30 ],
34 }], 31 }],
35 [ 'use_seccomp_bpf==1', { 32 [ 'use_seccomp_bpf==1', {
36 'sources': [ 33 'sources': [
37 'seccomp-bpf/bpf_tests.h', 34 'seccomp-bpf/bpf_tests.h',
38 'seccomp-bpf/codegen_unittest.cc', 35 'seccomp-bpf/codegen_unittest.cc',
39 'seccomp-bpf/errorcode_unittest.cc', 36 'seccomp-bpf/errorcode_unittest.cc',
40 'seccomp-bpf/sandbox_bpf_unittest.cc', 37 'seccomp-bpf/sandbox_bpf_unittest.cc',
41 'seccomp-bpf/syscall_iterator_unittest.cc', 38 'seccomp-bpf/syscall_iterator_unittest.cc',
42 'seccomp-bpf/syscall_unittest.cc', 39 'seccomp-bpf/syscall_unittest.cc',
43 ], 40 ],
44 }], 41 }],
45 [ 'compile_credentials==1', { 42 [ 'compile_credentials==1', {
46 'sources': [ 43 'sources': [
47 'services/credentials_unittest.cc', 44 'services/credentials_unittest.cc',
48 ], 45 ],
49 }], 46 }],
50 ], 47 ],
51 } 48 }
OLDNEW
« no previous file with comments | « sandbox/linux/sandbox_linux.gypi ('k') | sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698