Use openssl's SHA1 instead of bionic's.
Bionic is removing its SHA1.
Change-Id: I7d15986ebac9e0f0eb7ff93457780bd90a4f1d4f
diff --git a/services/inputflinger/Android.mk b/services/inputflinger/Android.mk
index 574c14e..2edc07d 100644
--- a/services/inputflinger/Android.mk
+++ b/services/inputflinger/Android.mk
@@ -27,6 +27,7 @@
LOCAL_SHARED_LIBRARIES := \
libbinder \
+ libcrypto \
libcutils \
libinput \
liblog \
@@ -38,6 +39,9 @@
# TODO: Move inputflinger to its own process and mark it hidden
#LOCAL_CFLAGS += -fvisibility=hidden
+LOCAL_C_INCLUDES := \
+ external/openssl/include \
+
LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)