summaryrefslogtreecommitdiff
path: root/cpustats
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 /cpustats
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 'cpustats')
-rw-r--r--cpustats/Android.bp8
-rw-r--r--cpustats/Android.mk11
2 files changed, 8 insertions, 11 deletions
diff --git a/cpustats/Android.bp b/cpustats/Android.bp
new file mode 100644
index 00000000..6b0229be
--- /dev/null
+++ b/cpustats/Android.bp
@@ -0,0 +1,8 @@
+cc_binary {
+ name: "cpustats",
+ srcs: ["cpustats.c"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
+}
diff --git a/cpustats/Android.mk b/cpustats/Android.mk
deleted file mode 100644
index a6db30ff..00000000
--- a/cpustats/Android.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := cpustats.c
-LOCAL_CFLAGS := -Wall -Werror
-
-LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
-LOCAL_MODULE_TAGS := debug
-LOCAL_MODULE := cpustats
-
-include $(BUILD_EXECUTABLE)