about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/chromium/patches/widevine-disable-auto-download-allow-bundle.patch
blob: 4ab2c9a8179ba8a443c153bc05fa60fe94e4ebf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/third_party/widevine/cdm/BUILD.gn b/third_party/widevine/cdm/BUILD.gn
index 525693b6c10ab..245491e137d39 100644
--- a/third_party/widevine/cdm/BUILD.gn
+++ b/third_party/widevine/cdm/BUILD.gn
@@ -22,7 +22,7 @@ buildflag_header("buildflags") {
 
   flags = [
     "ENABLE_WIDEVINE=$enable_widevine",
-    "BUNDLE_WIDEVINE_CDM=$bundle_widevine_cdm",
+    "BUNDLE_WIDEVINE_CDM=true",
     "ENABLE_WIDEVINE_CDM_COMPONENT=$enable_widevine_cdm_component",
     "ENABLE_MEDIA_FOUNDATION_WIDEVINE_CDM=$enable_media_foundation_widevine_cdm",
   ]
diff --git a/third_party/widevine/cdm/widevine.gni b/third_party/widevine/cdm/widevine.gni
index 8b97b7a57419e..69fe548ec2845 100644
--- a/third_party/widevine/cdm/widevine.gni
+++ b/third_party/widevine/cdm/widevine.gni
@@ -42,9 +42,7 @@ enable_library_widevine_cdm =
 # desktop platforms. Not enabled for lacros (as it is changing to use the
 # ash updated version). The CDM can be bundled regardless whether it's a
 # component. See below.
-enable_widevine_cdm_component =
-    enable_library_widevine_cdm &&
-    (is_win || is_mac || is_linux || is_chromeos_ash)
+enable_widevine_cdm_component = false
 
 # Enable (Windows) Media Foundation Widevine CDM component.
 declare_args() {