summaryrefslogtreecommitdiff
path: root/bootctl
diff options
context:
space:
mode:
Diffstat (limited to 'bootctl')
-rw-r--r--bootctl/Android.bp17
-rw-r--r--bootctl/Android.mk16
2 files changed, 17 insertions, 16 deletions
diff --git a/bootctl/Android.bp b/bootctl/Android.bp
new file mode 100644
index 00000000..a58723c0
--- /dev/null
+++ b/bootctl/Android.bp
@@ -0,0 +1,17 @@
+// Copyright 2015 The Android Open Source Project
+
+cc_binary {
+ name: "bootctl",
+ srcs: ["bootctl.cpp"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
+ shared_libs: [
+ "libhidlbase",
+ "libhidltransport",
+ "libhwbinder",
+ "libutils",
+ "android.hardware.boot@1.0",
+ ],
+}
diff --git a/bootctl/Android.mk b/bootctl/Android.mk
deleted file mode 100644
index 7a0c526b..00000000
--- a/bootctl/Android.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 2015 The Android Open Source Project
-
-LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := bootctl.cpp
-LOCAL_MODULE := bootctl
-LOCAL_CFLAGS := -Wall -Werror
-LOCAL_SHARED_LIBRARIES := \
- libhidlbase \
- libhidltransport \
- libhwbinder \
- libutils \
- android.hardware.boot@1.0 \
-
-include $(BUILD_EXECUTABLE)