You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.4 KiB

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libuapi_vdec
LOCAL_MULTILIB := both
LOCAL_BUILD_STATIC := true
LOCAL_SRC_FILES := vdec_v6.0/mpi_vdec.c \
vdec_v6.0/decoder_store/hardware/vdec_decoder_hw.c \
vdec_v6.0/decoder_store/vdec_hal/vdec_hal.c \
vdec_v6.0/decoder_store/vdec_store.c \
vdec_v6.0/platform/osal/linux/mpi_vdec_osal.c \
vdec_v6.0/platform/sdk/stb/mpi_vdec_sdk.c \
vdec_v6.0/decoder_store/software/vdec_decoder_sw.c \
vdec_v6.0/decoder_store/software/vdec_sw_hal.c \
vdec_v6.0/decoder_store/mjpeg/vdec_decoder_mjpeg.c \
vdec_v6.0/decoder_store/mjpeg/vdec_jpeg_hal.c
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/vdec/source/vdec_v6.0/decoder_store/software \
-Ivendor/huanglong/uapi/vdec/source/vdec_v6.0 \
-Ivendor/huanglong/uapi/vdec/source/vdec_v6.0/decoder_store \
-Ivendor/huanglong/uapi/vdec/source/vdec_v6.0/decoder_store/hardware \
-Ivendor/huanglong/uapi/vdec/source/vdec_v6.0/decoder_store/vdec_hal \
-Ivendor/huanglong/uapi/vdec/source/vdec_v6.0/platform/osal/linux \
-Ivendor/huanglong/uapi/vdec/source/vdec_v6.0/platform/sdk/stb \
-Ivendor/huanglong/uapi/vdec/source/vdec_v6.0/decoder_store/mjpeg \
-Ivendor/platform/secure_c/include \
-Ivendor/huanglong/linux/include/generic \
-Ivendor/huanglong/linux/include/vdec \
-Ivendor/huanglong/linux/include/video \
-Ivendor/huanglong/linux/include/common \
-Ivendor/huanglong/uapi/include/media \
-Ivendor/huanglong/uapi/include/video \
-Ivendor/huanglong/uapi/include/generic \
-Ivendor/huanglong/uapi/jpgd/include \
-Ivendor/huanglong/uapi/common/include \
-Ivendor/huanglong/uapi/memory/include \
-Ivendor/huanglong/uapi/vdec/include
LOCAL_CFLAGS += -DLOG_TAG=libuapi_vdec \
-DEXT_VDEC_MJPEG_SUPPORT \
-DDCONFIG_SOCT_LOG_SUPPORT \
-Wno-type-limits
LOCAL_LDFLAGS := -ldl -lpthread
LOCAL_SHARED_LIBRARIES := libuapi_securec \
libuapi_common \
libuapi_memory \
libuapi_jpgd
include $(BUILD_LINUX_LIBRARY)