forked from libevent/libevent
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathAndroid.mk
47 lines (40 loc) · 915 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
####################################
# Build libevent as separate library
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE:= libevent2
LOCAL_MODULE_TAGS:= optional
LOCAL_SRC_FILES := \
buffer.c \
bufferevent.c \
bufferevent_filter.c \
bufferevent_openssl.c \
bufferevent_pair.c \
bufferevent_ratelim.c \
bufferevent_sock.c \
epoll.c \
epoll_sub.c \
evdns.c \
event.c \
event_tagging.c \
evmap.c \
evrpc.c \
evthread.c \
evthread_pthread.c \
evutil.c \
evutil_rand.c \
http.c \
listener.c \
log.c \
poll.c \
select.c \
signal.c \
strlcpy.c
LOCAL_C_INCLUDES := \
$(LOCAL_PATH) \
$(LOCAL_PATH)/android \
$(LOCAL_PATH)/include \
external/openssl/include
LOCAL_CFLAGS := -DHAVE_CONFIG_H -DANDROID -fvisibility=hidden
include $(BUILD_STATIC_LIBRARY)
#include $(BUILD_SHARED_LIBRARY)