Merge from widevine of http://go/wvgerrit/17178 These are the OEMCrypto Level 3 libraries, built using a stable version of GCC and build tools on nyc-dev. Code changes are just merged from master. Aside from build tool updates, the CL contains a fix for b/26567162. Current version (as printed by oemcrypto/level3/print-version-strings): level3/arm/libwvlevel3.a Level3 Library 4445 Mar 17 2016 14:11:16 level3/x86/libwvlevel3.a Level3 Library 4464 Mar 17 2016 13:14:40 level3/mips/libwvlevel3.a Level3 Library 4465 Mar 17 2016 11:34:50 bug: 26917438 bug: 26567162 Change-Id: I07d526f28e61c5a9b66fa59b78041a93a99dc8e6
28 lines
901 B
Makefile
28 lines
901 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
ifeq "$(TARGET_ARCH)" "mips64" # stub out mips64 because it doesn't link correctly.
|
|
$(warning Widevine Level 3 library disabled for mips 64 devices.)
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libwvlevel3
|
|
LOCAL_C_INCLUDES := vendor/widevine/libwvdrmengine/oemcrypto/include
|
|
LOCAL_SRC_FILES := level3_stubs.cpp
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_OWNER := widevine
|
|
LOCAL_MODULE_TARGET_ARCH := mips64
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
else # for 32 bit mips.
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libwvlevel3
|
|
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
|
LOCAL_MODULE_SUFFIX := .a
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_OWNER := widevine
|
|
LOCAL_MODULE_TARGET_ARCH := mips
|
|
LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH := mips64
|
|
include $(BUILD_PREBUILT)
|
|
endif
|