LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libhal LOCAL_MULTILIB := both LOCAL_BUILD_STATIC := true LOCAL_SRC_FILES := src/aout/*.c \ src/vout/*.c \ src/system/*.c \ src/av/*.c \ src/dmx/*.c \ src/mem/*.c \ src/cipher/*.c \ src/caption/*.c \ src/caption/caption_subt_out/*.c \ src/gfx2d/*.c \ src/common/*.c \ src/frontend/*.c \ src/event/*.c \ src/ir/*.c ifneq ($(strip $(TVOS_PLATFORM)),) LOCAL_SRC_FILES += src/net/*.c endif LOCAL_CFLAGS := -Ivendor/huanglong/uapi/tvoshal/include/include \ -Ivendor/platform/secure_c/include \ -Ivendor/huanglong/linux/include/ao \ -Ivendor/huanglong/linux/include/audio \ -Ivendor/huanglong/linux/include/demux \ -Ivendor/huanglong/linux/include/generic \ -Ivendor/huanglong/linux/include/memc \ -Ivendor/huanglong/linux/include/vdec \ -Ivendor/huanglong/linux/include/video \ -Ivendor/huanglong/linux/include/vo \ -Ivendor/huanglong/uapi/tvoshal/source/src/common \ -Ivendor/huanglong/uapi/tvoshal/source/src/caption/caption_subt_out \ -Ivendor/huanglong/uapi/tvoshal/include/include \ -Ivendor/huanglong/uapi/include/audio \ -Ivendor/huanglong/uapi/include/video \ -Ivendor/huanglong/uapi/include/cec \ -Ivendor/huanglong/uapi/include/generic \ -Ivendor/huanglong/uapi/include/media \ -Ivendor/huanglong/uapi/ha_codec/include \ -Ivendor/huanglong/uapi/dftevent/include \ -Ivendor/huanglong/uapi/ao/include \ -Ivendor/huanglong/uapi/avplay/include \ -Ivendor/huanglong/uapi/vo/include \ -Ivendor/huanglong/uapi/vdec/include \ -Ivendor/huanglong/uapi/common/include \ -Ivendor/huanglong/uapi/suboutput/include \ -Ivendor/huanglong/uapi/subtitle/include \ -Ivendor/huanglong/uapi/memory/include \ -Ivendor/huanglong/uapi/cipher/include \ -Ivendor/huanglong/uapi/demux/include \ -Ivendor/huanglong/uapi/frontend/include \ -Ivendor/huanglong/uapi/i2c/include \ -Ivendor/huanglong/uapi/gpio/include \ -Ivendor/huanglong/uapi/gfx2d/include \ -Ivendor/huanglong/uapi/flash/include \ -Ivendor/huanglong/uapi/pmoc/include \ -Ivendor/huanglong/uapi/ir/include \ -Ivendor/huanglong/uapi/rm/include \ -Ivendor/huanglong/uapi/pdm/include \ -Ivendor/huanglong/uapi/panel/include \ -Ivendor/huanglong/uapi/pq/include \ -Ivendor/huanglong/uapi/dispmng/include \ -Ivendor/huanglong/uapi/hdmitx/include LOCAL_CFLAGS += -DLINUX_OS \ -DDISEQC_SUPPORT \ -DHAL_SOCT_EXTEND_H \ -DCONFIG_SOCT_LOG_SUPPORT \ -Wno-sign-compare \ -Wno-error=shadow -Wno-type-limits\ -Wno-error=unused-parameter \ -Wno-error=unused-variable \ -Wno-error=unused-function \ -Wno-error=return-type \ -Wno-error=unused-value \ -Wno-error=enum-compare \ -Wno-error=strict-aliasing \ -Wno-error=implicit-function-declaration \ -Wno-error=format-extra-args \ -Wno-error=sizeof-pointer-memaccess \ -Wno-error=format-contains-nul \ -Wno-error=maybe-uninitialized \ -Wno-error=stringop-overflow LOCAL_LDFLAGS := -lpthread LOCAL_SHARED_LIBRARIES := libuapi_securec \ libuapi_common \ libuapi_memory \ libuapi_flash \ libuapi_ao \ libuapi_vo \ libuapi_vdec \ libuapi_avplay \ libuapi_rm \ libuapi_demux \ libuapi_cipher \ libuapi_pq \ libuapi_i2c \ libuapi_pdm \ libuapi_panel \ libuapi_pmoc \ libuapi_so \ libuapi_subtitle \ libuapi_gfx2d \ libuapi_ir \ libuapi_frontend \ libdftevent \ libuapi_pdm \ libuapi_vdec \ libuapi_gpio \ libuapi_dispmng \ libuapi_hdmitx include $(BUILD_LINUX_LIBRARY)