LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := sample_vi LOCAL_SRC_FILES := *.c LOCAL_CFLAGS := -Ivendor/huanglong/uapi/include/audio \ -Ivendor/huanglong/uapi/include/cec \ -Ivendor/huanglong/uapi/include/media \ -Ivendor/huanglong/uapi/include/video \ -Ivendor/huanglong/uapi/aenc/include \ -Ivendor/huanglong/uapi/ai/include \ -Ivendor/huanglong/uapi/avplay/include \ -Ivendor/huanglong/uapi/ao/include \ -Ivendor/huanglong/uapi/common/include \ -Ivendor/huanglong/uapi/ha_codec/include \ -Ivendor/huanglong/uapi/hdmirx/include \ -Ivendor/huanglong/uapi/pq/include \ -Ivendor/huanglong/uapi/tvd/include \ -Ivendor/huanglong/uapi/panel/include \ -Ivendor/huanglong/uapi/vi/include \ -Ivendor/huanglong/uapi/vo/include \ -Ivendor/huanglong/linux/include/audio \ -Ivendor/huanglong/linux/include/generic \ -Ivendor/huanglong/linux/include/common \ -Ivendor/huanglong/sample/audio \ -Ivendor/huanglong/sample/vi \ -Ivendor/platform/secure_c/include LOCAL_CFLAGS += -DLOG_TAG=sample_vi \ -DCONFIG_SOCT_LOG_SUPPORT ifeq ($(CFG_SOCT_CHIP_TYPE),reserved5) LOCAL_CFLAGS += -DCHIP_VERSION=0x2002 LOCAL_CFLAGS += -DCHIP_REVERSION=0x01 else ifeq ($(CFG_SOCT_CHIP_TYPE),reserved9) LOCAL_CFLAGS += -DCHIP_VERSION=0x2001 ifneq ($(findstring $(CFG_SOCT_CHIP_REVERSION), "reserved9_c" "reserved9_d"),) LOCAL_CFLAGS += -DCHIP_REVERSION=0x03 else LOCAL_CFLAGS += -DCHIP_REVERSION=0x01 endif else LOCAL_CFLAGS += -DCHIP_VERSION=0x1001 ifneq ($(findstring $(CFG_SOCT_CHIP_REVERSION), "reserved13_c" "reserved13_d"),) LOCAL_CFLAGS += -DCHIP_REVERSION=0x03 else LOCAL_CFLAGS += -DCHIP_REVERSION=0x01 endif endif LOCAL_LDFLAGS := -lpthread LOCAL_SHARED_LIBRARIES := libuapi_common \ libuapi_avplay \ libuapi_securec \ libuapi_ao \ libuapi_ai \ libuapi_hdmirx \ libuapi_panel \ libuapi_pq \ libuapi_vi \ libuapi_vo \ libuapi_tvd \ libuapi_aenc include $(BUILD_LINUX_EXECUTABLE)