diff options
Diffstat (limited to 'devel/electron37/files/patch-net_dns_BUILD.gn')
-rw-r--r-- | devel/electron37/files/patch-net_dns_BUILD.gn | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-net_dns_BUILD.gn b/devel/electron37/files/patch-net_dns_BUILD.gn new file mode 100644 index 000000000000..e1fd322aea84 --- /dev/null +++ b/devel/electron37/files/patch-net_dns_BUILD.gn @@ -0,0 +1,41 @@ +--- net/dns/BUILD.gn.orig 2025-03-29 00:50:57 UTC ++++ net/dns/BUILD.gn +@@ -138,7 +138,7 @@ source_set("dns") { + "dns_config_service_android.cc", + "dns_config_service_android.h", + ] +- } else if (is_linux) { ++ } else if (is_linux && !is_bsd) { + sources += [ + "dns_config_service_linux.cc", + "dns_config_service_linux.h", +@@ -172,6 +172,9 @@ source_set("dns") { + } + + deps = [ "//net:net_deps" ] ++ if (is_bsd) { ++ deps += [ "//services/screen_ai/buildflags" ] ++ } + + public_deps = [ + ":dns_client", +@@ -179,6 +182,7 @@ source_set("dns") { + ":host_resolver_manager", + ":mdns_client", + "//net:net_public_deps", ++ "//printing/buildflags", + ] + + allow_circular_includes_from = [ +@@ -447,9 +451,9 @@ source_set("tests") { + + if (is_android) { + sources += [ "dns_config_service_android_unittest.cc" ] +- } else if (is_linux) { ++ } else if (is_linux && !is_bsd) { + sources += [ "dns_config_service_linux_unittest.cc" ] +- } else if (is_posix) { ++ } else if (is_posix && !is_bsd) { + sources += [ "dns_config_service_posix_unittest.cc" ] + } + |