blob: 4f82d66037a94b27bb2c56653bcac89b0c9710ac [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
ifeq ($(TARGET_BOARD_PLATFORM),baytrail)
LOCAL_CFLAGS += -DLOAD_PVR_DRIVER
endif
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)