aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-services_network_public_mojom_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-services_network_public_mojom_BUILD.gn')
-rw-r--r--devel/electron38/files/patch-services_network_public_mojom_BUILD.gn34
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-services_network_public_mojom_BUILD.gn b/devel/electron38/files/patch-services_network_public_mojom_BUILD.gn
new file mode 100644
index 000000000000..a433540af822
--- /dev/null
+++ b/devel/electron38/files/patch-services_network_public_mojom_BUILD.gn
@@ -0,0 +1,34 @@
+--- services/network/public/mojom/BUILD.gn.orig 2025-08-26 20:49:50 UTC
++++ services/network/public/mojom/BUILD.gn
+@@ -690,11 +690,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/40263697): Remove this once is_linux in the mojom IDL does
+ # not include lacros.
+ enabled_features += [ "use_network_interface_change_listener" ]
+@@ -1007,7 +1007,7 @@ mojom("url_loader_base") {
+ },
+ ]
+
+- if (is_linux) {
++ if (is_linux && !is_bsd) {
+ cpp_typemaps += [
+ {
+ types = [
+@@ -1797,7 +1797,7 @@ mojom("mojom") {
+ }
+ }
+
+- if (is_linux) {
++ if (is_linux && !is_bsd) {
+ # TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does
+ # not include lacros.
+ enabled_features += [ "use_network_interface_change_listener" ]