• Home
Name Date Size #Lines LOC

..--

WIN32-Code/03-May-2024-1,046640

compat/sys/03-May-2024-489304

include/03-May-2024-11,4823,030

m4/03-May-2024-9,4228,512

sample/03-May-2024-2,6141,877

test/03-May-2024-26,13619,981

Android.bpD03-May-20241.9 KiB8375

ChangeLogD03-May-202498.8 KiB1,8501,602

ChangeLog-1.4D03-May-202417 KiB232215

ChangeLog-2.0D03-May-202481.4 KiB1,2811,144

CleanSpec.mkD03-May-20242.2 KiB500

DoxyfileD03-May-202410 KiB258186

LICENSED03-May-20244.4 KiB10077

METADATAD03-May-2024546 2119

MODULE_LICENSE_BSD_LIKED03-May-20240

Makefile.amD03-May-20248.6 KiB312188

Makefile.inD03-May-2024143.6 KiB2,7492,409

Makefile.nmakeD03-May-20242.3 KiB8348

NOTICED03-May-20243.2 KiB7558

OWNERSD03-May-202446 21

README.androidD03-May-20241.1 KiB3022

aclocal.m4D03-May-202441.4 KiB1,1621,056

arc4random.cD03-May-202412.8 KiB557393

autogen.shD03-May-2024431 2318

buffer.cD03-May-202480.3 KiB3,4482,698

buffer_iocp.cD03-May-20248.4 KiB327230

bufferevent-internal.hD03-May-202418.1 KiB483188

bufferevent.cD03-May-202425.5 KiB1,016809

bufferevent_async.cD03-May-202417.8 KiB687518

bufferevent_filter.cD03-May-202417.6 KiB624427

bufferevent_openssl.cD03-May-202438.6 KiB1,5021,137

bufferevent_pair.cD03-May-20249.6 KiB366262

bufferevent_ratelim.cD03-May-202429.5 KiB1,093817

bufferevent_sock.cD03-May-202418.4 KiB720534

changelist-internal.hD03-May-20244.5 KiB10325

compileD03-May-20247.2 KiB348258

config.guessD03-May-202441.9 KiB1,4221,230

config.h.inD03-May-202414 KiB530362

config.subD03-May-202435.1 KiB1,8081,670

configureD03-May-2024525.2 KiB18,61415,553

configure.acD03-May-202424 KiB948847

defer-internal.hD03-May-20242.7 KiB7118

depcompD03-May-202423 KiB792502

devpoll.cD03-May-20247.7 KiB312199

epoll.cD03-May-202414.4 KiB541399

epoll_sub.cD03-May-20242.3 KiB6735

epolltable-internal.hD03-May-202440.4 KiB1,167530

evbuffer-internal.hD03-May-202412.5 KiB352159

evconfig-private.hD03-May-20241.3 KiB5024

evconfig-private.h.inD03-May-20241.2 KiB4942

evdns.cD03-May-2024127.4 KiB4,7683,715

event-internal.hD03-May-202416.8 KiB480211

event.cD03-May-2024100.5 KiB3,9413,012

event_iocp.cD03-May-20247.5 KiB295224

event_rpcgen.pyD03-May-202454.3 KiB1,7291,355

event_tagging.cD03-May-202414.3 KiB606424

evmap-internal.hD03-May-20244.8 KiB11822

evmap.cD03-May-202428.2 KiB1,056777

evport.cD03-May-202411.7 KiB452251

evrpc-internal.hD03-May-20245.6 KiB20683

evrpc.cD03-May-202428.7 KiB1,172858

evsignal-internal.hD03-May-20242.6 KiB6624

evthread-internal.hD03-May-202414 KiB393249

evthread.cD03-May-202413.4 KiB510423

evthread_pthread.cD03-May-20244.8 KiB192146

evthread_win32.cD03-May-20248.4 KiB342272

evutil.cD03-May-202469 KiB2,6942,156

evutil_rand.cD03-May-20245.3 KiB209146

evutil_time.cD03-May-202416.7 KiB577343

ht-internal.hD03-May-202428.5 KiB488394

http-internal.hD03-May-20245.8 KiB206115

http.cD03-May-2024120.9 KiB5,0253,740

install-shD03-May-202414.3 KiB502327

iocp-internal.hD03-May-20247.5 KiB20267

ipv6-internal.hD03-May-20242.5 KiB8437

kqueue-internal.hD03-May-20241.9 KiB405

kqueue.cD03-May-202414.4 KiB568375

libevent.pc.inD03-May-2024317 1713

libevent_core.pc.inD03-May-2024281 1713

libevent_extra.pc.inD03-May-2024284 1713

libevent_openssl.pc.inD03-May-2024372 1713

libevent_pthreads.pc.inD03-May-2024384 1713

listener.cD03-May-202420.8 KiB891728

log-internal.hD03-May-20243.1 KiB8446

log.cD03-May-20245.5 KiB254181

ltmain.shD03-May-2024316.5 KiB11,1487,979

make-event-config.sedD03-May-2024588 2420

minheap-internal.hD03-May-20246.8 KiB189139

missingD03-May-20246.7 KiB216143

mm-internal.hD03-May-20243.3 KiB8828

openssl-compat.hD03-May-2024974 3627

poll.cD03-May-20248 KiB342242

ratelim-internal.hD03-May-20244 KiB10641

select.cD03-May-20248.5 KiB347230

signal.cD03-May-202412.2 KiB480346

strlcpy-internal.hD03-May-2024366 2316

strlcpy.cD03-May-20242.5 KiB7632

test-driverD03-May-20244.5 KiB14987

time-internal.hD03-May-20243 KiB9953

util-internal.hD03-May-202415.5 KiB484306

whatsnew-2.0.txtD03-May-202425.7 KiB610450

whatsnew-2.1.txtD03-May-202432.6 KiB769578

win32select.cD03-May-202410.3 KiB389299

README.android

1This is libevent-2.1.8-stable from http://libevent.org/.
2
3No changes were made apart from the following:
4
5* copied LICENSE to NOTICE
6* added empty MODULE_LICENSE_BSD_LIKE
7* added Android.mk
8* added CleanSpec.mk
9* added missing include of event-internal.h to buffer.c
10* added custom include/event2/event-config.h
11
12
13To uprev this project, you'll likely need to reverse engineer the autotools
14generated makefiles again.  This is the recipe I used:
15
16BRANCH_ROOT=/usr/local/google/home/wiley/mnc-dev
17PATH="${BRANCH_ROOT}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:${PATH}"
18NDK_ROOT="${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr"
19
20./configure --host=arm --build=`./config.guess` \
21  CC=arm-eabi-gcc \
22  CPPFLAGS="-I${NDK_ROOT}/usr/include" \
23  CFLAGS="-nostdlib
24          -Wl,-rpath-link=${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
25          -L${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
26          -I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" \
27  LIBS="-lc "
28
29Note that I built hammerhead first and used prebuilts from the most recent NDK.
30