summaryrefslogtreecommitdiffstats
path: root/third_party/libevent/Android.mk
blob: c654937a88d5e41d42d7daa4f3d5099d661b2235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
####################################
# 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

include $(BUILD_STATIC_LIBRARY)