summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorTrevor Drake <trevd1234@gmail.com>2013-05-16 02:58:13 +0200
committerDees_Troy <dees_troy@teamw.in>2013-07-03 20:13:43 +0200
commit27fab9b26a5d0b7d45a7faf9e413c80911be7846 (patch)
tree131d29718e3b0e1219fda497632985a2c39dfcb7 /crypto
parentProperly free blkid_probe in TWPartition::Check_FS_Type() (diff)
downloadandroid_bootable_recovery-27fab9b26a5d0b7d45a7faf9e413c80911be7846.tar
android_bootable_recovery-27fab9b26a5d0b7d45a7faf9e413c80911be7846.tar.gz
android_bootable_recovery-27fab9b26a5d0b7d45a7faf9e413c80911be7846.tar.bz2
android_bootable_recovery-27fab9b26a5d0b7d45a7faf9e413c80911be7846.tar.lz
android_bootable_recovery-27fab9b26a5d0b7d45a7faf9e413c80911be7846.tar.xz
android_bootable_recovery-27fab9b26a5d0b7d45a7faf9e413c80911be7846.tar.zst
android_bootable_recovery-27fab9b26a5d0b7d45a7faf9e413c80911be7846.zip
Diffstat (limited to '')
-rw-r--r--crypto/cryptfs/Android.mk3
-rw-r--r--crypto/cryptsettings/Android.mk3
-rw-r--r--crypto/fs_mgr/Android.mk3
-rw-r--r--crypto/ics/Android.mk3
-rw-r--r--crypto/jb/Android.mk5
5 files changed, 11 insertions, 6 deletions
diff --git a/crypto/cryptfs/Android.mk b/crypto/cryptfs/Android.mk
index 3267c931d..62713fed7 100644
--- a/crypto/cryptfs/Android.mk
+++ b/crypto/cryptfs/Android.mk
@@ -1,6 +1,6 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
-
+ifeq ($(TW_INCLUDE_CRYPTO), true)
LOCAL_SRC_FILES:= \
cryptfs.c
@@ -51,3 +51,4 @@ LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB)
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
include $(BUILD_EXECUTABLE)
+endif \ No newline at end of file
diff --git a/crypto/cryptsettings/Android.mk b/crypto/cryptsettings/Android.mk
index 9e7aa5f38..73b6b4a8b 100644
--- a/crypto/cryptsettings/Android.mk
+++ b/crypto/cryptsettings/Android.mk
@@ -1,6 +1,6 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
-
+ifeq ($(TW_INCLUDE_CRYPTO), true)
LOCAL_SRC_FILES:= \
cryptsettings.c
LOCAL_CFLAGS:= -g -c -W
@@ -11,3 +11,4 @@ LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
include $(BUILD_EXECUTABLE)
+endif \ No newline at end of file
diff --git a/crypto/fs_mgr/Android.mk b/crypto/fs_mgr/Android.mk
index 8834282e7..b2a341f36 100644
--- a/crypto/fs_mgr/Android.mk
+++ b/crypto/fs_mgr/Android.mk
@@ -1,5 +1,5 @@
# Copyright 2011 The Android Open Source Project
-
+ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -31,3 +31,4 @@ include $(BUILD_STATIC_LIBRARY)
#include $(BUILD_EXECUTABLE)
+endif
diff --git a/crypto/ics/Android.mk b/crypto/ics/Android.mk
index 4529ae5cf..fb8449db2 100644
--- a/crypto/ics/Android.mk
+++ b/crypto/ics/Android.mk
@@ -1,5 +1,5 @@
LOCAL_PATH := $(call my-dir)
-
+ifeq ($(TW_INCLUDE_CRYPTO), true)
include $(CLEAR_VARS)
LOCAL_MODULE := libcryptfsics
@@ -23,3 +23,4 @@ LOCAL_C_INCLUDES += system/extras/ext4_utils external/openssl/include
LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto
include $(BUILD_SHARED_LIBRARY)
+endif
diff --git a/crypto/jb/Android.mk b/crypto/jb/Android.mk
index 87eb055a6..eebfcf0bd 100644
--- a/crypto/jb/Android.mk
+++ b/crypto/jb/Android.mk
@@ -1,5 +1,5 @@
LOCAL_PATH := $(call my-dir)
-
+ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
include $(CLEAR_VARS)
LOCAL_MODULE := libcryptfsjb
@@ -11,4 +11,5 @@ LOCAL_C_INCLUDES += system/extras/ext4_utils external/openssl/include
LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto
LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp
-include $(BUILD_SHARED_LIBRARY) \ No newline at end of file
+include $(BUILD_SHARED_LIBRARY)
+endif \ No newline at end of file