2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-21 00:30:26 +00:00
|
|
|
From: Aleksei Kuzmin <alkuzmin@microsoft.com>
|
|
|
|
Date: Thu, 20 Sep 2018 17:50:03 -0700
|
|
|
|
Subject: enable_widevine.patch
|
|
|
|
|
|
|
|
Turns `enable_widevine` flag on by default on Mac and Windows.
|
|
|
|
Electron needs that flag to be enabled on those paltforms,
|
|
|
|
but there's no way to conditionally set it during a `gn gen` call.
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/third_party/widevine/cdm/widevine.gni b/third_party/widevine/cdm/widevine.gni
|
2019-01-12 01:00:43 +00:00
|
|
|
index e10d9b9b8d2975a731adfee2eb0086afd7975f97..844320dc66cd5781e218d5ca8084f5185a5e331d 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/third_party/widevine/cdm/widevine.gni
|
|
|
|
+++ b/third_party/widevine/cdm/widevine.gni
|
2019-01-12 01:00:43 +00:00
|
|
|
@@ -6,9 +6,8 @@ import("//build/config/chrome_build.gni")
|
|
|
|
import("//media/media_options.gni")
|
2018-09-14 05:02:16 +00:00
|
|
|
|
|
|
|
declare_args() {
|
2019-01-12 01:00:43 +00:00
|
|
|
- # Enables Widevine key system support. Enabled by default in Google Chrome or
|
|
|
|
- # on Android. Can be optionally enabled in Chromium.
|
|
|
|
- enable_widevine = is_chrome_branded || is_android
|
|
|
|
+ # Allow Widevine key system support in Chromium.
|
2018-09-14 05:02:16 +00:00
|
|
|
+ enable_widevine = is_mac || is_win
|
|
|
|
}
|
|
|
|
|
2019-01-12 01:00:43 +00:00
|
|
|
# Widevine CDM is available as a library CDM on the following platforms and
|