OEMCrypto v13.1

This commit is contained in:
Fred Gylys-Colwell
2017-05-18 14:20:44 -07:00
parent 422ec255cb
commit 1959bff979
77 changed files with 31461 additions and 0 deletions

12
oemcrypto/stubs/README Normal file
View File

@@ -0,0 +1,12 @@
Copyright 2016 Google Inc. All Rights Reserved.
These are OEMCrypto stubs for each API version. They are used to test the build
with various static adapters to ensure that the CDM can be linked against each
version of OEMCrypto. They are not meant to be run at all.
Process for generating these stubs:
1. Preprocess the header: g++ -fpreprocessed -dD -E OEMCryptoCENC.h
2. Remove all type defs, comments, and extra blank lines
3. Add #include "OEMCryptoCENC.h" and copyright header
4. s/;/ {\n return OEMCrypto_ERROR_NOT_IMPLEMENTED;}\n/
5. Fix return values for non-OEMCryptoResult return types