OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/common_untrusted.gypi', | 10 '../build/common_untrusted.gypi', |
11 ], | 11 ], |
12 'conditions': [ | 12 'conditions': [ |
13 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 13 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'content_common_nacl_nonsfi', | 16 'target_name': 'sandbox_nacl_nonsfi', |
17 'type': 'none', | 17 'type': 'none', |
18 'variables': { | 18 'variables': { |
19 'nacl_untrusted_build': 1, | 19 'nacl_untrusted_build': 1, |
20 'nlib_target': 'libcontent_common_nacl_nonsfi.a', | 20 'nlib_target': 'libsandbox_nacl_nonsfi.a', |
21 'build_glibc': 0, | 21 'build_glibc': 0, |
22 'build_newlib': 0, | 22 'build_newlib': 0, |
23 'build_irt': 0, | 23 'build_irt': 0, |
24 'build_pnacl_newlib': 0, | 24 'build_pnacl_newlib': 0, |
25 'build_nonsfi_helper': 1, | 25 'build_nonsfi_helper': 1, |
26 | 26 |
27 'sources': [ | 27 'sources': [ |
28 'common/send_zygote_child_ping_linux.cc', | 28 # This is the subset of linux build target, needed for |
29 'public/common/send_zygote_child_ping_linux.h', | 29 # nacl_helper_nonsfi's sandbox implementation. |
30 # TODO(hidehiko): Add sandbox code. | 30 'linux/services/proc_util.cc', |
| 31 'linux/services/thread_helpers.cc', |
| 32 'linux/suid/client/setuid_sandbox_client.cc', |
| 33 # TODO(hidehiko): Support namespace sandbox and seccomp-bpf |
| 34 # sandbox. |
31 ], | 35 ], |
32 }, | 36 }, |
33 'dependencies': [ | 37 'dependencies': [ |
34 '../base/base_nacl.gyp:base_nacl_nonsfi', | 38 '../base/base_nacl.gyp:base_nacl_nonsfi', |
35 '../native_client/tools.gyp:prep_toolchain', | 39 '../native_client/tools.gyp:prep_toolchain', |
36 ], | 40 ], |
37 }, | 41 }, |
38 ], | 42 ], |
39 }], | 43 }], |
40 ], | 44 ], |
41 } | 45 } |
OLD | NEW |