Includes Widevine libraries Version 4.5.0.7809 Also fixed samplePlayer's MediaCodec mode not running and WVDrmInfoRequestStatusKey returning incorrect value. Change-Id: Ibcc6d313790670a908ada93be80d6bf55a67b4ed related-to-bug: 6929628 related-to-bug: 6833718 related-to-bug: 6889322
29 lines
598 B
Makefile
29 lines
598 B
Makefile
ifneq ($(filter arm x86,$(TARGET_ARCH)),)
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
include $(TOP)/vendor/widevine/proprietary/wvm/common.mk
|
|
|
|
ifeq ($(BOARD_WIDEVINE_OEMCRYPTO_LEVEL),1)
|
|
LOCAL_CFLAGS := -DREQUIRE_SECURE_BUFFERS
|
|
endif
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
WVMLogging.cpp \
|
|
WVMExtractorImpl.cpp \
|
|
WVMFileSource.cpp \
|
|
WVMMediaSource.cpp \
|
|
WVMInfoListener.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libstagefright \
|
|
libstagefright_foundation
|
|
|
|
LOCAL_MODULE := libwvmcommon
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
endif
|