(This is a merge of http://go/wvgerrit/14795) This change restores the ability to build the Widevine CDM for Android for MIPS devices. It restores the precompiled binaries for MIPS and re-adds MIPS to all makefiles. This change includes a new build of the obfuscated binaries for MIPS32r1 that were built using a MIPS device on the emulator. level3/mips/libwvlevel3.a Level3 Library Jun 19 2015 12:32:49 Bug: 19482469 Change-Id: Ifa1c299a5751f3772c42289d8333a2b8cec51f69
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# ----------------------------------------------------------------
|
|
# Builds libcdm.a
|
|
#
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
|
vendor/widevine/libwvdrmengine/cdm/include \
|
|
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
|
vendor/widevine/libwvdrmengine/third_party/stringencoders/src
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
external/protobuf/src
|
|
|
|
LOCAL_STATIC_LIBRARIES := libcdm_protos libcrypto_static
|
|
|
|
SRC_DIR := src
|
|
CORE_SRC_DIR := core/src
|
|
LOCAL_SRC_FILES := \
|
|
$(CORE_SRC_DIR)/buffer_reader.cpp \
|
|
$(CORE_SRC_DIR)/cdm_engine.cpp \
|
|
$(CORE_SRC_DIR)/cdm_session.cpp \
|
|
$(CORE_SRC_DIR)/certificate_provisioning.cpp \
|
|
$(CORE_SRC_DIR)/crypto_session.cpp \
|
|
$(CORE_SRC_DIR)/device_files.cpp \
|
|
$(CORE_SRC_DIR)/initialization_data.cpp \
|
|
$(CORE_SRC_DIR)/license.cpp \
|
|
$(CORE_SRC_DIR)/max_res_engine.cpp \
|
|
$(CORE_SRC_DIR)/oemcrypto_adapter_dynamic.cpp \
|
|
$(CORE_SRC_DIR)/policy_engine.cpp \
|
|
$(CORE_SRC_DIR)/privacy_crypto_openssl.cpp \
|
|
$(SRC_DIR)/wv_content_decryption_module.cpp
|
|
|
|
LOCAL_MODULE := libcdm
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_TARGET_ARCH := arm x86 mips
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|