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) |
Colin Cross | a2582c2 | 2012-05-03 17:30:16 -0700 | [diff] [blame] | 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) |
Mark Salyzyn | 6e60d39 | 2014-05-15 15:16:46 -0700 | [diff] [blame] | 21 | LOCAL_CFLAGS := -Werror |
Colin Cross | a2582c2 | 2012-05-03 17:30:16 -0700 | [diff] [blame] | 22 | #LOCAL_CFLAGS += -DLOG_NDEBUG=0 |
| 23 | include $(BUILD_SHARED_LIBRARY) |
Iliyan Malchev | 2cc3527 | 2012-12-05 15:19:07 -0800 | [diff] [blame] | 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 |
Mark Salyzyn | 6e60d39 | 2014-05-15 15:16:46 -0700 | [diff] [blame] | 31 | LOCAL_CFLAGS := -Werror |
Iliyan Malchev | 2cc3527 | 2012-12-05 15:19:07 -0800 | [diff] [blame] | 32 | #LOCAL_CFLAGS += -DLOG_NDEBUG=0 |
| 33 | include $(BUILD_STATIC_LIBRARY) |