Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: third_party/libevent/libevent_nacl_nonsfi.gyp

Issue 646643002: Non-SFI Mode: Build libevent with PNaCl toolchain for nacl_helper_nonsfi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newlib5
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libevent/event-config.h ('k') | third_party/libevent/nacl_nonsfi/config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libevent/libevent_nacl_nonsfi.gyp
diff --git a/third_party/libevent/libevent_nacl_nonsfi.gyp b/third_party/libevent/libevent_nacl_nonsfi.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..8638c961a0e3f884e174ab0d44fe81a57172f333
--- /dev/null
+++ b/third_party/libevent/libevent_nacl_nonsfi.gyp
@@ -0,0 +1,51 @@
+# 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_nacl_nonsfi',
+ 'type': 'none',
+ 'sources': [
+ 'buffer.c',
+ 'evbuffer.c',
+ 'event.c',
+ 'evutil.c',
+ 'log.c',
+ 'poll.c',
+ 'signal.c',
+ 'strlcpy.c',
+ 'nacl_nonsfi/config.h',
+ 'nacl_nonsfi/event-config.h',
+ 'nacl_nonsfi/random.c',
+ ],
+ 'defines': [
+ 'HAVE_CONFIG_H',
+ ],
+ 'variables': {
+ 'include_dirs': [
+ 'nacl_nonsfi',
+ '<(DEPTH)/native_client/src/public/linux_syscalls',
+ ],
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libevent_nacl_nonsfi.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',
+ ],
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « third_party/libevent/event-config.h ('k') | third_party/libevent/nacl_nonsfi/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698