Home | History | Annotate | Download | only in libsuspend
      1 # Copyright 2012 The Android Open Source Project
      2 
      3 LOCAL_PATH:= $(call my-dir)
      4 
      5 libsuspend_src_files := \
      6 	autosuspend.c \
      7 	autosuspend_autosleep.c \
      8 	autosuspend_earlysuspend.c \
      9 	autosuspend_wakeup_count.c \
     10 
     11 libsuspend_libraries := \
     12 	liblog libcutils
     13 
     14 include $(CLEAR_VARS)
     15 LOCAL_SRC_FILES := $(libsuspend_src_files)
     16 LOCAL_MODULE := libsuspend
     17 LOCAL_MODULE_TAGS := optional
     18 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
     19 LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
     20 LOCAL_SHARED_LIBRARIES := $(libsuspend_libraries)
     21 #LOCAL_CFLAGS += -DLOG_NDEBUG=0
     22 include $(BUILD_SHARED_LIBRARY)
     23 
     24 include $(CLEAR_VARS)
     25 LOCAL_SRC_FILES := $(libsuspend_src_files)
     26 LOCAL_MODULE := libsuspend
     27 LOCAL_MODULE_TAGS := optional
     28 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
     29 LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
     30 #LOCAL_CFLAGS += -DLOG_NDEBUG=0
     31 include $(BUILD_STATIC_LIBRARY)
     32