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

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

Issue 10878033: Simplified unit testing of sandboxing code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing parameter that suppresses benign error messages Created 8 years, 4 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
« no previous file with comments | « no previous file | sandbox/linux/seccomp-bpf/Makefile » ('j') | 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 { 5 {
6 'targets': [ 6 'targets': [
7 # We have two principal targets: sandbox and sandbox_linux_unittests 7 # We have two principal targets: sandbox and sandbox_linux_unittests
8 # All other targets are listed as dependencies. 8 # All other targets are listed as dependencies.
9 # FIXME(jln): for historial reasons, sandbox_linux is the setuid sandbox 9 # FIXME(jln): for historial reasons, sandbox_linux is the setuid sandbox
10 # and is its own target. 10 # and is its own target.
(...skipping 23 matching lines...) Expand all
34 ], 34 ],
35 }, 35 },
36 { 36 {
37 'target_name': 'sandbox_linux_unittests', 37 'target_name': 'sandbox_linux_unittests',
38 'type': 'executable', 38 'type': 'executable',
39 'dependencies': [ 39 'dependencies': [
40 'sandbox', 40 'sandbox',
41 '../testing/gtest.gyp:gtest', 41 '../testing/gtest.gyp:gtest',
42 ], 42 ],
43 'sources': [ 43 'sources': [
44 'tests/main.cc',
44 'tests/unit_tests.cc', 45 'tests/unit_tests.cc',
46 'tests/unit_tests.h',
45 'suid/client/setuid_sandbox_client_unittest.cc', 47 'suid/client/setuid_sandbox_client_unittest.cc',
46 ], 48 ],
47 'include_dirs': [ 49 'include_dirs': [
48 '../..', 50 '../..',
49 ], 51 ],
50 'conditions': [ 52 'conditions': [
51 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64" ' 53 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64" '
52 'or target_arch=="arm")', { 54 'or target_arch=="arm")', {
53 'sources': [ 55 'sources': [
56 'seccomp-bpf/bpf_tests.cc',
57 'seccomp-bpf/bpf_tests.h',
54 'seccomp-bpf/sandbox_bpf_unittest.cc', 58 'seccomp-bpf/sandbox_bpf_unittest.cc',
55 ], 59 ],
56 }], 60 }],
57 ], 61 ],
58 }, 62 },
59 { 63 {
60 'target_name': 'seccomp_bpf', 64 'target_name': 'seccomp_bpf',
61 'type': 'static_library', 65 'type': 'static_library',
62 'sources': [ 66 'sources': [
67 'seccomp-bpf/die.cc',
68 'seccomp-bpf/die.h',
63 'seccomp-bpf/sandbox_bpf.cc', 69 'seccomp-bpf/sandbox_bpf.cc',
64 'seccomp-bpf/sandbox_bpf.h', 70 'seccomp-bpf/sandbox_bpf.h',
65 'seccomp-bpf/verifier.cc', 71 'seccomp-bpf/verifier.cc',
66 'seccomp-bpf/verifier.h', 72 'seccomp-bpf/verifier.h',
67 ], 73 ],
68 'dependencies': [ 74 'dependencies': [
69 '../base/base.gyp:base', 75 '../base/base.gyp:base',
70 ], 76 ],
71 'include_dirs': [ 77 'include_dirs': [
72 '../..', 78 '../..',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 'dependencies': [ 125 'dependencies': [
120 '../base/base.gyp:base', 126 '../base/base.gyp:base',
121 ], 127 ],
122 'include_dirs': [ 128 'include_dirs': [
123 '..', 129 '..',
124 ], 130 ],
125 }, 131 },
126 132
127 ], 133 ],
128 } 134 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/seccomp-bpf/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698