You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| WIN32-Code | 4 years ago | |
| compat/sys | 4 years ago | |
| include | 4 years ago | |
| m4 | 4 years ago | |
| sample | 4 years ago | |
| test | 4 years ago | |
| Android.bp | 4 years ago | |
| ChangeLog | 4 years ago | |
| ChangeLog-1.4 | 4 years ago | |
| ChangeLog-2.0 | 4 years ago | |
| CleanSpec.mk | 4 years ago | |
| Doxyfile | 4 years ago | |
| LICENSE | 4 years ago | |
| METADATA | 4 years ago | |
| MODULE_LICENSE_BSD_LIKE | 4 years ago | |
| Makefile.am | 4 years ago | |
| Makefile.in | 4 years ago | |
| Makefile.nmake | 4 years ago | |
| NOTICE | 4 years ago | |
| OWNERS | 4 years ago | |
| README.android | 4 years ago | |
| aclocal.m4 | 4 years ago | |
| arc4random.c | 4 years ago | |
| autogen.sh | 4 years ago | |
| buffer.c | 4 years ago | |
| buffer_iocp.c | 4 years ago | |
| bufferevent-internal.h | 4 years ago | |
| bufferevent.c | 4 years ago | |
| bufferevent_async.c | 4 years ago | |
| bufferevent_filter.c | 4 years ago | |
| bufferevent_openssl.c | 4 years ago | |
| bufferevent_pair.c | 4 years ago | |
| bufferevent_ratelim.c | 4 years ago | |
| bufferevent_sock.c | 4 years ago | |
| changelist-internal.h | 4 years ago | |
| compile | 4 years ago | |
| config.guess | 4 years ago | |
| config.h.in | 4 years ago | |
| config.sub | 4 years ago | |
| configure | 4 years ago | |
| configure.ac | 4 years ago | |
| defer-internal.h | 4 years ago | |
| depcomp | 4 years ago | |
| devpoll.c | 4 years ago | |
| epoll.c | 4 years ago | |
| epoll_sub.c | 4 years ago | |
| epolltable-internal.h | 4 years ago | |
| evbuffer-internal.h | 4 years ago | |
| evconfig-private.h | 4 years ago | |
| evconfig-private.h.in | 4 years ago | |
| evdns.c | 4 years ago | |
| event-internal.h | 4 years ago | |
| event.c | 4 years ago | |
| event_iocp.c | 4 years ago | |
| event_rpcgen.py | 4 years ago | |
| event_tagging.c | 4 years ago | |
| evmap-internal.h | 4 years ago | |
| evmap.c | 4 years ago | |
| evport.c | 4 years ago | |
| evrpc-internal.h | 4 years ago | |
| evrpc.c | 4 years ago | |
| evsignal-internal.h | 4 years ago | |
| evthread-internal.h | 4 years ago | |
| evthread.c | 4 years ago | |
| evthread_pthread.c | 4 years ago | |
| evthread_win32.c | 4 years ago | |
| evutil.c | 4 years ago | |
| evutil_rand.c | 4 years ago | |
| evutil_time.c | 4 years ago | |
| ht-internal.h | 4 years ago | |
| http-internal.h | 4 years ago | |
| http.c | 4 years ago | |
| install-sh | 4 years ago | |
| iocp-internal.h | 4 years ago | |
| ipv6-internal.h | 4 years ago | |
| kqueue-internal.h | 4 years ago | |
| kqueue.c | 4 years ago | |
| libevent.pc.in | 4 years ago | |
| libevent_core.pc.in | 4 years ago | |
| libevent_extra.pc.in | 4 years ago | |
| libevent_openssl.pc.in | 4 years ago | |
| libevent_pthreads.pc.in | 4 years ago | |
| listener.c | 4 years ago | |
| log-internal.h | 4 years ago | |
| log.c | 4 years ago | |
| ltmain.sh | 4 years ago | |
| make-event-config.sed | 4 years ago | |
| minheap-internal.h | 4 years ago | |
| missing | 4 years ago | |
| mm-internal.h | 4 years ago | |
| openssl-compat.h | 4 years ago | |
| poll.c | 4 years ago | |
| ratelim-internal.h | 4 years ago | |
| select.c | 4 years ago | |
| signal.c | 4 years ago | |
| strlcpy-internal.h | 4 years ago | |
| strlcpy.c | 4 years ago | |
| test-driver | 4 years ago | |
| time-internal.h | 4 years ago | |
| util-internal.h | 4 years ago | |
| whatsnew-2.0.txt | 4 years ago | |
| whatsnew-2.1.txt | 4 years ago | |
| win32select.c | 4 years ago | |
README.android
This is libevent-2.1.8-stable from http://libevent.org/.
No changes were made apart from the following:
* copied LICENSE to NOTICE
* added empty MODULE_LICENSE_BSD_LIKE
* added Android.mk
* added CleanSpec.mk
* added missing include of event-internal.h to buffer.c
* added custom include/event2/event-config.h
To uprev this project, you'll likely need to reverse engineer the autotools
generated makefiles again. This is the recipe I used:
BRANCH_ROOT=/usr/local/google/home/wiley/mnc-dev
PATH="${BRANCH_ROOT}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:${PATH}"
NDK_ROOT="${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr"
./configure --host=arm --build=`./config.guess` \
CC=arm-eabi-gcc \
CPPFLAGS="-I${NDK_ROOT}/usr/include" \
CFLAGS="-nostdlib
-Wl,-rpath-link=${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
-L${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
-I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" \
LIBS="-lc "
Note that I built hammerhead first and used prebuilts from the most recent NDK.