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-16 18:07:52 +00:00
|
|
|
index 1fe47e92ffb1442159ead7b696884bc8cc4bda83..72b39b83789cd1f67e10c743a3e729420c9b72ed 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-16 18:07:52 +00:00
|
|
|
@@ -10,7 +10,7 @@ declare_args() {
|
|
|
|
# on Android.
|
|
|
|
# Can be optionally enabled in Chromium on non-Android platforms. Please see
|
|
|
|
# //src/third_party/widevine/LICENSE file for details.
|
2019-01-12 01:00:43 +00:00
|
|
|
- enable_widevine = is_chrome_branded || is_android
|
2019-01-16 18:07:52 +00:00
|
|
|
+ enable_widevine = is_chrome_branded || is_android || is_mac || is_win
|
2018-09-14 05:02:16 +00:00
|
|
|
}
|
|
|
|
|
2019-01-12 01:00:43 +00:00
|
|
|
# Widevine CDM is available as a library CDM on the following platforms and
|