Colin Cross | a2582c2 | 2012-05-03 17:30:16 -0700 | [diff] [blame] | 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 | |
| 16 | LOCAL_SRC_FILES := $(libsuspend_src_files) |
| 17 | LOCAL_MODULE := libsuspend |
| 18 | LOCAL_MODULE_TAGS := optional |
| 19 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
| 20 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/include |
| 21 | LOCAL_SHARED_LIBRARIES := $(libsuspend_libraries) |
| 22 | #LOCAL_CFLAGS += -DLOG_NDEBUG=0 |
| 23 | include $(BUILD_SHARED_LIBRARY) |