OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # Tests need to be compiled in the same link unit, so we have to list them |
| 6 # in a separate .gypi file. |
| 7 { |
| 8 'dependencies': [ |
| 9 'sandbox', |
| 10 '../testing/gtest.gyp:gtest', |
| 11 ], |
| 12 'include_dirs': [ |
| 13 '../..', |
| 14 ], |
| 15 'sources': [ |
| 16 'tests/main.cc', |
| 17 'tests/unit_tests.cc', |
| 18 'tests/unit_tests.h', |
| 19 'services/broker_process_unittest.cc', |
| 20 ], |
| 21 'conditions': [ |
| 22 [ 'compile_suid_client==1', { |
| 23 'sources': [ |
| 24 'suid/client/setuid_sandbox_client_unittest.cc', |
| 25 ], |
| 26 }], |
| 27 [ 'compile_seccomp_bpf==1', { |
| 28 'sources': [ |
| 29 'seccomp-bpf/bpf_tests.h', |
| 30 'seccomp-bpf/codegen_unittest.cc', |
| 31 'seccomp-bpf/errorcode_unittest.cc', |
| 32 'seccomp-bpf/sandbox_bpf_unittest.cc', |
| 33 'seccomp-bpf/syscall_iterator_unittest.cc', |
| 34 'seccomp-bpf/syscall_unittest.cc', |
| 35 ], |
| 36 }], |
| 37 ], |
| 38 } |
OLD | NEW |