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

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

Issue 117803002: Make building seccomp-bpf a GYP condition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Excludes files to be IDE friendly. Created 7 years 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
« no previous file with comments | « sandbox/linux/sandbox_linux.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../base/base.gyp:base', 10 '../base/base.gyp:base',
11 '../testing/gtest.gyp:gtest', 11 '../testing/gtest.gyp:gtest',
12 ], 12 ],
13 'include_dirs': [ 13 'include_dirs': [
14 '../..', 14 '../..',
15 ], 15 ],
16 'sources': [ 16 'sources': [
17 'tests/main.cc', 17 'tests/main.cc',
18 'tests/unit_tests.cc', 18 'tests/unit_tests.cc',
19 'tests/unit_tests.h', 19 'tests/unit_tests.h',
20 'services/broker_process_unittest.cc', 20 'services/broker_process_unittest.cc',
21 ], 21 ],
22 'conditions': [ 22 'conditions': [
23 [ 'compile_suid_client==1', { 23 [ 'compile_suid_client==1', {
24 'sources': [ 24 'sources': [
25 'suid/client/setuid_sandbox_client_unittest.cc', 25 'suid/client/setuid_sandbox_client_unittest.cc',
26 ], 26 ],
27 }], 27 }],
28 [ 'compile_seccomp_bpf==1', { 28 [ 'use_seccomp_bpf==1', {
29 'sources': [ 29 'sources': [
30 'seccomp-bpf/bpf_tests.h', 30 'seccomp-bpf/bpf_tests.h',
31 'seccomp-bpf/codegen_unittest.cc', 31 'seccomp-bpf/codegen_unittest.cc',
32 'seccomp-bpf/errorcode_unittest.cc', 32 'seccomp-bpf/errorcode_unittest.cc',
33 'seccomp-bpf/sandbox_bpf_unittest.cc', 33 'seccomp-bpf/sandbox_bpf_unittest.cc',
34 'seccomp-bpf/syscall_iterator_unittest.cc', 34 'seccomp-bpf/syscall_iterator_unittest.cc',
35 'seccomp-bpf/syscall_unittest.cc', 35 'seccomp-bpf/syscall_unittest.cc',
36 ], 36 ],
37 }], 37 }],
38 [ 'compile_credentials==1', { 38 [ 'compile_credentials==1', {
39 'sources': [ 39 'sources': [
40 'services/credentials_unittest.cc', 40 'services/credentials_unittest.cc',
41 ], 41 ],
42 }], 42 }],
43 ], 43 ],
44 } 44 }
OLDNEW
« no previous file with comments | « sandbox/linux/sandbox_linux.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698