blob: acf9a7a73b46aa042413f969100f27bee0df79bf [file] [log] [blame]
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# ---------------------------------------------------------------------------------
# Common definitons
# ---------------------------------------------------------------------------------
LOCAL_SRC_FILES:= \
DashPlayer.cpp \
DashPlayerDriver.cpp \
DashPlayerRenderer.cpp \
DashPlayerStats.cpp \
DashPlayerDecoder.cpp \
DashPacketSource.cpp \
DashFactory.cpp
LOCAL_SHARED_LIBRARIES := \
libbinder \
libcamera_client \
libcutils \
libdl \
libgui \
libmedia \
libstagefright \
libstagefright_foundation \
libstagefright_omx \
libutils \
libui \
LOCAL_C_INCLUDES := \
$(TOP)/frameworks/av/media/libstagefright/timedtext \
$(TOP)/frameworks/native/include/media/hardware \
$(TOP)/frameworks/native/include/media/openmax \
$(TOP)/frameworks/av/media/libstagefright/httplive \
$(TOP)/frameworks/av/media/libmediaplayerservice/nuplayer \
$(TOP)/frameworks/av/media/libmediaplayerservice \
$(TOP)/frameworks/av/media/libstagefright/include \
$(TOP)/frameworks/av/media/libstagefright/mpeg2ts \
$(TOP)/frameworks/av/media/libstagefright/rtsp \
$(TOP)/$(call project-path-for,qcom-media)/mm-core/inc \
$(TOP)/$(call project-path-for,qcom-display)/libgralloc \
$(LOCAL_PATH)/../QCMediaPlayer/native \
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
ifeq ($(PLATFORM_SDK_VERSION), 18)
LOCAL_CFLAGS += -DANDROID_JB_MR2
endif
LOCAL_MODULE:= libdashplayer
LOCAL_MODULE_TAGS := eng
ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS), true)
ifndef TARGET_DISABLE_DASH
include $(BUILD_SHARED_LIBRARY)
endif
endif