blob: 38c805683cf12ef3435d1b2f61f2aebf9ca02302 [file] [log] [blame]
Dees_Troyb9d88ac2012-09-14 14:34:19 -04001# This provides a rule to make libmincrypt as a shared library.
2# As a static library, zip signature verification was crashing.
3# Making it as a shared library seems to fix that issue.
4
5LOCAL_PATH := $(call my-dir)
6include $(CLEAR_VARS)
7
8LOCAL_MODULE_TAGS:= eng
9LOCAL_MODULE := libmincrypt
10LOCAL_SRC_FILES := ../../../system/core/libmincrypt/rsa.c ../../../system/core/libmincrypt/sha.c
Dees_Troye5155652013-01-07 21:06:50 +000011
12ifneq ($(wildcard system/core/libmincrypt/rsa_e_3.c),)
13LOCAL_SRC_FILES += ../../../system/core/libmincrypt/rsa_e_3.c ../../../system/core/libmincrypt/rsa_e_f4.c
14endif
15
Dees_Troyb9d88ac2012-09-14 14:34:19 -040016include $(BUILD_SHARED_LIBRARY)