aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn')
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn25
1 files changed, 25 insertions, 0 deletions
diff --git a/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn b/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn
new file mode 100644
index 000000000000..de569e16d5b4
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn
@@ -0,0 +1,25 @@
+--- services/network/public/mojom/BUILD.gn.orig 2023-06-05 19:39:05 UTC
++++ services/network/public/mojom/BUILD.gn
+@@ -460,11 +460,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" ]
+@@ -1377,7 +1377,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" ]