Dees Troy | bb4c0cb | 2013-11-02 20:25:14 +0000 | [diff] [blame] | 1 | # Copyright 2008 The Android Open Source Project |
| 2 | # |
| 3 | LOCAL_PATH := $(call my-dir) |
Dees Troy | bb4c0cb | 2013-11-02 20:25:14 +0000 | [diff] [blame] | 4 | |
Ethan Yonker | 1e4a199 | 2014-11-06 09:05:01 -0600 | [diff] [blame] | 5 | include $(CLEAR_VARS) |
Dees Troy | bb4c0cb | 2013-11-02 20:25:14 +0000 | [diff] [blame] | 6 | LOCAL_MODULE := libmincrypttwrp |
Ethan Yonker | 75bf041 | 2014-11-21 13:54:27 -0600 | [diff] [blame] | 7 | LOCAL_MODULE_TAGS := optional |
Matt Mower | 55c75ca | 2014-08-31 11:30:15 -0500 | [diff] [blame] | 8 | LOCAL_C_INCLUDES := $(commands_recovery_local_path)/libmincrypt/includes |
Ethan Yonker | 1e4a199 | 2014-11-06 09:05:01 -0600 | [diff] [blame] | 9 | LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c |
| 10 | LOCAL_CFLAGS := -Wall -Werror |
Dees Troy | bb4c0cb | 2013-11-02 20:25:14 +0000 | [diff] [blame] | 11 | include $(BUILD_STATIC_LIBRARY) |
| 12 | |
| 13 | include $(CLEAR_VARS) |
Dees Troy | bb4c0cb | 2013-11-02 20:25:14 +0000 | [diff] [blame] | 14 | LOCAL_MODULE := libmincrypttwrp |
Ethan Yonker | 75bf041 | 2014-11-21 13:54:27 -0600 | [diff] [blame] | 15 | LOCAL_MODULE_TAGS := optional |
Ethan Yonker | 1e4a199 | 2014-11-06 09:05:01 -0600 | [diff] [blame] | 16 | LOCAL_C_INCLUDES := $(commands_recovery_local_path)/libmincrypt/includes |
| 17 | LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c |
| 18 | LOCAL_CFLAGS := -Wall -Werror |
Ethan Yonker | 560e65f | 2014-11-17 11:37:00 -0600 | [diff] [blame] | 19 | include $(BUILD_SHARED_LIBRARY) |
| 20 | |
| 21 | include $(CLEAR_VARS) |
| 22 | LOCAL_MODULE := libmincrypttwrp |
Ethan Yonker | 75bf041 | 2014-11-21 13:54:27 -0600 | [diff] [blame] | 23 | LOCAL_MODULE_TAGS := optional |
Ethan Yonker | 560e65f | 2014-11-17 11:37:00 -0600 | [diff] [blame] | 24 | LOCAL_C_INCLUDES := $(commands_recovery_local_path)/libmincrypt/includes |
| 25 | LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c |
| 26 | LOCAL_CFLAGS := -Wall -Werror |
| 27 | include $(BUILD_HOST_STATIC_LIBRARY) |