1#################################### 2# Build libevent as separate library 3 4include $(CLEAR_VARS) 5 6LOCAL_MODULE:= libevent 7LOCAL_MODULE_TAGS:= optional 8 9LOCAL_SRC_FILES := \ 10 third_party/libevent/event.c \ 11 third_party/libevent/evutil.c \ 12 third_party/libevent/epoll.c \ 13 third_party/libevent/log.c \ 14 third_party/libevent/poll.c \ 15 third_party/libevent/select.c \ 16 third_party/libevent/signal.c 17 18LOCAL_C_INCLUDES := \ 19 $(LOCAL_PATH)/third_party/libevent \ 20 $(LOCAL_PATH)/third_party/libevent/android 21 22LOCAL_CFLAGS := -DHAVE_CONFIG_H -DANDROID -fvisibility=hidden 23 24include $(BUILD_STATIC_LIBRARY) 25