summaryrefslogtreecommitdiffstats
path: root/third_party/libevent
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-03-31 11:27:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-03-31 11:27:03 -0700
commit0e4a5f26a01b381b0931050fec94d8b9dfcfc113 (patch)
tree817a31d8eba5d4c889134d08dac45793cdef4e63 /third_party/libevent
parente416d04be67622fabb495641955249cad4efa2bf (diff)
parent6e4a9bc770f7c9868977f4321d88764467a9f66e (diff)
downloadexternal_chromium-0e4a5f26a01b381b0931050fec94d8b9dfcfc113.zip
external_chromium-0e4a5f26a01b381b0931050fec94d8b9dfcfc113.tar.gz
external_chromium-0e4a5f26a01b381b0931050fec94d8b9dfcfc113.tar.bz2
am 6e4a9bc7: Moving libevent and modp_b64 to seperate makefiles.
* commit '6e4a9bc770f7c9868977f4321d88764467a9f66e': Moving libevent and modp_b64 to seperate makefiles.
Diffstat (limited to 'third_party/libevent')
-rw-r--r--third_party/libevent/Android.mk27
-rw-r--r--third_party/libevent/MODULE_LICENSE_BSD_LIKE0
-rw-r--r--third_party/libevent/NOTICE24
-rw-r--r--third_party/libevent/ThirdPartyProject.prop7
4 files changed, 58 insertions, 0 deletions
diff --git a/third_party/libevent/Android.mk b/third_party/libevent/Android.mk
new file mode 100644
index 0000000..00bdf6b
--- /dev/null
+++ b/third_party/libevent/Android.mk
@@ -0,0 +1,27 @@
+####################################
+# Build libevent as separate library
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE:= libevent
+LOCAL_MODULE_TAGS:= optional
+
+LOCAL_SRC_FILES := \
+ third_party/libevent/event.c \
+ third_party/libevent/evutil.c \
+ third_party/libevent/epoll.c \
+ third_party/libevent/log.c \
+ third_party/libevent/poll.c \
+ third_party/libevent/select.c \
+ third_party/libevent/signal.c
+
+LOCAL_C_INCLUDES := \
+ $(LOCAL_PATH)/third_party/libevent \
+ $(LOCAL_PATH)/third_party/libevent/android
+
+LOCAL_CFLAGS := -DHAVE_CONFIG_H -DANDROID -fvisibility=hidden
+ifeq ($(TARGET_SIMULATOR),true)
+LOCAL_CFLAGS += -D_EVENT_HAVE_FD_MASK=1
+endif
+
+include $(BUILD_STATIC_LIBRARY)
diff --git a/third_party/libevent/MODULE_LICENSE_BSD_LIKE b/third_party/libevent/MODULE_LICENSE_BSD_LIKE
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/third_party/libevent/MODULE_LICENSE_BSD_LIKE
diff --git a/third_party/libevent/NOTICE b/third_party/libevent/NOTICE
new file mode 100644
index 0000000..af977a4
--- /dev/null
+++ b/third_party/libevent/NOTICE
@@ -0,0 +1,24 @@
+Copyright 2000-2007 Niels Provos <provos@citi.umich.edu>
+Copyright 2007-2009 Niels Provos and Nick Mathewson
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/third_party/libevent/ThirdPartyProject.prop b/third_party/libevent/ThirdPartyProject.prop
new file mode 100644
index 0000000..ebd5558
--- /dev/null
+++ b/third_party/libevent/ThirdPartyProject.prop
@@ -0,0 +1,7 @@
+# Copyright 2011 Google Inc. All Rights Reserved.
+version=1.4.13-stable
+isNative=true
+name=libevent
+onDevice=true
+homepage=http://monkey.org/~provos/libevent/
+