summaryrefslogtreecommitdiff
path: root/su/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'su/Android.mk')
-rw-r--r--su/Android.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/su/Android.mk b/su/Android.mk
new file mode 100644
index 00000000..dd412d59
--- /dev/null
+++ b/su/Android.mk
@@ -0,0 +1,15 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= su.c
+
+LOCAL_MODULE:= su
+
+LOCAL_FORCE_STATIC_EXECUTABLE := true
+
+LOCAL_STATIC_LIBRARIES := libc
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+LOCAL_MODULE_TAGS := debug tests
+
+include $(BUILD_EXECUTABLE)