summaryrefslogtreecommitdiffstats
path: root/twmincrypt/Android.mk
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-14 20:34:19 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-14 20:34:26 +0200
commitb9d88acdc02a191efafbf74ab201f0de84fe1c67 (patch)
tree2e45124859287746cb2c22988035dac445941ad6 /twmincrypt/Android.mk
parentAdd wipe functions, compiles in CM7, text shows in UI, zips install (diff)
downloadandroid_bootable_recovery-b9d88acdc02a191efafbf74ab201f0de84fe1c67.tar
android_bootable_recovery-b9d88acdc02a191efafbf74ab201f0de84fe1c67.tar.gz
android_bootable_recovery-b9d88acdc02a191efafbf74ab201f0de84fe1c67.tar.bz2
android_bootable_recovery-b9d88acdc02a191efafbf74ab201f0de84fe1c67.tar.lz
android_bootable_recovery-b9d88acdc02a191efafbf74ab201f0de84fe1c67.tar.xz
android_bootable_recovery-b9d88acdc02a191efafbf74ab201f0de84fe1c67.tar.zst
android_bootable_recovery-b9d88acdc02a191efafbf74ab201f0de84fe1c67.zip
Diffstat (limited to 'twmincrypt/Android.mk')
-rw-r--r--twmincrypt/Android.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/twmincrypt/Android.mk b/twmincrypt/Android.mk
new file mode 100644
index 000000000..0e1fbfd9a
--- /dev/null
+++ b/twmincrypt/Android.mk
@@ -0,0 +1,11 @@
+# This provides a rule to make libmincrypt as a shared library.
+# As a static library, zip signature verification was crashing.
+# Making it as a shared library seems to fix that issue.
+
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS:= eng
+LOCAL_MODULE := libmincrypt
+LOCAL_SRC_FILES := ../../../system/core/libmincrypt/rsa.c ../../../system/core/libmincrypt/sha.c
+include $(BUILD_SHARED_LIBRARY)