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

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

Issue 259763002: Add tests to make sure UnixDomainSocket and namespaces play nicely (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup includes for IWYU 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
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 'sandbox_linux_test_utils',
11 '../base/base.gyp:base', 11 '../base/base.gyp:base',
12 '../base/base.gyp:test_support_base', 12 '../base/base.gyp:test_support_base',
13 '../testing/gtest.gyp:gtest', 13 '../testing/gtest.gyp:gtest',
14 ], 14 ],
15 'include_dirs': [ 15 'include_dirs': [
16 '../..', 16 '../..',
17 ], 17 ],
18 'sources': [ 18 'sources': [
19 'tests/main.cc', 19 'tests/main.cc',
20 'tests/unit_tests_unittest.cc', 20 'tests/unit_tests_unittest.cc',
21 'services/broker_process_unittest.cc', 21 'services/broker_process_unittest.cc',
22 'services/scoped_process_unittest.cc', 22 'services/scoped_process_unittest.cc',
23 'services/thread_helpers_unittests.cc', 23 'services/thread_helpers_unittests.cc',
24 'services/unix_domain_socket_unittest.cc',
24 'services/yama_unittests.cc', 25 'services/yama_unittests.cc',
25 ], 26 ],
26 'conditions': [ 27 'conditions': [
27 [ 'compile_suid_client==1', { 28 [ 'compile_suid_client==1', {
28 'sources': [ 29 'sources': [
29 'suid/client/setuid_sandbox_client_unittest.cc', 30 'suid/client/setuid_sandbox_client_unittest.cc',
30 ], 31 ],
31 }], 32 }],
32 [ 'use_seccomp_bpf==1', { 33 [ 'use_seccomp_bpf==1', {
33 'sources': [ 34 'sources': [
34 'seccomp-bpf/bpf_tests.h', 35 'seccomp-bpf/bpf_tests.h',
35 'seccomp-bpf/codegen_unittest.cc', 36 'seccomp-bpf/codegen_unittest.cc',
36 'seccomp-bpf/errorcode_unittest.cc', 37 'seccomp-bpf/errorcode_unittest.cc',
37 'seccomp-bpf/sandbox_bpf_unittest.cc', 38 'seccomp-bpf/sandbox_bpf_unittest.cc',
38 'seccomp-bpf/syscall_iterator_unittest.cc', 39 'seccomp-bpf/syscall_iterator_unittest.cc',
39 'seccomp-bpf/syscall_unittest.cc', 40 'seccomp-bpf/syscall_unittest.cc',
40 ], 41 ],
41 }], 42 }],
42 [ 'compile_credentials==1', { 43 [ 'compile_credentials==1', {
43 'sources': [ 44 'sources': [
44 'services/credentials_unittest.cc', 45 'services/credentials_unittest.cc',
45 ], 46 ],
46 }], 47 }],
47 ], 48 ],
48 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698