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

Side by Side Diff: sandbox/linux/seccomp/seccomp.gyp

Issue 3225010: Pull seccomp-sandbox in via DEPS rather than using an in-tree copy... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | « sandbox/linux/seccomp/sandbox_impl.h ('k') | sandbox/linux/seccomp/securemem.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 'seccomp_intermediate_dir': '<(INTERMEDIATE_DIR)/seccomp-sandbox',
9 },
10 'targets': [
11 {
12 'target_name': 'seccomp_sandbox',
13 'type': 'static_library',
14 'sources': [
15 'access.cc',
16 'allocator.cc',
17 'allocator.h',
18 'clone.cc',
19 'exit.cc',
20 'debug.cc',
21 'getpid.cc',
22 'gettid.cc',
23 'ioctl.cc',
24 'ipc.cc',
25 'library.cc',
26 'library.h',
27 'linux_syscall_support.h',
28 'madvise.cc',
29 'maps.cc',
30 'maps.h',
31 'mmap.cc',
32 'mprotect.cc',
33 'munmap.cc',
34 'mutex.h',
35 'open.cc',
36 'sandbox.cc',
37 'sandbox.h',
38 'sandbox_impl.h',
39 'securemem.cc',
40 'securemem.h',
41 'sigaction.cc',
42 'sigprocmask.cc',
43 'socketcall.cc',
44 'stat.cc',
45 'syscall.cc',
46 'syscall.h',
47 'syscall_table.c',
48 'syscall_table.h',
49 'tls.h',
50 'trusted_process.cc',
51 'trusted_thread.cc',
52 'x86_decode.cc',
53 'x86_decode.h',
54 ],
55 },
56 {
57 'target_name': 'seccomp_tests',
58 'type': 'executable',
59 'sources': [
60 'tests/test_syscalls.cc',
61 ],
62 'include_dirs': [
63 '.',
64 '<(seccomp_intermediate_dir)',
65 ],
66 'dependencies': [
67 'seccomp_sandbox',
68 ],
69 'libraries': [
70 '-lpthread',
71 '-lutil', # For openpty()
72 ],
73 'actions': [
74 {
75 'action_name': 'make_test_list',
76 'inputs': [
77 'tests/list_tests.py',
78 'tests/test_syscalls.cc',
79 ],
80 'outputs': ['<(seccomp_intermediate_dir)/test-list.h'],
81 'action': ['sh', '-c', 'python <(_inputs) > <(_outputs)'],
82 },
83 ],
84 },
85 {
86 'target_name': 'timestats',
87 'type': 'executable',
88 'sources': [
89 'timestats.cc',
90 ],
91 },
92 ],
93 }
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp/sandbox_impl.h ('k') | sandbox/linux/seccomp/securemem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698