From b6e826fec72ffed755797f3ac1ebb8c683db3022 Mon Sep 17 00:00:00 2001 From: Sean hoyt Date: Wed, 23 Aug 2017 13:21:10 +0000 Subject: [PATCH] libstagefrighthw: Include liblog Change-Id: Ie1da4a87d61fff7268d554c9e4a70a2a5abc44a2 (cherry picked from commit b3778da1db8a5d8484345b5082869b22224f7839) --- libsrp/alp/Android.mk | 2 +- libsrp/alp/dec/srp_api.c | 2 +- libstagefrighthw/Android.mk | 1 + libstagefrighthw/Exynos_OMX_Plugin.cpp | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libsrp/alp/Android.mk b/libsrp/alp/Android.mk index c6a3aef..3dc7fc9 100644 --- a/libsrp/alp/Android.mk +++ b/libsrp/alp/Android.mk @@ -15,6 +15,6 @@ LOCAL_ARM_MODE := arm LOCAL_STATIC_LIBRARIES := -LOCAL_SHARED_LIBRARIES := +LOCAL_SHARED_LIBRARIES := liblog libbase include $(BUILD_STATIC_LIBRARY) diff --git a/libsrp/alp/dec/srp_api.c b/libsrp/alp/dec/srp_api.c index 43cae21..eeac619 100644 --- a/libsrp/alp/dec/srp_api.c +++ b/libsrp/alp/dec/srp_api.c @@ -40,7 +40,7 @@ #define LOG_NDEBUG 1 #define LOG_TAG "libsrpapi" -#include +#include static struct srp_buf_info ibuf_info; static struct srp_buf_info obuf_info; diff --git a/libstagefrighthw/Android.mk b/libstagefrighthw/Android.mk index a8af63c..e52905d 100644 --- a/libstagefrighthw/Android.mk +++ b/libstagefrighthw/Android.mk @@ -31,6 +31,7 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ libui \ libdl \ + liblog \ libstagefright_foundation LOCAL_MODULE := libstagefrighthw diff --git a/libstagefrighthw/Exynos_OMX_Plugin.cpp b/libstagefrighthw/Exynos_OMX_Plugin.cpp index 7a9849e..c4964cc 100644 --- a/libstagefrighthw/Exynos_OMX_Plugin.cpp +++ b/libstagefrighthw/Exynos_OMX_Plugin.cpp @@ -18,6 +18,8 @@ #include +#include + #include #include