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

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

Issue 10808003: Move sandbox/sandbox_linux.gypi to sandbox/linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/sandbox.gyp » ('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 19 matching lines...) Expand all
30 ], 30 ],
31 }, 31 },
32 { 32 {
33 'target_name': 'sandbox_linux_unittests', 33 'target_name': 'sandbox_linux_unittests',
34 'type': 'executable', 34 'type': 'executable',
35 'dependencies': [ 35 'dependencies': [
36 'sandbox', 36 'sandbox',
37 '../testing/gtest.gyp:gtest', 37 '../testing/gtest.gyp:gtest',
38 ], 38 ],
39 'sources': [ 39 'sources': [
40 'linux/tests/unit_tests.cc', 40 'tests/unit_tests.cc',
41 ], 41 ],
42 'include_dirs': [ 42 'include_dirs': [
43 '..', 43 '../..',
44 ], 44 ],
45 'conditions': [ 45 'conditions': [
46 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { 46 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', {
47 'sources': [ 47 'sources': [
48 'linux/seccomp-bpf/sandbox_bpf_unittest.cc', 48 'seccomp-bpf/sandbox_bpf_unittest.cc',
49 ], 49 ],
50 }], 50 }],
51 ], 51 ],
52 }, 52 },
53 { 53 {
54 'target_name': 'seccomp_bpf', 54 'target_name': 'seccomp_bpf',
55 'type': 'static_library', 55 'type': 'static_library',
56 'sources': [ 56 'sources': [
57 'linux/seccomp-bpf/sandbox_bpf.cc', 57 'seccomp-bpf/sandbox_bpf.cc',
58 'linux/seccomp-bpf/sandbox_bpf.h', 58 'seccomp-bpf/sandbox_bpf.h',
59 'linux/seccomp-bpf/verifier.cc', 59 'seccomp-bpf/verifier.cc',
60 'linux/seccomp-bpf/verifier.h', 60 'seccomp-bpf/verifier.h',
61 ], 61 ],
62 'dependencies': [ 62 'dependencies': [
63 '../base/base.gyp:base', 63 '../base/base.gyp:base',
64 ], 64 ],
65 'include_dirs': [ 65 'include_dirs': [
66 '..', 66 '../..',
67 ], 67 ],
68 }, 68 },
69 { 69 {
70 # The setuid sandbox, for Linux 70 # The setuid sandbox, for Linux
71 'target_name': 'chrome_sandbox', 71 'target_name': 'chrome_sandbox',
72 'type': 'executable', 72 'type': 'executable',
73 'sources': [ 73 'sources': [
74 'linux/suid/linux_util.c', 74 'suid/linux_util.c',
75 'linux/suid/linux_util.h', 75 'suid/linux_util.h',
76 'linux/suid/process_util.h', 76 'suid/process_util.h',
77 'linux/suid/process_util_linux.c', 77 'suid/process_util_linux.c',
78 'linux/suid/sandbox.h', 78 'suid/sandbox.h',
79 'linux/suid/sandbox.c', 79 'suid/sandbox.c',
80 ], 80 ],
81 'cflags': [ 81 'cflags': [
82 # For ULLONG_MAX 82 # For ULLONG_MAX
83 '-std=gnu99', 83 '-std=gnu99',
84 ], 84 ],
85 'include_dirs': [ 85 'include_dirs': [
86 '..', 86 '../..',
87 ], 87 ],
88 }, 88 },
89 { 89 {
90 'target_name': 'libc_urandom_override', 90 'target_name': 'libc_urandom_override',
91 'type': 'static_library', 91 'type': 'static_library',
92 'sources': [ 92 'sources': [
93 'linux/services/libc_urandom_override.cc', 93 'services/libc_urandom_override.cc',
94 'linux/services/libc_urandom_override.h', 94 'services/libc_urandom_override.h',
95 ], 95 ],
96 'dependencies': [ 96 'dependencies': [
97 '../base/base.gyp:base', 97 '../base/base.gyp:base',
98 ], 98 ],
99 'include_dirs': [ 99 'include_dirs': [
100 '..', 100 '..',
101 ], 101 ],
102 }, 102 },
103 ], 103 ],
104 } 104 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/sandbox.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698