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