From 27fab9b26a5d0b7d45a7faf9e413c80911be7846 Mon Sep 17 00:00:00 2001 From: Trevor Drake Date: Thu, 16 May 2013 01:58:13 +0100 Subject: Add additional build variable checks to Android.mk files This was causing the mm command to fail when it was run from bootable/recovery and no crypto features had been specified in a device's configuration files Change-Id: Iddbeea5349bbf75cddb0250cd71821dfe3b7b9d8 --- crypto/ics/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crypto/ics') 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 -- cgit v1.2.3