summaryrefslogtreecommitdiff
path: root/bootctl
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-05-04 18:35:50 -0700
committerDan Willemsen <dwillemsen@google.com>2018-05-04 20:25:22 -0700
commit2a904afcb32568d3c33d56971c7b1783e265c8d5 (patch)
tree2ac40ff8a86c94ba1278ec98a7c59e19e579aafd /bootctl
parenta1b34a8173609094df0e124ecca19b619fc19a41 (diff)
downloadextras-2a904afcb32568d3c33d56971c7b1783e265c8d5.tar.gz
Convert to Soong
See build/soong/README.md for more information. This effectively moves some of these targets from /system/xbin to /system/bin, as Soong is not supporting xbin. I've attempted to fix and find any external dependencies to these paths. Test: m anrd app-launcher bootctrl.default bootctl cpustats crypto iotop Change-Id: I3eb58d8a260884652b5ee827ac88ece429d76448
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)