Skip to content

Commit

Permalink
Add GMM as share library instead of static
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Shao-Feng authored and sysopenci committed Jan 3, 2024
1 parent 1043fe5 commit 751bfcd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions media_driver/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1403,9 +1403,6 @@ LOCAL_SHARED_LIBRARIES := \
libdrm \
libva \
liblog \


LOCAL_STATIC_LIBRARIES = \
libgmm_umd \

LOCAL_CPPFLAGS = \
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 751bfcd

Please sign in to comment.