| Index: third_party/libevent/libevent_nacl.gyp
|
| diff --git a/third_party/libevent/libevent_nacl.gyp b/third_party/libevent/libevent_nacl.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a1be41fa0a2d2cdda136a70c64193c65b9ffebb1
|
| --- /dev/null
|
| +++ b/third_party/libevent/libevent_nacl.gyp
|
| @@ -0,0 +1,50 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +{
|
| + 'includes': [
|
| + '../../build/common_untrusted.gypi',
|
| + ],
|
| + 'conditions': [
|
| + ['disable_nacl==0', {
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'event_nonsfi_nacl',
|
| + 'type': 'none',
|
| + 'sources': [
|
| + 'buffer.c',
|
| + 'evbuffer.c',
|
| + 'event.c',
|
| + 'evutil.c',
|
| + 'log.c',
|
| + 'poll.c',
|
| + 'signal.c',
|
| + 'strlcpy.c',
|
| + 'nacl/config.h',
|
| + 'nacl/event-config.h',
|
| + ],
|
| + 'defines': [
|
| + 'HAVE_CONFIG_H',
|
| + ],
|
| + 'variables': {
|
| + 'include_dirs': [
|
| + 'nacl',
|
| + '<(DEPTH)/native_client/src/public/linux_syscalls/',
|
| + ],
|
| + 'nacl_untrusted_build': 1,
|
| + 'nlib_target': 'libevent_nonsfi_nacl.a',
|
| + 'build_glibc': 0,
|
| + 'build_newlib': 0,
|
| + 'build_irt': 0,
|
| + 'build_pnacl_newlib': 0,
|
| + 'build_nonsfi_helper': 1,
|
| + },
|
| + 'dependencies': [
|
| + '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
|
| + ],
|
| + },
|
| + ],
|
| + }],
|
| + ],
|
| +}
|
|
|