From 751bfcd12c2f00d5710aa25ab9925c81e377e642 Mon Sep 17 00:00:00 2001 From: Shaofeng Tang Date: Fri, 22 Dec 2023 13:50:52 +0800 Subject: [PATCH] Add GMM as share library instead of static Add flag GMM_LIB_DLL in media driver as GMMLib needs to be used as shared library. Tracked-On: OAM-113684 Signed-off-by: Shaofeng Tang --- media_driver/Android.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/media_driver/Android.mk b/media_driver/Android.mk index 2bd0da171..cca350b6d 100644 --- a/media_driver/Android.mk +++ b/media_driver/Android.mk @@ -1403,9 +1403,6 @@ LOCAL_SHARED_LIBRARIES := \ libdrm \ libva \ liblog \ - - -LOCAL_STATIC_LIBRARIES = \ libgmm_umd \ LOCAL_CPPFLAGS = \ @@ -1495,7 +1492,8 @@ LOCAL_CPPFLAGS = \ -D__STDC_CONSTANT_MACROS \ -D__STDC_LIMIT_MACROS \ -D__VPHAL_SFC_SUPPORTED=1 \ - -DiHD_drv_video_EXPORTS + -DiHD_drv_video_EXPORTS \ + -DGMM_LIB_DLL LOCAL_CONLYFLAGS = -x c++ LOCAL_CFLAGS = $(LOCAL_CPPFLAGS)