Source release 16.4.1

This commit is contained in:
John "Juce" Bruce
2023-02-08 16:23:36 -08:00
parent 8c17574083
commit ad166f1323
86 changed files with 7598 additions and 43 deletions

View File

@@ -115,13 +115,6 @@
'../core/src/oemcrypto_adapter_static.cpp',
],
}],
# TODO(b/139814713): For testing and internal use only.
['oemcrypto_adapter_type=="static_v15"', {
'sources': [
'../core/src/oemcrypto_adapter_static.cpp',
'../core/src/oemcrypto_adapter_static_v16.cpp',
],
}],
],
}, # widevine_cdm_core target
{

View File

@@ -64,13 +64,6 @@
'oec_ref',
],
}],
# TODO(b/139814713): For testing and internal use only.
['oemcrypto_adapter_type=="static_v15"', {
'defines': [
# This is used by the unit tests to use some v15 functions.
'TEST_OEMCRYPTO_V15',
],
}],
['oemcrypto_lib=="level3"', {
'sources': [
# The test impl of OEMCrypto_Level3FileSystem and its factory.

View File

@@ -1,5 +1,5 @@
// Widevine CE CDM Version
#ifndef CDM_VERSION
# define CDM_VERSION "16.4.0"
# define CDM_VERSION "16.4.1"
#endif
#define EME_VERSION "https://www.w3.org/TR/2017/REC-encrypted-media-20170918"

View File

@@ -335,12 +335,11 @@ class CdmTest : public WvCdmTestBase, public Cdm::IEventListener {
}
}
void FetchLicenseFailure(const std::string& message,
int expected_status_code) {
void FetchLicenseFailure(const std::string& message) {
int status_code;
bool ok = Fetch(config_.license_server(), message, nullptr, &status_code);
ASSERT_TRUE(ok);
if (ok) ASSERT_EQ(expected_status_code, status_code);
if (ok) ASSERT_THAT(status_code, AllOf(Ge(400), Le(599)));
}
void CreateSessionAndGenerateRequest(Cdm::SessionType session_type,
@@ -1901,7 +1900,7 @@ TEST_F(CdmTest, RequestPersistentLicenseWithWrongInitData) {
Mock::VerifyAndClear(this);
// The license server will reject this.
FetchLicenseFailure(message, 500);
FetchLicenseFailure(message);
}
// TODO(b/34949512): Fix this test so it can be re-enabled.