Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / libevent / libevent_nacl_nonsfi.gyp
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.
4
5 {
6   'includes': [
7     '../../build/common_untrusted.gypi',
8   ],
9   'conditions': [
10     ['disable_nacl==0 and disable_nacl_untrusted==0', {
11       'targets': [
12         {
13           'target_name': 'event_nacl_nonsfi',
14           'type': 'none',
15           'sources': [
16             'buffer.c',
17             'evbuffer.c',
18             'event.c',
19             'evutil.c',
20             'log.c',
21             'poll.c',
22             'signal.c',
23             'strlcpy.c',
24             'nacl_nonsfi/config.h',
25             'nacl_nonsfi/event-config.h',
26             'nacl_nonsfi/random.c',
27           ],
28           'defines': [
29             'HAVE_CONFIG_H',
30           ],
31           'include_dirs': [
32             'nacl_nonsfi',
33           ],
34           'variables': {
35             'nacl_untrusted_build': 1,
36             'nlib_target': 'libevent_nacl_nonsfi.a',
37             'build_glibc': 0,
38             'build_newlib': 0,
39             'build_irt': 0,
40             'build_pnacl_newlib': 0,
41             'build_nonsfi_helper': 1,
42           },
43           'dependencies': [
44             '../../native_client/tools.gyp:prep_toolchain',
45           ],
46         },
47       ],
48     }],
49   ],
50 }