summaryrefslogtreecommitdiffstats
path: root/twmincrypt/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)