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', |
(...skipping 25 matching lines...) Expand all Loading... |
36 'sources': [ | 36 'sources': [ |
37 'suid/client/setuid_sandbox_client_unittest.cc', | 37 'suid/client/setuid_sandbox_client_unittest.cc', |
38 'suid/client/setuid_sandbox_host_unittest.cc', | 38 'suid/client/setuid_sandbox_host_unittest.cc', |
39 ], | 39 ], |
40 }], | 40 }], |
41 [ 'use_seccomp_bpf==1', { | 41 [ 'use_seccomp_bpf==1', { |
42 'sources': [ | 42 'sources': [ |
43 'bpf_dsl/bpf_dsl_unittest.cc', | 43 'bpf_dsl/bpf_dsl_unittest.cc', |
44 'bpf_dsl/codegen_unittest.cc', | 44 'bpf_dsl/codegen_unittest.cc', |
45 'bpf_dsl/cons_unittest.cc', | 45 'bpf_dsl/cons_unittest.cc', |
| 46 'bpf_dsl/errorcode_unittest.cc', |
46 'bpf_dsl/syscall_set_unittest.cc', | 47 'bpf_dsl/syscall_set_unittest.cc', |
| 48 'bpf_dsl/test_trap_registry.cc', |
| 49 'bpf_dsl/test_trap_registry.h', |
| 50 'bpf_dsl/test_trap_registry_unittest.cc', |
47 'integration_tests/bpf_dsl_seccomp_unittest.cc', | 51 'integration_tests/bpf_dsl_seccomp_unittest.cc', |
48 'integration_tests/seccomp_broker_process_unittest.cc', | 52 'integration_tests/seccomp_broker_process_unittest.cc', |
49 'seccomp-bpf-helpers/baseline_policy_unittest.cc', | 53 'seccomp-bpf-helpers/baseline_policy_unittest.cc', |
50 'seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc', | 54 'seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc', |
51 'seccomp-bpf/bpf_tests_unittest.cc', | 55 'seccomp-bpf/bpf_tests_unittest.cc', |
52 'seccomp-bpf/errorcode_unittest.cc', | |
53 'seccomp-bpf/sandbox_bpf_unittest.cc', | 56 'seccomp-bpf/sandbox_bpf_unittest.cc', |
54 'seccomp-bpf/syscall_unittest.cc', | 57 'seccomp-bpf/syscall_unittest.cc', |
55 'seccomp-bpf/trap_unittest.cc', | 58 'seccomp-bpf/trap_unittest.cc', |
56 ], | 59 ], |
57 }], | 60 }], |
58 [ 'compile_credentials==1', { | 61 [ 'compile_credentials==1', { |
59 'sources': [ | 62 'sources': [ |
60 'integration_tests/namespace_unix_domain_socket_unittest.cc', | 63 'integration_tests/namespace_unix_domain_socket_unittest.cc', |
61 'services/credentials_unittest.cc', | 64 'services/credentials_unittest.cc', |
62 'services/namespace_utils_unittest.cc', | 65 'services/namespace_utils_unittest.cc', |
(...skipping 12 matching lines...) Expand all Loading... |
75 [ 'use_base_test_suite==1', { | 78 [ 'use_base_test_suite==1', { |
76 'dependencies': [ | 79 'dependencies': [ |
77 '../base/base.gyp:test_support_base', | 80 '../base/base.gyp:test_support_base', |
78 ], | 81 ], |
79 'defines': [ | 82 'defines': [ |
80 'SANDBOX_USES_BASE_TEST_SUITE', | 83 'SANDBOX_USES_BASE_TEST_SUITE', |
81 ], | 84 ], |
82 }], | 85 }], |
83 ], | 86 ], |
84 } | 87 } |
OLD | NEW |