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.
63 lines
2.6 KiB
63 lines
2.6 KiB
4 months ago
|
LOCAL_PATH := $(my-dir)
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
include $(SDK_DIR)/Android.def
|
||
|
|
||
|
DTV_DIR_READ_ONLY=$(PRODUCT_OUT)/odm/atv/dtv/etc
|
||
|
|
||
|
LOCAL_PROPRIETARY_MODULE := true
|
||
|
|
||
|
LOCAL_MODULE := libhal
|
||
|
|
||
|
#LOCAL_SRC_FILES := $(call all-c-files-under,src)
|
||
|
LOCAL_SRC_FILES := $(call all-c-files-under,src/aout)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/vout)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/system)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/av)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/dmx)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/mem)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/ci)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/cipher)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/caption)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/gfx2d)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/version)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/common)
|
||
|
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/frontend)
|
||
|
|
||
|
#LOCAL_SRC_FILES += $(call all-c-files-under,src/enc)
|
||
|
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/pvr)
|
||
|
LOCAL_SRC_FILES += $(call all-c-files-under,src/event)
|
||
|
LOCAL_CFLAGS += -DDISEQC_SUPPORT
|
||
|
|
||
|
LOCAL_CFLAGS += -DHAL_SOCT_EXTEND_H
|
||
|
LOCAL_CFLAGS += -Wno-visibility
|
||
|
LOCAL_CFLAGS += -fno-common
|
||
|
LOCAL_LDFLAGS := -s
|
||
|
|
||
|
LOCAL_SHARED_LIBRARIES := libuapi_common liblog libutils libcutils libui libuapi_memory libuapi_securec \
|
||
|
libuapi_gfx2d libuapi_acodec libuapi_hdmitx libuapi_panel libuapi_vcodec libuapi_pq \
|
||
|
libuapi_jpg libuapi_frontend libuapi_peri libuapi_vout libuapi_aout libuapi_avplay \
|
||
|
libuapi_demux libuapi_ts libuapi_secure libuapi_ain libuapi_vin libuapi_pvr libuapi_tooldbg \
|
||
|
libuapi_subtitle libuapi_ttx libuapi_cc libuapi_so libdftevent
|
||
|
|
||
|
LOCAL_C_INCLUDES += $(SOC_PLATFORM_PATH)/tvhal/include
|
||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src/common
|
||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
|
||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src/caption/caption_cc_out
|
||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src/caption/caption_subt_out
|
||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src/caption/caption_ttx_out
|
||
|
LOCAL_C_INCLUDES += $(SDK_DIR)/source/linux/include
|
||
|
LOCAL_C_INCLUDES += $(SDK_DIR)/source/linux/api/include
|
||
|
LOCAL_C_INCLUDES += $(SDK_DIR)/source/linux/api/securec
|
||
|
LOCAL_C_INCLUDES += $(SDK_DIR)/source/linux/drv/include
|
||
|
LOCAL_C_INCLUDES += $(SDK_DIR)/source/component/ha_codec/include
|
||
|
|
||
|
LOCAL_C_INCLUDES += $(TOP)/libnativehelper/include/nativehelper
|
||
|
|
||
|
$(shell mkdir -p $(DTV_DIR_READ_ONLY))
|
||
|
$(shell cp -r $(LOCAL_PATH)/src/caption/caption_ttx_out/res/font0.bin $(DTV_DIR_READ_ONLY)/)
|
||
|
|
||
|
include $(BUILD_SHARED_LIBRARY)
|