Merge "Update to OEMCrypto Level 3 Libraries" into nyc-dev

This commit is contained in:
Fred Gylys-Colwell
2016-03-21 17:34:21 +00:00
committed by Android (Google) Code Review
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);