| 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', | |
| 14 '../testing/gtest.gyp:gtest', | 13 '../testing/gtest.gyp:gtest', |
| 15 ], | 14 ], |
| 16 'include_dirs': [ | 15 'include_dirs': [ |
| 17 '../..', | 16 '../..', |
| 18 ], | 17 ], |
| 19 'sources': [ | 18 'sources': [ |
| 20 'services/proc_util_unittest.cc', | 19 'services/proc_util_unittest.cc', |
| 21 'services/scoped_process_unittest.cc', | 20 'services/scoped_process_unittest.cc', |
| 22 'services/resource_limits_unittests.cc', | 21 'services/resource_limits_unittests.cc', |
| 23 'services/syscall_wrappers_unittest.cc', | 22 'services/syscall_wrappers_unittest.cc', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 53 'seccomp-bpf/errorcode_unittest.cc', | 52 'seccomp-bpf/errorcode_unittest.cc', |
| 54 'seccomp-bpf/sandbox_bpf_unittest.cc', | 53 'seccomp-bpf/sandbox_bpf_unittest.cc', |
| 55 'seccomp-bpf/syscall_unittest.cc', | 54 'seccomp-bpf/syscall_unittest.cc', |
| 56 'seccomp-bpf/trap_unittest.cc', | 55 'seccomp-bpf/trap_unittest.cc', |
| 57 ], | 56 ], |
| 58 }], | 57 }], |
| 59 [ 'compile_credentials==1', { | 58 [ 'compile_credentials==1', { |
| 60 'sources': [ | 59 'sources': [ |
| 61 'integration_tests/namespace_unix_domain_socket_unittest.cc', | 60 'integration_tests/namespace_unix_domain_socket_unittest.cc', |
| 62 'services/credentials_unittest.cc', | 61 'services/credentials_unittest.cc', |
| 63 'services/namespace_sandbox_unittest.cc', | |
| 64 'services/namespace_utils_unittest.cc', | 62 'services/namespace_utils_unittest.cc', |
| 65 ], | 63 ], |
| 66 'dependencies': [ | 64 'dependencies': [ |
| 67 '../build/linux/system.gyp:libcap' | 65 '../build/linux/system.gyp:libcap' |
| 68 ], | 66 ], |
| 67 'conditions': [ |
| 68 [ 'use_base_test_suite==1', { |
| 69 'sources': [ |
| 70 'services/namespace_sandbox_unittest.cc', |
| 71 ] |
| 72 }] |
| 73 ], |
| 74 }], |
| 75 [ 'use_base_test_suite==1', { |
| 76 'dependencies': [ |
| 77 '../base/base.gyp:test_support_base', |
| 78 ], |
| 79 'defines': [ |
| 80 'SANDBOX_USES_BASE_TEST_SUITE', |
| 81 ], |
| 69 }], | 82 }], |
| 70 ], | 83 ], |
| 71 } | 84 } |
| OLD | NEW |