| 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 16 matching lines...) Expand all Loading... |
| 27 'tests/unit_tests_unittest.cc', | 27 'tests/unit_tests_unittest.cc', |
| 28 ], | 28 ], |
| 29 'conditions': [ | 29 'conditions': [ |
| 30 [ 'compile_suid_client==1', { | 30 [ 'compile_suid_client==1', { |
| 31 'sources': [ | 31 'sources': [ |
| 32 'suid/client/setuid_sandbox_client_unittest.cc', | 32 'suid/client/setuid_sandbox_client_unittest.cc', |
| 33 ], | 33 ], |
| 34 }], | 34 }], |
| 35 [ 'use_seccomp_bpf==1', { | 35 [ 'use_seccomp_bpf==1', { |
| 36 'sources': [ | 36 'sources': [ |
| 37 'bpf_dsl/bpf_dsl_unittest.cc', |
| 38 'bpf_dsl/cons_unittest.cc', |
| 37 'seccomp-bpf-helpers/baseline_policy_unittest.cc', | 39 'seccomp-bpf-helpers/baseline_policy_unittest.cc', |
| 38 'seccomp-bpf/bpf_tests_unittest.cc', | 40 'seccomp-bpf/bpf_tests_unittest.cc', |
| 39 'seccomp-bpf/codegen_unittest.cc', | 41 'seccomp-bpf/codegen_unittest.cc', |
| 40 'seccomp-bpf/errorcode_unittest.cc', | 42 'seccomp-bpf/errorcode_unittest.cc', |
| 41 'seccomp-bpf/sandbox_bpf_unittest.cc', | 43 'seccomp-bpf/sandbox_bpf_unittest.cc', |
| 42 'seccomp-bpf/syscall_iterator_unittest.cc', | 44 'seccomp-bpf/syscall_iterator_unittest.cc', |
| 43 'seccomp-bpf/syscall_unittest.cc', | 45 'seccomp-bpf/syscall_unittest.cc', |
| 44 ], | 46 ], |
| 45 }], | 47 }], |
| 46 [ 'compile_credentials==1', { | 48 [ 'compile_credentials==1', { |
| 47 'sources': [ | 49 'sources': [ |
| 48 'services/credentials_unittest.cc', | 50 'services/credentials_unittest.cc', |
| 49 'services/unix_domain_socket_unittest.cc', | 51 'services/unix_domain_socket_unittest.cc', |
| 50 ], | 52 ], |
| 51 }], | 53 }], |
| 52 ], | 54 ], |
| 53 } | 55 } |
| OLD | NEW |