0

[cdm]Add enable widevine

When using library cdms it will still write the key.

Bug: b/145700375
Change-Id: Ibbcbd21b0f594ce539af1bb3a180ea3f50825a95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2828453
Reviewed-by: Yuchen Liu <yucliu@chromium.org>
Commit-Queue: Jimmy Xu <jimmyxu@google.com>
Cr-Commit-Position: refs/heads/master@{#873049}
This commit is contained in:
Jimmy Xu
2021-04-15 21:22:25 +00:00
committed by Chromium LUCI CQ
parent e43d231886
commit 2ca8f2af6f

@ -213,7 +213,7 @@ void AddChromecastKeySystems(
key_systems_properties,
bool enable_persistent_license_support,
bool force_software_crypto) {
#if BUILDFLAG(USE_CHROMECAST_CDMS)
#if BUILDFLAG(USE_CHROMECAST_CDMS) || BUILDFLAG(ENABLE_WIDEVINE)
AddCmaKeySystems(key_systems_properties, enable_persistent_license_support);
#elif defined(OS_ANDROID)
AddCastAndroidKeySystems(key_systems_properties);