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 # 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 'sandbox_services', | 11 'sandbox_services', |
12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
13 '../base/base.gyp:test_support_base', | 13 '../base/base.gyp:test_support_base', |
14 '../testing/gtest.gyp:gtest', | 14 '../testing/gtest.gyp:gtest', |
15 ], | 15 ], |
16 'include_dirs': [ | 16 'include_dirs': [ |
17 '../..', | 17 '../..', |
18 ], | 18 ], |
19 'sources': [ | 19 'sources': [ |
20 'services/scoped_process_unittest.cc', | 20 'services/scoped_process_unittest.cc', |
21 'services/syscall_wrappers_unittest.cc', | 21 'services/syscall_wrappers_unittest.cc', |
22 'services/thread_helpers_unittests.cc', | 22 'services/thread_helpers_unittests.cc', |
23 'services/yama_unittests.cc', | 23 'services/yama_unittests.cc', |
| 24 'syscall_broker/broker_file_permission_unittest.cc', |
24 'syscall_broker/broker_process_unittest.cc', | 25 'syscall_broker/broker_process_unittest.cc', |
25 'tests/main.cc', | 26 'tests/main.cc', |
26 'tests/scoped_temporary_file.cc', | 27 'tests/scoped_temporary_file.cc', |
27 'tests/scoped_temporary_file.h', | 28 'tests/scoped_temporary_file.h', |
28 'tests/scoped_temporary_file_unittest.cc', | 29 'tests/scoped_temporary_file_unittest.cc', |
29 'tests/test_utils_unittest.cc', | 30 'tests/test_utils_unittest.cc', |
30 'tests/unit_tests_unittest.cc', | 31 'tests/unit_tests_unittest.cc', |
31 ], | 32 ], |
32 'conditions': [ | 33 'conditions': [ |
33 [ 'compile_suid_client==1', { | 34 [ 'compile_suid_client==1', { |
34 'sources': [ | 35 'sources': [ |
35 'suid/client/setuid_sandbox_client_unittest.cc', | 36 'suid/client/setuid_sandbox_client_unittest.cc', |
36 ], | 37 ], |
37 }], | 38 }], |
38 [ 'use_seccomp_bpf==1', { | 39 [ 'use_seccomp_bpf==1', { |
39 'sources': [ | 40 'sources': [ |
40 'bpf_dsl/bpf_dsl_more_unittest.cc', | 41 'bpf_dsl/bpf_dsl_more_unittest.cc', |
41 'bpf_dsl/bpf_dsl_unittest.cc', | 42 'bpf_dsl/bpf_dsl_unittest.cc', |
42 'bpf_dsl/cons_unittest.cc', | 43 'bpf_dsl/cons_unittest.cc', |
43 'seccomp-bpf-helpers/baseline_policy_unittest.cc', | 44 'seccomp-bpf-helpers/baseline_policy_unittest.cc', |
44 'seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc', | 45 'seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc', |
45 'seccomp-bpf/bpf_tests_unittest.cc', | 46 'seccomp-bpf/bpf_tests_unittest.cc', |
46 'seccomp-bpf/codegen_unittest.cc', | 47 'seccomp-bpf/codegen_unittest.cc', |
47 'seccomp-bpf/errorcode_unittest.cc', | 48 'seccomp-bpf/errorcode_unittest.cc', |
| 49 'seccomp-bpf/sandbox_bpf_unittest.cc', |
48 'seccomp-bpf/syscall_iterator_unittest.cc', | 50 'seccomp-bpf/syscall_iterator_unittest.cc', |
49 'seccomp-bpf/syscall_unittest.cc', | 51 'seccomp-bpf/syscall_unittest.cc', |
50 ], | 52 ], |
51 }], | 53 }], |
52 [ 'compile_credentials==1', { | 54 [ 'compile_credentials==1', { |
53 'sources': [ | 55 'sources': [ |
54 'services/credentials_unittest.cc', | 56 'services/credentials_unittest.cc', |
| 57 'services/proc_util_unittest.cc', |
55 'services/unix_domain_socket_unittest.cc', | 58 'services/unix_domain_socket_unittest.cc', |
56 ], | 59 ], |
57 }], | 60 }], |
58 ], | 61 ], |
59 } | 62 } |
OLD | NEW |