aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-content_gpu_gpu__sandbox__hook__linux.cc
blob: 5df4677c53de412c278b8fae85fc608c8c37c119 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- content/gpu/gpu_sandbox_hook_linux.cc.orig	2021-07-15 19:13:39 UTC
+++ content/gpu/gpu_sandbox_hook_linux.cc
@@ -378,6 +378,7 @@ std::vector<BrokerFilePermission> FilePermissionsForGp
 }
 
 void LoadArmGpuLibraries() {
+#if !defined(OS_BSD)
   // Preload the Mali library.
   if (UseChromecastSandboxAllowlist()) {
     for (const char* path : kAllowedChromecastPaths) {
@@ -410,6 +411,7 @@ void LoadArmGpuLibraries() {
         dlopen(driver_paths[i], dlopen_flag);
     }
   }
+#endif
 }
 
 bool LoadAmdGpuLibraries() {