summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen2016-07-13 00:10:56 -0500
committerDan Willemsen2016-07-13 19:41:45 -0500
commit45f05240c2d9d1f3903e2766b4883e256288f6c2 (patch)
treeee0405336f534c9b00448860c3df845452e43223 /libsuspend
parentdc9fbc34402a61ca9b23714b78cac4f92ee113e2 (diff)
downloadplatform-system-core-45f05240c2d9d1f3903e2766b4883e256288f6c2.tar.gz
platform-system-core-45f05240c2d9d1f3903e2766b4883e256288f6c2.tar.xz
platform-system-core-45f05240c2d9d1f3903e2766b4883e256288f6c2.zip
Convert more Android.mk files to Android.bp
These modules have their dependencies satisfied, and aren't doing anything strange. Change-Id: I72039a15256cbd5e5eee0d79a15d66d74a6c087d
Diffstat (limited to 'libsuspend')
-rw-r--r--libsuspend/Android.bp21
-rw-r--r--libsuspend/Android.mk33
2 files changed, 21 insertions, 33 deletions
diff --git a/libsuspend/Android.bp b/libsuspend/Android.bp
new file mode 100644
index 000000000..d27ceea68
--- /dev/null
+++ b/libsuspend/Android.bp
@@ -0,0 +1,21 @@
1// Copyright 2012 The Android Open Source Project
2
3cc_library {
4 name: "libsuspend",
5 srcs: [
6 "autosuspend.c",
7 "autosuspend_autosleep.c",
8 "autosuspend_earlysuspend.c",
9 "autosuspend_wakeup_count.c",
10 ],
11 export_include_dirs: ["include"],
12 local_include_dirs: ["include"],
13 shared_libs: [
14 "liblog",
15 "libcutils",
16 ],
17 cflags: [
18 "-Werror",
19 // "-DLOG_NDEBUG=0",
20 ],
21}
diff --git a/libsuspend/Android.mk b/libsuspend/Android.mk
deleted file mode 100644
index 1ba2f59a9..000000000
--- a/libsuspend/Android.mk
+++ /dev/null
@@ -1,33 +0,0 @@
1# 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)
15LOCAL_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)
21LOCAL_CFLAGS := -Werror
22#LOCAL_CFLAGS += -DLOG_NDEBUG=0
23include $(BUILD_SHARED_LIBRARY)
24
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
31LOCAL_CFLAGS := -Werror
32#LOCAL_CFLAGS += -DLOG_NDEBUG=0
33include $(BUILD_STATIC_LIBRARY)