13 lines
610 B
Plaintext
13 lines
610 B
Plaintext
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
|