blob: 148e328da29496b7825183a580d72f93a0967d13 [file] [log] [blame]
Ethan Yonker4eca40d2014-11-11 14:52:28 -06001LOCAL_PATH := $(call my-dir)
thatceb7b8e2014-12-09 23:15:16 +01002ifeq ($(TW_INCLUDE_CRYPTO), true)
Ethan Yonker4eca40d2014-11-11 14:52:28 -06003include $(CLEAR_VARS)
4
Ethan Yonker4eca40d2014-11-11 14:52:28 -06005LOCAL_MODULE := libcryptfslollipop
6LOCAL_MODULE_TAGS := eng optional
7LOCAL_CFLAGS :=
8LOCAL_SRC_FILES = cryptfs.c
that183a6f82014-12-31 18:30:50 +01009LOCAL_SHARED_LIBRARIES := libcrypto libhardware libcutils
10LOCAL_C_INCLUDES := external/openssl/include $(commands_recovery_local_path)/crypto/scrypt/lib/crypto
Ethan Yonker253368a2014-11-25 15:00:52 -060011LOCAL_WHOLE_STATIC_LIBRARIES += libscrypttwrp_static
12
13include $(BUILD_SHARED_LIBRARY)
14
Ethan Yonker4eca40d2014-11-11 14:52:28 -060015endif