blob: 1ba2f59a99dabe9951a80c152dda4d69f504128a [file] [log] [blame]
Colin Crossa2582c22012-05-03 17:30:16 -07001# Copyright 2012 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4
5libsuspend_src_files := \
6 autosuspend.c \
7 autosuspend_autosleep.c \
8 autosuspend_earlysuspend.c \
9 autosuspend_wakeup_count.c \
10
11libsuspend_libraries := \
12 liblog libcutils
13
14include $(CLEAR_VARS)
Colin Crossa2582c22012-05-03 17:30:16 -070015LOCAL_SRC_FILES := $(libsuspend_src_files)
16LOCAL_MODULE := libsuspend
17LOCAL_MODULE_TAGS := optional
18LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
19LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
20LOCAL_SHARED_LIBRARIES := $(libsuspend_libraries)
Mark Salyzyn6e60d392014-05-15 15:16:46 -070021LOCAL_CFLAGS := -Werror
Colin Crossa2582c22012-05-03 17:30:16 -070022#LOCAL_CFLAGS += -DLOG_NDEBUG=0
23include $(BUILD_SHARED_LIBRARY)
Iliyan Malchev2cc35272012-12-05 15:19:07 -080024
25include $(CLEAR_VARS)
26LOCAL_SRC_FILES := $(libsuspend_src_files)
27LOCAL_MODULE := libsuspend
28LOCAL_MODULE_TAGS := optional
29LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
30LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
Mark Salyzyn6e60d392014-05-15 15:16:46 -070031LOCAL_CFLAGS := -Werror
Iliyan Malchev2cc35272012-12-05 15:19:07 -080032#LOCAL_CFLAGS += -DLOG_NDEBUG=0
33include $(BUILD_STATIC_LIBRARY)