OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'includes': [ | 6 'includes': [ |
7 '../../build/common_untrusted.gypi', | 7 '../../build/common_untrusted.gypi', |
8 ], | 8 ], |
9 'conditions': [ | 9 'conditions': [ |
10 ['disable_nacl==0', { | 10 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'event_nacl_nonsfi', | 13 'target_name': 'event_nacl_nonsfi', |
14 'type': 'none', | 14 'type': 'none', |
15 'sources': [ | 15 'sources': [ |
16 'buffer.c', | 16 'buffer.c', |
17 'evbuffer.c', | 17 'evbuffer.c', |
18 'event.c', | 18 'event.c', |
19 'evutil.c', | 19 'evutil.c', |
20 'log.c', | 20 'log.c', |
21 'poll.c', | 21 'poll.c', |
22 'signal.c', | 22 'signal.c', |
23 'strlcpy.c', | 23 'strlcpy.c', |
24 'nacl_nonsfi/config.h', | 24 'nacl_nonsfi/config.h', |
25 'nacl_nonsfi/event-config.h', | 25 'nacl_nonsfi/event-config.h', |
26 'nacl_nonsfi/random.c', | 26 'nacl_nonsfi/random.c', |
27 ], | 27 ], |
28 'defines': [ | 28 'defines': [ |
29 'HAVE_CONFIG_H', | 29 'HAVE_CONFIG_H', |
30 ], | 30 ], |
| 31 'include_dirs': [ |
| 32 'nacl_nonsfi', |
| 33 ], |
31 'variables': { | 34 'variables': { |
32 'include_dirs': [ | |
33 'nacl_nonsfi', | |
34 '<(DEPTH)/native_client/src/public/linux_syscalls', | |
35 ], | |
36 'nacl_untrusted_build': 1, | 35 'nacl_untrusted_build': 1, |
37 'nlib_target': 'libevent_nacl_nonsfi.a', | 36 'nlib_target': 'libevent_nacl_nonsfi.a', |
38 'build_glibc': 0, | 37 'build_glibc': 0, |
39 'build_newlib': 0, | 38 'build_newlib': 0, |
40 'build_irt': 0, | 39 'build_irt': 0, |
41 'build_pnacl_newlib': 0, | 40 'build_pnacl_newlib': 0, |
42 'build_nonsfi_helper': 1, | 41 'build_nonsfi_helper': 1, |
43 }, | 42 }, |
44 'dependencies': [ | 43 'dependencies': [ |
45 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 44 '../../native_client/tools.gyp:prep_toolchain', |
46 ], | 45 ], |
47 }, | 46 }, |
48 ], | 47 ], |
49 }], | 48 }], |
50 ], | 49 ], |
51 } | 50 } |
OLD | NEW |