| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'includes': [ | |
| 10 '../../build/common_untrusted.gypi', | |
| 11 ], | |
| 12 'conditions': [ | |
| 13 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
| 14 'targets': [ | |
| 15 { | |
| 16 'target_name': 'sandbox_linux_nacl_nonsfi', | |
| 17 'type': 'none', | |
| 18 'variables': { | |
| 19 'nacl_untrusted_build': 1, | |
| 20 'nlib_target': 'libsandbox_linux_nacl_nonsfi.a', | |
| 21 'build_glibc': 0, | |
| 22 'build_newlib': 0, | |
| 23 'build_irt': 0, | |
| 24 'build_pnacl_newlib': 0, | |
| 25 'build_nonsfi_helper': 1, | |
| 26 | |
| 27 'sources': [ | |
| 28 # This is the subset of linux build target, needed for | |
| 29 # nacl_helper_nonsfi's sandbox implementation. | |
| 30 'bpf_dsl/bpf_dsl.cc', | |
| 31 'bpf_dsl/codegen.cc', | |
| 32 'bpf_dsl/policy.cc', | |
| 33 'bpf_dsl/policy_compiler.cc', | |
| 34 'bpf_dsl/syscall_set.cc', | |
| 35 'seccomp-bpf-helpers/sigsys_handlers.cc', | |
| 36 'seccomp-bpf-helpers/syscall_parameters_restrictions.cc', | |
| 37 'seccomp-bpf/die.cc', | |
| 38 'seccomp-bpf/sandbox_bpf.cc', | |
| 39 'seccomp-bpf/syscall.cc', | |
| 40 'seccomp-bpf/trap.cc', | |
| 41 'services/credentials.cc', | |
| 42 'services/namespace_sandbox.cc', | |
| 43 'services/namespace_utils.cc', | |
| 44 'services/proc_util.cc', | |
| 45 'services/resource_limits.cc', | |
| 46 'services/syscall_wrappers.cc', | |
| 47 'services/thread_helpers.cc', | |
| 48 'suid/client/setuid_sandbox_client.cc', | |
| 49 ], | |
| 50 }, | |
| 51 'dependencies': [ | |
| 52 '../../base/base_nacl.gyp:base_nacl_nonsfi', | |
| 53 ], | |
| 54 }, | |
| 55 ], | |
| 56 }], | |
| 57 | |
| 58 ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test=
=1', { | |
| 59 'targets': [ | |
| 60 { | |
| 61 'target_name': 'sandbox_linux_test_utils_nacl_nonsfi', | |
| 62 'type': 'none', | |
| 63 'variables': { | |
| 64 'nacl_untrusted_build': 1, | |
| 65 'nlib_target': 'libsandbox_linux_test_utils_nacl_nonsfi.a', | |
| 66 'build_glibc': 0, | |
| 67 'build_newlib': 0, | |
| 68 'build_irt': 0, | |
| 69 'build_pnacl_newlib': 0, | |
| 70 'build_nonsfi_helper': 1, | |
| 71 | |
| 72 'sources': [ | |
| 73 'seccomp-bpf/sandbox_bpf_test_runner.cc', | |
| 74 'tests/sandbox_test_runner.cc', | |
| 75 'tests/unit_tests.cc', | |
| 76 ], | |
| 77 }, | |
| 78 'dependencies': [ | |
| 79 '../../testing/gtest_nacl.gyp:gtest_nacl', | |
| 80 ], | |
| 81 }, | |
| 82 ], | |
| 83 }], | |
| 84 ], | |
| 85 } | |
| OLD | NEW |