summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev2012-12-05 17:19:07 -0600
committerIliyan Malchev2012-12-05 18:03:34 -0600
commit2cc3527ae70138cc8a40d9ad6e92b98d81e44701 (patch)
treeb6af6b3ac76065f2e5b6b6d3f8090568ee8498ae /libsuspend
parentb20fa762b515b5e96c158959d8c8d0c2ff1bf46b (diff)
downloadplatform-system-core-2cc3527ae70138cc8a40d9ad6e92b98d81e44701.tar.gz
platform-system-core-2cc3527ae70138cc8a40d9ad6e92b98d81e44701.tar.xz
platform-system-core-2cc3527ae70138cc8a40d9ad6e92b98d81e44701.zip
libsuspend: compile as a static library
Compile libsuspend as a static library as well, currently needed by the charger code in some cases. Related-to-bug: 7429504 Change-Id: I113017c2c855f915b77c76d8934b6e57c0bb532c Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'libsuspend')
-rw-r--r--libsuspend/Android.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/libsuspend/Android.mk b/libsuspend/Android.mk
index 45cb70116..a2fa3e0d8 100644
--- a/libsuspend/Android.mk
+++ b/libsuspend/Android.mk
@@ -12,7 +12,6 @@ libsuspend_libraries := \
12 liblog libcutils 12 liblog libcutils
13 13
14include $(CLEAR_VARS) 14include $(CLEAR_VARS)
15
16LOCAL_SRC_FILES := $(libsuspend_src_files) 15LOCAL_SRC_FILES := $(libsuspend_src_files)
17LOCAL_MODULE := libsuspend 16LOCAL_MODULE := libsuspend
18LOCAL_MODULE_TAGS := optional 17LOCAL_MODULE_TAGS := optional
@@ -21,3 +20,12 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
21LOCAL_SHARED_LIBRARIES := $(libsuspend_libraries) 20LOCAL_SHARED_LIBRARIES := $(libsuspend_libraries)
22#LOCAL_CFLAGS += -DLOG_NDEBUG=0 21#LOCAL_CFLAGS += -DLOG_NDEBUG=0
23include $(BUILD_SHARED_LIBRARY) 22include $(BUILD_SHARED_LIBRARY)
23
24include $(CLEAR_VARS)
25LOCAL_SRC_FILES := $(libsuspend_src_files)
26LOCAL_MODULE := libsuspend
27LOCAL_MODULE_TAGS := optional
28LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
29LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
30#LOCAL_CFLAGS += -DLOG_NDEBUG=0
31include $(BUILD_STATIC_LIBRARY)