Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: sandbox/linux/sandbox_linux_test_sources.gypi

Issue 348853006: Linux sandbox: add test to ensure that pread64 can be forwarded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exclude Android from new test. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 '../base/base.gyp:base', 11 '../base/base.gyp:base',
12 '../base/base.gyp:test_support_base', 12 '../base/base.gyp:test_support_base',
13 '../testing/gtest.gyp:gtest', 13 '../testing/gtest.gyp:gtest',
14 ], 14 ],
15 'include_dirs': [ 15 'include_dirs': [
16 '../..', 16 '../..',
17 ], 17 ],
18 'sources': [ 18 'sources': [
19 'tests/main.cc',
20 'tests/unit_tests_unittest.cc',
21 'services/broker_process_unittest.cc', 19 'services/broker_process_unittest.cc',
22 'services/scoped_process_unittest.cc', 20 'services/scoped_process_unittest.cc',
23 'services/thread_helpers_unittests.cc', 21 'services/thread_helpers_unittests.cc',
24 'services/yama_unittests.cc', 22 'services/yama_unittests.cc',
23 'tests/main.cc',
24 'tests/scoped_temporary_file.cc',
25 'tests/scoped_temporary_file.h',
26 'tests/scoped_temporary_file_unittest.cc',
27 'tests/unit_tests_unittest.cc',
25 ], 28 ],
26 'conditions': [ 29 'conditions': [
27 [ 'compile_suid_client==1', { 30 [ 'compile_suid_client==1', {
28 'sources': [ 31 'sources': [
29 'suid/client/setuid_sandbox_client_unittest.cc', 32 'suid/client/setuid_sandbox_client_unittest.cc',
30 ], 33 ],
31 }], 34 }],
32 [ 'use_seccomp_bpf==1', { 35 [ 'use_seccomp_bpf==1', {
33 'sources': [ 36 'sources': [
34 'seccomp-bpf-helpers/baseline_policy_unittest.cc', 37 'seccomp-bpf-helpers/baseline_policy_unittest.cc',
35 'seccomp-bpf/bpf_tests_unittest.cc', 38 'seccomp-bpf/bpf_tests_unittest.cc',
36 'seccomp-bpf/codegen_unittest.cc', 39 'seccomp-bpf/codegen_unittest.cc',
37 'seccomp-bpf/errorcode_unittest.cc', 40 'seccomp-bpf/errorcode_unittest.cc',
38 'seccomp-bpf/sandbox_bpf_unittest.cc', 41 'seccomp-bpf/sandbox_bpf_unittest.cc',
39 'seccomp-bpf/syscall_iterator_unittest.cc', 42 'seccomp-bpf/syscall_iterator_unittest.cc',
40 'seccomp-bpf/syscall_unittest.cc', 43 'seccomp-bpf/syscall_unittest.cc',
41 ], 44 ],
42 }], 45 }],
43 [ 'compile_credentials==1', { 46 [ 'compile_credentials==1', {
44 'sources': [ 47 'sources': [
45 'services/credentials_unittest.cc', 48 'services/credentials_unittest.cc',
46 'services/unix_domain_socket_unittest.cc', 49 'services/unix_domain_socket_unittest.cc',
47 ], 50 ],
48 }], 51 }],
49 ], 52 ],
50 } 53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698