summaryrefslogtreecommitdiffstats
path: root/crypto/crypttools/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/crypttools/Android.mk')
-rw-r--r--crypto/crypttools/Android.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/crypttools/Android.mk b/crypto/crypttools/Android.mk
new file mode 100644
index 000000000..fc62583c4
--- /dev/null
+++ b/crypto/crypttools/Android.mk
@@ -0,0 +1,15 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
+LOCAL_SRC_FILES:= \
+ getfooter.c
+LOCAL_CFLAGS:= -g -c -W
+LOCAL_MODULE:=getfooter
+LOCAL_MODULE_TAGS:= eng
+LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp libc libcutils
+LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
+LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
+LOCAL_FORCE_STATIC_EXECUTABLE := true
+LOCAL_C_INCLUDES := $(commands_recovery_local_path)/crypto/jb/
+include $(BUILD_EXECUTABLE)
+endif \ No newline at end of file