summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXu Guangxin <guangxin.xu@intel.com>2018-09-06 16:17:19 +0800
committerXinfengZhang <carl.zhang@intel.com>2018-12-10 19:21:20 -0800
commitef5447c9d75a662393e593757a43bd09baaea168 (patch)
treeba10c379d53980f01b0bf3d67bd96858c6b5d94e
parentcf11abe5e1b9c93ee75cf974076957162c1605b9 (diff)
downloadlibva-ef5447c9d75a662393e593757a43bd09baaea168.tar.gz
android: replace utils/Log.h with log/log.h
utils/Log.h and ctuils/Log.h replaced by log/log.h on android Change-Id: Icd26ca44cdf7079f43738cd38a511953aaae78c8
-rw-r--r--va/Android.mk2
-rw-r--r--va/sysdeps.h2
-rw-r--r--va/va.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/va/Android.mk b/va/Android.mk
index 22f80c8..b37a3a3 100644
--- a/va/Android.mk
+++ b/va/Android.mk
@@ -92,6 +92,6 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libva-android
LOCAL_PROPRIETARY_MODULE := true
-LOCAL_SHARED_LIBRARIES := libva libdrm
+LOCAL_SHARED_LIBRARIES := libva libdrm liblog
include $(BUILD_SHARED_LIBRARY)
diff --git a/va/sysdeps.h b/va/sysdeps.h
index 164a274..d7ee850 100644
--- a/va/sysdeps.h
+++ b/va/sysdeps.h
@@ -45,7 +45,7 @@
# define LIBVA_VERSION_S "1.1.0"
/* Android logging utilities */
-# include <utils/Log.h>
+# include <log/log.h>
#endif
#if defined __GNUC__ && defined HAVE_GNUC_VISIBILITY_ATTRIBUTE
diff --git a/va/va.c b/va/va.c
index 7801508..56fa4da 100644
--- a/va/va.c
+++ b/va/va.c
@@ -39,7 +39,7 @@
#include <dlfcn.h>
#include <unistd.h>
#ifdef ANDROID
-#include <cutils/log.h>
+#include <log/log.h>
/* support versions < JellyBean */
#ifndef ALOGE
#define ALOGE LOGE