summaryrefslogtreecommitdiffstats
path: root/reboot
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-07-12 22:10:56 -0700
committerDan Willemsen <dwillemsen@google.com>2016-07-13 17:41:45 -0700
commit45f05240c2d9d1f3903e2766b4883e256288f6c2 (patch)
treeee0405336f534c9b00448860c3df845452e43223 /reboot
parentdc9fbc34402a61ca9b23714b78cac4f92ee113e2 (diff)
downloadcore-45f05240c2d9d1f3903e2766b4883e256288f6c2.tar.gz
core-45f05240c2d9d1f3903e2766b4883e256288f6c2.tar.bz2
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 'reboot')
-rw-r--r--reboot/Android.bp8
-rw-r--r--reboot/Android.mk14
2 files changed, 8 insertions, 14 deletions
diff --git a/reboot/Android.bp b/reboot/Android.bp
new file mode 100644
index 000000000..805fd9a1b
--- /dev/null
+++ b/reboot/Android.bp
@@ -0,0 +1,8 @@
+// Copyright 2013 The Android Open Source Project
+
+cc_binary {
+ name: "reboot",
+ srcs: ["reboot.c"],
+ shared_libs: ["libcutils"],
+ cflags: ["-Werror"],
+}
diff --git a/reboot/Android.mk b/reboot/Android.mk
deleted file mode 100644
index 7a24f99b6..000000000
--- a/reboot/Android.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright 2013 The Android Open Source Project
-
-LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := reboot.c
-
-LOCAL_SHARED_LIBRARIES := libcutils
-
-LOCAL_MODULE := reboot
-
-LOCAL_CFLAGS := -Werror
-
-include $(BUILD_EXECUTABLE)