summaryrefslogtreecommitdiffstats
path: root/third_party/libevent/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libevent/SConscript')
-rw-r--r--third_party/libevent/SConscript46
1 files changed, 46 insertions, 0 deletions
diff --git a/third_party/libevent/SConscript b/third_party/libevent/SConscript
new file mode 100644
index 0000000..5cef0d2
--- /dev/null
+++ b/third_party/libevent/SConscript
@@ -0,0 +1,46 @@
+# Copyright (c) 2006-2008 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.
+
+Import('env')
+
+env = env.Clone(
+)
+
+env.Append(
+ CPPDEFINES = [
+ 'HAVE_CONFIG_H',
+ ],
+)
+
+env.Prepend(
+ CPPPATH = [
+ '$LIBEVENT_DIR',
+ '$LIBEVENT_DIR/compat/'
+ ],
+)
+
+
+input_files = [
+ 'buffer.c',
+ #'devpoll.c',
+ 'epoll.c',
+ 'epoll_sub.c',
+ 'evbuffer.c',
+ 'evdns.c',
+ 'event.c',
+ 'event_tagging.c',
+ #'evport.c',
+ 'evrpc.c',
+ 'evutil.c',
+ 'http.c',
+ #'kqueue.c',
+ 'log.c',
+ 'poll.c',
+ 'select.c',
+ 'signal.c',
+ 'strlcpy.c',
+]
+
+
+env.ChromeStaticLibrary('libevent', input_files)