codecs: mfcapi compatibility patch for exynos4x12
Change-Id: I2fe0d481506d374e8fa6a71b56d4dddee3f132b1
diff --git a/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk b/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk
index b23f603..7341577 100644
--- a/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk
+++ b/exynos/multimedia/codecs/video/exynos4/mfc/Android.mk
@@ -19,6 +19,10 @@
LOCAL_MODULE := libsecmfcapi
+ifeq ($(TARGET_SOC),exynos4x12)
+LOCAL_MODULE_STEM := libsecmfcdecapi
+endif
+
LOCAL_PRELINK_MODULE := false
ifeq ($(BOARD_USES_MFC_FPS),true)
@@ -35,4 +39,8 @@
LOCAL_STATIC_LIBRARIES :=
LOCAL_SHARED_LIBRARIES := liblog
+ifeq ($(TARGET_SOC),exynos4x12)
+include $(BUILD_SHARED_LIBRARY)
+else
include $(BUILD_STATIC_LIBRARY)
+endif