summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-04-27 16:31:05 -0700
committerSteven Moreland <smoreland@google.com>2017-04-28 15:20:18 -0700
commit1457c9290d9df172f4b2a2200a7671b34cbba90a (patch)
tree8bac78f8c084228a4c4a7044356d7c5d6585cd60
parent8a85c253bfabb0fd495949cb36edf73eae9d09f2 (diff)
downloadcore-1457c9290d9df172f4b2a2200a7671b34cbba90a.tar.gz
core-1457c9290d9df172f4b2a2200a7671b34cbba90a.tar.bz2
core-1457c9290d9df172f4b2a2200a7671b34cbba90a.zip
lmkd: Android.mk -> Android.bp
Test: links Change-Id: I19aa62270488af02d64830ca90faf80b35423009
-rw-r--r--lmkd/Android.bp13
-rw-r--r--lmkd/Android.mk12
2 files changed, 13 insertions, 12 deletions
diff --git a/lmkd/Android.bp b/lmkd/Android.bp
new file mode 100644
index 000000000..3f8a5035f
--- /dev/null
+++ b/lmkd/Android.bp
@@ -0,0 +1,13 @@
+cc_binary {
+ name: "lmkd",
+
+ srcs: ["lmkd.c"],
+ shared_libs: [
+ "liblog",
+ "libprocessgroup",
+ "libcutils",
+ ],
+ cflags: ["-Werror"],
+
+ init_rc: ["lmkd.rc"],
+}
diff --git a/lmkd/Android.mk b/lmkd/Android.mk
deleted file mode 100644
index 8980d1c84..000000000
--- a/lmkd/Android.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := lmkd.c
-LOCAL_SHARED_LIBRARIES := liblog libm libc libprocessgroup libcutils
-LOCAL_CFLAGS := -Werror
-
-LOCAL_MODULE := lmkd
-
-LOCAL_INIT_RC := lmkd.rc
-
-include $(BUILD_EXECUTABLE)