summaryrefslogtreecommitdiffstats
path: root/crypto/cryptsettings/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cryptsettings/Android.mk')
-rw-r--r--crypto/cryptsettings/Android.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/cryptsettings/Android.mk b/crypto/cryptsettings/Android.mk
new file mode 100644
index 000000000..3a5704891
--- /dev/null
+++ b/crypto/cryptsettings/Android.mk
@@ -0,0 +1,17 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+ifeq ($(TW_INCLUDE_CRYPTO), true)
+LOCAL_SRC_FILES:= \
+ cryptsettings.c
+LOCAL_CFLAGS:= -g -c -W
+LOCAL_MODULE:=cryptsettings
+LOCAL_MODULE_TAGS:= eng
+LOCAL_SHARED_LIBRARIES += libc libcutils
+ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
+LOCAL_CFLAGS += -DTW_INCLUDE_JB_CRYPTO
+LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp
+endif
+LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
+LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
+include $(BUILD_EXECUTABLE)
+endif