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 := -Werror 22 #LOCAL_CFLAGS += -DLOG_NDEBUG=0 23 include $(BUILD_SHARED_LIBRARY) 24 25 include $(CLEAR_VARS) 26 LOCAL_SRC_FILES := $(libsuspend_src_files) 27 LOCAL_MODULE := libsuspend 28 LOCAL_MODULE_TAGS := optional 29 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 30 LOCAL_C_INCLUDES += $(LOCAL_PATH)/include 31 LOCAL_CFLAGS := -Werror 32 #LOCAL_CFLAGS += -DLOG_NDEBUG=0 33 include $(BUILD_STATIC_LIBRARY) 34