22 lines
1 KiB
Diff
22 lines
1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
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.
|
|
|
|
diff --git a/third_party/widevine/cdm/widevine.gni b/third_party/widevine/cdm/widevine.gni
|
|
index 1fe47e92ffb1442159ead7b696884bc8cc4bda83..72b39b83789cd1f67e10c743a3e729420c9b72ed 100644
|
|
--- a/third_party/widevine/cdm/widevine.gni
|
|
+++ b/third_party/widevine/cdm/widevine.gni
|
|
@@ -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.
|
|
- enable_widevine = is_chrome_branded || is_android
|
|
+ enable_widevine = is_chrome_branded || is_android || is_mac || is_win
|
|
}
|
|
|
|
# Widevine CDM is available as a library CDM on the following platforms and
|