1 # Copyright 2015 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.
10 '../build/common_untrusted.gypi',
13 ['disable_nacl==0 and disable_nacl_untrusted==0', {
16 'target_name': 'sandbox_nacl_nonsfi',
19 'nacl_untrusted_build': 1,
20 'nlib_target': 'libsandbox_nacl_nonsfi.a',
24 'build_pnacl_newlib': 0,
25 'build_nonsfi_helper': 1,
28 # This is the subset of linux build target, needed for
29 # nacl_helper_nonsfi's sandbox implementation.
30 'linux/bpf_dsl/bpf_dsl.cc',
31 'linux/bpf_dsl/codegen.cc',
32 'linux/bpf_dsl/dump_bpf.cc',
33 'linux/bpf_dsl/policy.cc',
34 'linux/bpf_dsl/policy_compiler.cc',
35 'linux/bpf_dsl/syscall_set.cc',
36 'linux/bpf_dsl/verifier.cc',
37 'linux/seccomp-bpf-helpers/sigsys_handlers.cc',
38 'linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc',
39 'linux/seccomp-bpf/die.cc',
40 'linux/seccomp-bpf/errorcode.cc',
41 'linux/seccomp-bpf/sandbox_bpf.cc',
42 'linux/seccomp-bpf/syscall.cc',
43 'linux/seccomp-bpf/trap.cc',
44 'linux/services/credentials.cc',
45 'linux/services/namespace_sandbox.cc',
46 'linux/services/namespace_utils.cc',
47 'linux/services/proc_util.cc',
48 'linux/services/resource_limits.cc',
49 'linux/services/syscall_wrappers.cc',
50 'linux/services/thread_helpers.cc',
51 'linux/suid/client/setuid_sandbox_client.cc',
55 '../base/base_nacl.gyp:base_nacl_nonsfi',