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

Unified Diff: ports/libevent/build.sh

Issue 1311703003: Added Tor Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 4 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 | « ports/libevent/README.nacl ('k') | ports/libevent/nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/libevent/build.sh
diff --git a/ports/libevent/build.sh b/ports/libevent/build.sh
new file mode 100644
index 0000000000000000000000000000000000000000..402c2f0f9efc47cfaaccdf912b8ed1e194132b27
--- /dev/null
+++ b/ports/libevent/build.sh
@@ -0,0 +1,18 @@
+# Copyright 2015 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# following flag are needed only if you want to run samples in devenv
+NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
+export LIBS="${NACL_CLI_MAIN_LIB}"
+
+ConfigureStep() {
+ if [ "${NACL_LIBC}" = "newlib" ]; then
+ NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
+ export LIBS+=" -lglibc-compat"
+ # setitimer and getitimer not available in newlib, no plan to implement them
+ #TODO(dt) remove this flag once this issue is sorted.
+ EXTRA_CONFIGURE_ARGS+=" --disable-libevent-regress"
+ fi
+ DefaultConfigureStep
+}
« no previous file with comments | « ports/libevent/README.nacl ('k') | ports/libevent/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698