LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libuapi_avplay LOCAL_MULTILIB := both LOCAL_BUILD_STATIC := true LOCAL_SRC_FILES := iapi_avplay.c \ mpi_avplay.c \ avplay_control.c \ avplay_loop.c \ avplay_context.c \ avplay_buffer.c \ avplay_adapter.c \ avplay_config.c \ avplay_debugger.c \ avplay_hal.c \ avplay_common.c \ sync/mpi_sync.c \ avplay_fc.c LOCAL_CFLAGS := -Ivendor/platform/secure_c/include \ -Ivendor/huanglong/linux/include/generic \ -Ivendor/huanglong/linux/include/common \ -Ivendor/huanglong/linux/include/avplay \ -Ivendor/huanglong/linux/include/vdec \ -Ivendor/huanglong/linux/include/adec \ -Ivendor/huanglong/linux/include/vo \ -Ivendor/huanglong/linux/include/memc \ -Ivendor/huanglong/linux/include/video \ -Ivendor/huanglong/linux/include/audio \ -Ivendor/huanglong/linux/include/demux \ -Ivendor/huanglong/linux/include/ao \ -Ivendor/huanglong/linux/include/stat \ -Ivendor/huanglong/linux/include/ssm \ -Ivendor/huanglong/uapi/include/video \ -Ivendor/huanglong/uapi/include/audio \ -Ivendor/huanglong/uapi/include/media \ -Ivendor/huanglong/uapi/avplay/include \ -Ivendor/huanglong/uapi/common/include \ -Ivendor/huanglong/uapi/memory/include \ -Ivendor/huanglong/uapi/vo/include \ -Ivendor/huanglong/uapi/vdec/include \ -Ivendor/huanglong/uapi/adec/include \ -Ivendor/huanglong/uapi/demux/include \ -Ivendor/huanglong/uapi/ao/include \ -Ivendor/huanglong/uapi/stat/include \ -Ivendor/huanglong/uapi/ssm/include \ -Ivendor/huanglong/uapi/dftevent/include LOCAL_CFLAGS += -DLOG_TAG=libuapi_avplay \ -DCONFIG_SOCT_LOG_SUPPORT \ -Wno-error=shadow -Wno-error=attributes \ -Wno-error=implicit-function-declaration LOCAL_LDFLAGS := -lpthread LOCAL_SHARED_LIBRARIES := libuapi_securec \ libuapi_common \ libuapi_memory \ libuapi_vdec \ libuapi_adec \ libuapi_vo \ libuapi_ao \ libuapi_demux \ libuapi_stat \ libuapi_ssm \ libdftevent include $(BUILD_LINUX_LIBRARY)