GN Windows component build fixes: media
[chromium-blink-merge.git] / sandbox / sandbox_nacl_nonsfi.gyp
blob781df4232f8395ee401e55ebe01a2ac16ed6d297
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.
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_nacl_nonsfi',
17           'type': 'none',
18           'variables': {
19             'nacl_untrusted_build': 1,
20             'nlib_target': 'libsandbox_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,
27             'sources': [
28               # This is the subset of linux build target, needed for
29               # nacl_helper_nonsfi's sandbox implementation.
30               'linux/services/credentials.cc',
31               'linux/services/namespace_utils.cc',
32               'linux/services/namespace_sandbox.cc',
33               'linux/services/proc_util.cc',
34               'linux/services/syscall_wrappers.cc',
35               'linux/services/thread_helpers.cc',
36               'linux/suid/client/setuid_sandbox_client.cc',
37               # TODO(hidehiko): Support seccomp-bpf sandbox.
38             ],
39           },
40           'dependencies': [
41             '../base/base_nacl.gyp:base_nacl_nonsfi',
42           ],
43         },
44       ],
45     }],
46   ],