Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / content_nacl_nonsfi.gyp
blobcfff0a545893e4f3a4cb09ca4e74dfd897a693f8
1 # Copyright 2014 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': 'content_common_nacl_nonsfi',
17           'type': 'none',
18           'variables': {
19             'nacl_untrusted_build': 1,
20             'nlib_target': 'libcontent_common_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               'common/sandbox_linux/sandbox_init_linux.cc',
29               'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
30               'common/send_zygote_child_ping_linux.cc',
31               'public/common/content_switches.cc',
32             ],
33           },
34           'defines': [
35             'USE_SECCOMP_BPF=1',
36           ],
37           'dependencies': [
38             '../base/base_nacl.gyp:base_nacl_nonsfi',
39           ],
40         },
41       ],
42     }],
43   ],