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

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: Update per code review Created 6 years, 6 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 'sources': [ 120 'sources': [
120 'seccomp-bpf/basicblock.cc', 121 'seccomp-bpf/basicblock.cc',
121 'seccomp-bpf/basicblock.h', 122 'seccomp-bpf/basicblock.h',
122 'seccomp-bpf/codegen.cc', 123 'seccomp-bpf/codegen.cc',
123 'seccomp-bpf/codegen.h', 124 'seccomp-bpf/codegen.h',
124 'seccomp-bpf/die.cc', 125 'seccomp-bpf/die.cc',
125 'seccomp-bpf/die.h', 126 'seccomp-bpf/die.h',
126 'seccomp-bpf/errorcode.cc', 127 'seccomp-bpf/errorcode.cc',
127 'seccomp-bpf/errorcode.h', 128 'seccomp-bpf/errorcode.h',
128 'seccomp-bpf/instruction.h', 129 'seccomp-bpf/instruction.h',
130 'seccomp-bpf/kernel_return_value_helpers.h',
131 'seccomp-bpf/kernel_return_value_helpers.cc',
129 'seccomp-bpf/linux_seccomp.h', 132 'seccomp-bpf/linux_seccomp.h',
130 'seccomp-bpf/sandbox_bpf.cc', 133 'seccomp-bpf/sandbox_bpf.cc',
131 'seccomp-bpf/sandbox_bpf.h', 134 'seccomp-bpf/sandbox_bpf.h',
132 'seccomp-bpf/sandbox_bpf_compatibility_policy.h', 135 'seccomp-bpf/sandbox_bpf_compatibility_policy.h',
133 'seccomp-bpf/sandbox_bpf_policy.cc', 136 'seccomp-bpf/sandbox_bpf_policy.cc',
134 'seccomp-bpf/sandbox_bpf_policy.h', 137 'seccomp-bpf/sandbox_bpf_policy.h',
135 'seccomp-bpf/syscall.cc', 138 'seccomp-bpf/syscall.cc',
136 'seccomp-bpf/syscall.h', 139 'seccomp-bpf/syscall.h',
137 'seccomp-bpf/syscall_iterator.cc', 140 'seccomp-bpf/syscall_iterator.cc',
138 'seccomp-bpf/syscall_iterator.h', 141 'seccomp-bpf/syscall_iterator.h',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 'include_dirs': [ 255 'include_dirs': [
253 '..', 256 '..',
254 ], 257 ],
255 }, 258 },
256 { 'target_name': 'sandbox_services_headers', 259 { 'target_name': 'sandbox_services_headers',
257 'type': 'none', 260 'type': 'none',
258 'sources': [ 261 'sources': [
259 'services/android_arm_ucontext.h', 262 'services/android_arm_ucontext.h',
260 'services/android_ucontext.h', 263 'services/android_ucontext.h',
261 'services/android_i386_ucontext.h', 264 'services/android_i386_ucontext.h',
265 'services/android_mips_ucontext.h',
262 'services/arm_linux_syscalls.h', 266 'services/arm_linux_syscalls.h',
267 'services/mips_linux_syscalls.h',
263 'services/linux_syscalls.h', 268 'services/linux_syscalls.h',
264 'services/x86_32_linux_syscalls.h', 269 'services/x86_32_linux_syscalls.h',
265 'services/x86_64_linux_syscalls.h', 270 'services/x86_64_linux_syscalls.h',
266 ], 271 ],
267 'include_dirs': [ 272 'include_dirs': [
268 '..', 273 '..',
269 ], 274 ],
270 }, 275 },
271 { 276 {
272 # We make this its own target so that it does not interfere 277 # We make this its own target so that it does not interfere
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 }, 336 },
332 'dependencies': [ 337 'dependencies': [
333 'sandbox_linux_jni_unittests', 338 'sandbox_linux_jni_unittests',
334 ], 339 ],
335 'includes': [ '../../build/apk_test.gypi' ], 340 'includes': [ '../../build/apk_test.gypi' ],
336 } 341 }
337 ], 342 ],
338 }], 343 }],
339 ], 344 ],
340 } 345 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698