From b29a5e27c33291f8134ea5f28e84e672a3c25199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Andrei=20M=C4=83ce=C8=99?= Date: Thu, 22 Dec 2016 06:19:44 -0500 Subject: build: Consolidate the crypto_utils presence tests No point checking filesystem repeatedly/check may change in future Change-Id: I0413b07b850f785eb5150c6ed18836cc56e94d6f --- minadbd/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'minadbd') diff --git a/minadbd/Android.mk b/minadbd/Android.mk index 3d675dda5..24d16350f 100644 --- a/minadbd/Android.mk +++ b/minadbd/Android.mk @@ -30,7 +30,8 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 24; echo $$?),0) LOCAL_SHARED_LIBRARIES += libmincrypttwrp LOCAL_CFLAGS += -DUSE_MINCRYPT else - LOCAL_SHARED_LIBRARIES += libcrypto + LOCAL_SHARED_LIBRARIES += libcrypto \ + $(if $(WITH_CRYPTO_UTILS),libcrypto_utils) endif include $(BUILD_SHARED_LIBRARY) -- cgit v1.2.3