Home | History | Annotate | Download | only in libevent
      1 ####################################
      2 # Build libevent as separate library
      3 
      4 include $(CLEAR_VARS)
      5 
      6 LOCAL_MODULE:= libevent
      7 LOCAL_MODULE_TAGS:= optional
      8 
      9 LOCAL_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 
     18 LOCAL_C_INCLUDES := \
     19     $(LOCAL_PATH)/third_party/libevent \
     20     $(LOCAL_PATH)/third_party/libevent/android
     21 
     22 LOCAL_CFLAGS := -DHAVE_CONFIG_H -DANDROID -fvisibility=hidden
     23 
     24 include $(BUILD_STATIC_LIBRARY)
     25