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

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

Issue 260793003: [MIPS] Add seccomp bpf support (Closed) Base URL: https://git.chromium.org/git/chromium/src.git@master
Patch Set: Fix problem with truncation of syscall value in CrashSIGSYS_Handler Created 6 years, 7 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,
11 }, { 11 }, {
12 'compile_suid_client': 0, 12 'compile_suid_client': 0,
13 'compile_credentials': 0, 13 'compile_credentials': 0,
14 }], 14 }],
15 ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { 15 ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64" or '
16 'target_arch=="mipsel")', {
16 'compile_seccomp_bpf_demo': 1, 17 'compile_seccomp_bpf_demo': 1,
17 }, { 18 }, {
18 'compile_seccomp_bpf_demo': 0, 19 'compile_seccomp_bpf_demo': 0,
19 }], 20 }],
20 ], 21 ],
21 }, 22 },
22 'target_defaults': { 23 'target_defaults': {
23 'target_conditions': [ 24 'target_conditions': [
24 # All linux/ files will automatically be excluded on Android 25 # All linux/ files will automatically be excluded on Android
25 # so make sure we re-include them explicitly. 26 # so make sure we re-include them explicitly.
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 'include_dirs': [ 251 'include_dirs': [
251 '..', 252 '..',
252 ], 253 ],
253 }, 254 },
254 { 'target_name': 'sandbox_services_headers', 255 { 'target_name': 'sandbox_services_headers',
255 'type': 'none', 256 'type': 'none',
256 'sources': [ 257 'sources': [
257 'services/android_arm_ucontext.h', 258 'services/android_arm_ucontext.h',
258 'services/android_ucontext.h', 259 'services/android_ucontext.h',
259 'services/android_i386_ucontext.h', 260 'services/android_i386_ucontext.h',
261 'services/android_mips_ucontext.h',
260 'services/arm_linux_syscalls.h', 262 'services/arm_linux_syscalls.h',
263 'services/mips_linux_syscalls.h',
261 'services/linux_syscalls.h', 264 'services/linux_syscalls.h',
262 'services/x86_32_linux_syscalls.h', 265 'services/x86_32_linux_syscalls.h',
263 'services/x86_64_linux_syscalls.h', 266 'services/x86_64_linux_syscalls.h',
264 ], 267 ],
265 'include_dirs': [ 268 'include_dirs': [
266 '..', 269 '..',
267 ], 270 ],
268 }, 271 },
269 { 272 {
270 # We make this its own target so that it does not interfere 273 # We make this its own target so that it does not interfere
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 }, 333 },
331 'dependencies': [ 334 'dependencies': [
332 'sandbox_linux_jni_unittests', 335 'sandbox_linux_jni_unittests',
333 ], 336 ],
334 'includes': [ '../../build/apk_test.gypi' ], 337 'includes': [ '../../build/apk_test.gypi' ],
335 } 338 }
336 ], 339 ],
337 }], 340 }],
338 ], 341 ],
339 } 342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698