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

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

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
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 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['OS=="linux"', { 8 ['OS=="linux"', {
9 'compile_suid_client': 1, 9 'compile_suid_client': 1,
10 'compile_credentials': 1, 10 'compile_credentials': 1,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 'sources': [ 120 'sources': [
121 'bpf_dsl/bpf_dsl.cc', 121 'bpf_dsl/bpf_dsl.cc',
122 'bpf_dsl/bpf_dsl.h', 122 'bpf_dsl/bpf_dsl.h',
123 'bpf_dsl/bpf_dsl_forward.h', 123 'bpf_dsl/bpf_dsl_forward.h',
124 'bpf_dsl/bpf_dsl_impl.h', 124 'bpf_dsl/bpf_dsl_impl.h',
125 'bpf_dsl/codegen.cc', 125 'bpf_dsl/codegen.cc',
126 'bpf_dsl/codegen.h', 126 'bpf_dsl/codegen.h',
127 'bpf_dsl/cons.h', 127 'bpf_dsl/cons.h',
128 'bpf_dsl/dump_bpf.cc', 128 'bpf_dsl/dump_bpf.cc',
129 'bpf_dsl/dump_bpf.h', 129 'bpf_dsl/dump_bpf.h',
130 'bpf_dsl/linux_syscall_ranges.h',
130 'bpf_dsl/policy.cc', 131 'bpf_dsl/policy.cc',
131 'bpf_dsl/policy.h', 132 'bpf_dsl/policy.h',
132 'bpf_dsl/policy_compiler.cc', 133 'bpf_dsl/policy_compiler.cc',
133 'bpf_dsl/policy_compiler.h', 134 'bpf_dsl/policy_compiler.h',
135 'bpf_dsl/seccomp_macros.h',
136 'bpf_dsl/seccomp_macros.h',
134 'bpf_dsl/syscall_set.cc', 137 'bpf_dsl/syscall_set.cc',
135 'bpf_dsl/syscall_set.h', 138 'bpf_dsl/syscall_set.h',
136 'bpf_dsl/trap_registry.h', 139 'bpf_dsl/trap_registry.h',
137 'seccomp-bpf/die.cc', 140 'seccomp-bpf/die.cc',
138 'seccomp-bpf/die.h', 141 'seccomp-bpf/die.h',
139 'seccomp-bpf/errorcode.cc', 142 'seccomp-bpf/errorcode.cc',
140 'seccomp-bpf/errorcode.h', 143 'seccomp-bpf/errorcode.h',
141 'seccomp-bpf/linux_seccomp.h',
142 'seccomp-bpf/sandbox_bpf.cc', 144 'seccomp-bpf/sandbox_bpf.cc',
143 'seccomp-bpf/sandbox_bpf.h', 145 'seccomp-bpf/sandbox_bpf.h',
144 'seccomp-bpf/syscall.cc', 146 'seccomp-bpf/syscall.cc',
145 'seccomp-bpf/syscall.h', 147 'seccomp-bpf/syscall.h',
146 'seccomp-bpf/trap.cc', 148 'seccomp-bpf/trap.cc',
147 'seccomp-bpf/trap.h', 149 'seccomp-bpf/trap.h',
148 'seccomp-bpf/verifier.cc', 150 'seccomp-bpf/verifier.cc',
149 'seccomp-bpf/verifier.h', 151 'seccomp-bpf/verifier.h',
150 ], 152 ],
151 'dependencies': [ 153 'dependencies': [
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 ], 216 ],
215 'ldflags/': [ 217 'ldflags/': [
216 ['exclude', '-fsanitize'], 218 ['exclude', '-fsanitize'],
217 ], 219 ],
218 }, 220 },
219 { 'target_name': 'sandbox_services', 221 { 'target_name': 'sandbox_services',
220 'type': '<(component)', 222 'type': '<(component)',
221 'sources': [ 223 'sources': [
222 'services/init_process_reaper.cc', 224 'services/init_process_reaper.cc',
223 'services/init_process_reaper.h', 225 'services/init_process_reaper.h',
226 'services/proc_util.cc',
227 'services/proc_util.h',
228 'services/resource_limits.cc',
229 'services/resource_limits.h',
224 'services/scoped_process.cc', 230 'services/scoped_process.cc',
225 'services/scoped_process.h', 231 'services/scoped_process.h',
226 'services/syscall_wrappers.cc', 232 'services/syscall_wrappers.cc',
227 'services/syscall_wrappers.h', 233 'services/syscall_wrappers.h',
228 'services/thread_helpers.cc', 234 'services/thread_helpers.cc',
229 'services/thread_helpers.h', 235 'services/thread_helpers.h',
230 'services/yama.cc', 236 'services/yama.cc',
231 'services/yama.h', 237 'services/yama.h',
232 'syscall_broker/broker_channel.cc', 238 'syscall_broker/broker_channel.cc',
233 'syscall_broker/broker_channel.h', 239 'syscall_broker/broker_channel.h',
(...skipping 17 matching lines...) Expand all
251 ], 257 ],
252 'conditions': [ 258 'conditions': [
253 ['compile_credentials==1', { 259 ['compile_credentials==1', {
254 'sources': [ 260 'sources': [
255 'services/credentials.cc', 261 'services/credentials.cc',
256 'services/credentials.h', 262 'services/credentials.h',
257 'services/namespace_sandbox.cc', 263 'services/namespace_sandbox.cc',
258 'services/namespace_sandbox.h', 264 'services/namespace_sandbox.h',
259 'services/namespace_utils.cc', 265 'services/namespace_utils.cc',
260 'services/namespace_utils.h', 266 'services/namespace_utils.h',
261 'services/proc_util.cc',
262 'services/proc_util.h',
263 ], 267 ],
264 'dependencies': [ 268 'dependencies': [
265 # for capabilities.cc. 269 # for capabilities.cc.
266 '../build/linux/system.gyp:libcap', 270 '../build/linux/system.gyp:libcap',
267 ], 271 ],
268 }], 272 }],
269 ], 273 ],
270 'include_dirs': [ 274 'include_dirs': [
271 '..', 275 '..',
272 ], 276 ],
273 }, 277 },
274 { 'target_name': 'sandbox_services_headers', 278 { 'target_name': 'sandbox_services_headers',
275 'type': 'none', 279 'type': 'none',
276 'sources': [ 280 'sources': [
277 'services/android_arm_ucontext.h', 281 'system_headers/android_arm64_ucontext.h',
278 'services/android_arm64_ucontext.h', 282 'system_headers/android_arm_ucontext.h',
279 'services/android_futex.h', 283 'system_headers/android_futex.h',
280 'services/android_ucontext.h', 284 'system_headers/android_i386_ucontext.h',
281 'services/android_i386_ucontext.h', 285 'system_headers/android_mips_ucontext.h',
282 'services/android_mips_ucontext.h', 286 'system_headers/android_ucontext.h',
283 'services/arm_linux_syscalls.h', 287 'system_headers/arm64_linux_syscalls.h',
284 'services/arm64_linux_syscalls.h', 288 'system_headers/arm_linux_syscalls.h',
285 'services/mips_linux_syscalls.h', 289 'system_headers/linux_seccomp.h',
286 'services/linux_syscalls.h', 290 'system_headers/linux_syscalls.h',
287 'services/x86_32_linux_syscalls.h', 291 'system_headers/mips_linux_syscalls.h',
288 'services/x86_64_linux_syscalls.h', 292 'system_headers/x86_32_linux_syscalls.h',
293 'system_headers/x86_64_linux_syscalls.h',
289 ], 294 ],
290 'include_dirs': [ 295 'include_dirs': [
291 '..', 296 '..',
292 ], 297 ],
293 }, 298 },
294 { 299 {
295 # We make this its own target so that it does not interfere 300 # We make this its own target so that it does not interfere
296 # with our tests. 301 # with our tests.
297 'target_name': 'libc_urandom_override', 302 'target_name': 'libc_urandom_override',
298 'type': 'static_library', 303 'type': 'static_library',
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 '../../build/isolate.gypi', 395 '../../build/isolate.gypi',
391 ], 396 ],
392 'sources': [ 397 'sources': [
393 '../sandbox_linux_unittests.isolate', 398 '../sandbox_linux_unittests.isolate',
394 ], 399 ],
395 }, 400 },
396 ], 401 ],
397 }], 402 }],
398 ], 403 ],
399 } 404 }
OLDNEW
« no previous file with comments | « sandbox/linux/integration_tests/seccomp_broker_process_unittest.cc ('k') | sandbox/linux/sandbox_linux_test_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698