Update to OEMCrypto Level 3 Libraries

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
This commit is contained in:
Fred Gylys-Colwell
2016-03-18 11:16:51 -07:00
parent 6a10503b61
commit 943044788b
5 changed files with 4 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ LOCAL_SRC_FILES := level3_stubs.cpp
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_OWNER := widevine
LOCAL_MODULE_TARGET_ARCH := mips
LOCAL_MODULE_TARGET_ARCH := mips64
include $(BUILD_STATIC_LIBRARY)
else # for 32 bit mips.
@@ -22,5 +22,6 @@ 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

View File

@@ -16,6 +16,7 @@
namespace wvoec3 {
#define Level3_PreInitialize _lcc00
#define Level3_Initialize _lcc01
#define Level3_Terminate _lcc02
#define Level3_InstallKeybox _lcc03
@@ -62,6 +63,7 @@ namespace wvoec3 {
extern "C" {
bool Level3_PreInitialize(const char* path);
OEMCryptoResult Level3_Initialize(void);
OEMCryptoResult Level3_Terminate(void);
OEMCryptoResult Level3_OpenSession(OEMCrypto_SESSION *session);