summaryrefslogtreecommitdiffstats
path: root/cmds/sm/Android.mk
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-05-12 15:27:15 -0700
committerJeff Sharkey <jsharkey@android.com>2015-05-12 15:52:43 -0700
commit7d2af54a98358e9dea96f879ebd1ea915263522b (patch)
treeee277a888fe98c570bb1950a9afdde9b8098d67d /cmds/sm/Android.mk
parentfced534dec1088bdd7da1495d76b73996dc8a1a1 (diff)
downloadframeworks_base-7d2af54a98358e9dea96f879ebd1ea915263522b.zip
frameworks_base-7d2af54a98358e9dea96f879ebd1ea915263522b.tar.gz
frameworks_base-7d2af54a98358e9dea96f879ebd1ea915263522b.tar.bz2
New "sm" shell tool to call StorageManager.
Surface basic StorageManager commands through shell tool, like simple listing of disks and volumes, and commands like mounting and partitioning. The output is designed to be parsed by host-side testing tools, instead of relying on fragile dumpsys parsing. Bug: 19993667 Change-Id: I993e92ecf57996678965945f0ae648b392a77ea2
Diffstat (limited to 'cmds/sm/Android.mk')
-rw-r--r--cmds/sm/Android.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmds/sm/Android.mk b/cmds/sm/Android.mk
new file mode 100644
index 0000000..7cb1e12
--- /dev/null
+++ b/cmds/sm/Android.mk
@@ -0,0 +1,15 @@
+# Copyright 2015 The Android Open Source Project
+#
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+LOCAL_MODULE := sm
+include $(BUILD_JAVA_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := sm
+LOCAL_SRC_FILES := sm
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_MODULE_TAGS := optional
+include $(BUILD_PREBUILT)