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_linux_nacl_nonsfi',
19 'nacl_untrusted_build': 1,
20 'nlib_target': 'libsandbox_linux_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.
32 'bpf_dsl/errorcode.cc',
34 'bpf_dsl/policy_compiler.cc',
35 'bpf_dsl/syscall_set.cc',
36 'seccomp-bpf-helpers/sigsys_handlers.cc',
37 'seccomp-bpf-helpers/syscall_parameters_restrictions.cc',
39 'seccomp-bpf/sandbox_bpf.cc',
40 'seccomp-bpf/syscall.cc',
41 'seccomp-bpf/trap.cc',
42 'services/credentials.cc',
43 'services/namespace_sandbox.cc',
44 'services/namespace_utils.cc',
45 'services/proc_util.cc',
46 'services/resource_limits.cc',
47 'services/syscall_wrappers.cc',
48 'services/thread_helpers.cc',
49 'suid/client/setuid_sandbox_client.cc',
53 '../../base/base_nacl.gyp:base_nacl_nonsfi',
59 ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test==1', {
62 'target_name': 'sandbox_linux_test_utils_nacl_nonsfi',
65 'nacl_untrusted_build': 1,
66 'nlib_target': 'libsandbox_linux_test_utils_nacl_nonsfi.a',
70 'build_pnacl_newlib': 0,
71 'build_nonsfi_helper': 1,
74 'seccomp-bpf/sandbox_bpf_test_runner.cc',
75 'tests/sandbox_test_runner.cc',
76 'tests/unit_tests.cc',
80 '../../testing/gtest_nacl.gyp:gtest_nacl',