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

Unified Diff: third_party/libevent/libevent_nacl.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: Rebase and fixed missing dependencies. 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
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',
+ ],
+ },
+ ],
+ }],
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698