blob: dc86bec2acf65f8c413889074577db39753b8b3b [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
VideoDecoderHost.cpp \
VideoDecoderBase.cpp \
VideoDecoderWMV.cpp \
VideoDecoderMPEG4.cpp \
VideoDecoderAVC.cpp \
VideoDecoderPAVC.cpp \
VideoDecoderAVCSecure.cpp \
VideoDecoderTrace.cpp
# LOCAL_CFLAGS :=
LOCAL_C_INCLUDES := \
$(LOCAL_PATH) \
$(TARGET_OUT_HEADERS)/libva \
$(TARGET_OUT_HEADERS)/libmixvbp
#LOCAL_LDLIBS += -lpthread
LOCAL_SHARED_LIBRARIES := \
libcutils \
libmixvbp \
libva \
libva-android \
libva-tpi
#LOCAL_CFLAGS += -DANDROID
#LOCAL_SHARED_LIBRARIES += liblog
LOCAL_COPY_HEADERS_TO := libmix_videodecoder
LOCAL_COPY_HEADERS := \
VideoDecoderHost.h \
VideoDecoderInterface.h \
VideoDecoderDefs.h
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libva_videodecoder
PLATFORM_SUPPORT_VP8 := \
merrifield \
baytrail
ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_SUPPORT_VP8)),)
LOCAL_SRC_FILES += VideoDecoderVP8.cpp
LOCAL_CFLAGS += -DUSE_HW_VP8
endif
include $(BUILD_SHARED_LIBRARY)