| 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 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
| 12 '../base/base.gyp:test_support_base', | 13 '../base/base.gyp:test_support_base', |
| 13 '../testing/gtest.gyp:gtest', | 14 '../testing/gtest.gyp:gtest', |
| 14 ], | 15 ], |
| 15 'include_dirs': [ | 16 'include_dirs': [ |
| 16 '../..', | 17 '../..', |
| 17 ], | 18 ], |
| 18 'sources': [ | 19 'sources': [ |
| 19 'services/scoped_process_unittest.cc', | 20 'services/scoped_process_unittest.cc', |
| 21 'services/syscall_wrappers_unittest.cc', |
| 20 'services/thread_helpers_unittests.cc', | 22 'services/thread_helpers_unittests.cc', |
| 21 'services/yama_unittests.cc', | 23 'services/yama_unittests.cc', |
| 22 'syscall_broker/broker_process_unittest.cc', | 24 'syscall_broker/broker_process_unittest.cc', |
| 23 'tests/main.cc', | 25 'tests/main.cc', |
| 24 'tests/scoped_temporary_file.cc', | 26 'tests/scoped_temporary_file.cc', |
| 25 'tests/scoped_temporary_file.h', | 27 'tests/scoped_temporary_file.h', |
| 26 'tests/scoped_temporary_file_unittest.cc', | 28 'tests/scoped_temporary_file_unittest.cc', |
| 29 'tests/test_utils_unittest.cc', |
| 27 'tests/unit_tests_unittest.cc', | 30 'tests/unit_tests_unittest.cc', |
| 28 ], | 31 ], |
| 29 'conditions': [ | 32 'conditions': [ |
| 30 [ 'compile_suid_client==1', { | 33 [ 'compile_suid_client==1', { |
| 31 'sources': [ | 34 'sources': [ |
| 32 'suid/client/setuid_sandbox_client_unittest.cc', | 35 'suid/client/setuid_sandbox_client_unittest.cc', |
| 33 ], | 36 ], |
| 34 }], | 37 }], |
| 35 [ 'use_seccomp_bpf==1', { | 38 [ 'use_seccomp_bpf==1', { |
| 36 'sources': [ | 39 'sources': [ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 47 ], | 50 ], |
| 48 }], | 51 }], |
| 49 [ 'compile_credentials==1', { | 52 [ 'compile_credentials==1', { |
| 50 'sources': [ | 53 'sources': [ |
| 51 'services/credentials_unittest.cc', | 54 'services/credentials_unittest.cc', |
| 52 'services/unix_domain_socket_unittest.cc', | 55 'services/unix_domain_socket_unittest.cc', |
| 53 ], | 56 ], |
| 54 }], | 57 }], |
| 55 ], | 58 ], |
| 56 } | 59 } |
| OLD | NEW |