summaryrefslogtreecommitdiffstats
path: root/prebuilt/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'prebuilt/Android.mk')
-rw-r--r--prebuilt/Android.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 5e78b349f..f0c2c264a 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -185,3 +185,23 @@ ifeq ($(TW_INCLUDE_DUMLOCK), true)
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
endif
+
+ifneq ($(TW_EXCLUDE_SUPERSU), true)
+ #su binary
+ include $(CLEAR_VARS)
+ LOCAL_MODULE := su
+ LOCAL_MODULE_TAGS := eng
+ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/supersu
+ LOCAL_SRC_FILES := $(LOCAL_MODULE)
+ include $(BUILD_PREBUILT)
+
+ #SuperSU special installer APK
+ include $(CLEAR_VARS)
+ LOCAL_MODULE := Superuser.apk
+ LOCAL_MODULE_TAGS := eng
+ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/supersu
+ LOCAL_SRC_FILES := $(LOCAL_MODULE)
+ include $(BUILD_PREBUILT)
+endif \ No newline at end of file