From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin 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 82a93622585a424f56c3567050f9ba4822de6c1e..cbd10bed9f3bdbeb61ec5daa2f8d0e158549b7fd 100644 --- a/third_party/widevine/cdm/widevine.gni +++ b/third_party/widevine/cdm/widevine.gni @@ -7,7 +7,7 @@ import("//media/media_options.gni") declare_args() { # Allow Widevine key system support in Chromium. - enable_widevine = false + enable_widevine = is_mac || is_win } enable_widevine_cdm_host_verification =