aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn
blob: 6fe61997cb4e9827e71b8fa9a58ec4a4c54d4d3f (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
--- services/network/public/mojom/BUILD.gn.orig	2024-04-23 07:42:17 UTC
+++ services/network/public/mojom/BUILD.gn
@@ -522,11 +522,11 @@ mojom("url_loader_base") {
   }
 
   enabled_features = []
-  if (is_android || is_chromeos || is_linux) {
+  if (!is_bsd && (is_android || is_chromeos || is_linux)) {
     enabled_features += [ "network_change_notifier_in_browser" ]
   }
 
-  if (is_linux) {
+  if (is_linux && !is_bsd) {
     # TODO(crbug.com/1431866): Remove this once is_linux in the mojom IDL does
     # not include lacros.
     enabled_features += [ "use_network_interface_change_listener" ]
@@ -1457,7 +1457,7 @@ mojom("mojom") {
     }
   }
 
-  if (is_linux) {
+  if (is_linux && !is_bsd) {
     # TODO(crbug.com/1431866): Remove this once is_linux in the mojom IDL does
     # not include lacros.
     enabled_features += [ "use_network_interface_change_listener" ]