diff options
| author | Robert Nagy <rnagy@FreeBSD.org> | 2023-07-25 08:32:19 +0200 |
|---|---|---|
| committer | Robert Nagy <rnagy@FreeBSD.org> | 2023-07-25 12:39:06 +0200 |
| commit | 2f85e0aed6882f5be23adf89be70ce5f327d3373 (patch) | |
| tree | 3ef44960af9cc5ef7a05ed9dc3378cd2540ea68c /www/iridium/files/patch-net_BUILD.gn | |
| parent | emulators/wine: fix packaging with ALSA enabled (diff) | |
www/iridium: update to 2023.07.115.1
Diffstat (limited to 'www/iridium/files/patch-net_BUILD.gn')
| -rw-r--r-- | www/iridium/files/patch-net_BUILD.gn | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/www/iridium/files/patch-net_BUILD.gn b/www/iridium/files/patch-net_BUILD.gn index abfdd6d8e293..5cbac0eddd92 100644 --- a/www/iridium/files/patch-net_BUILD.gn +++ b/www/iridium/files/patch-net_BUILD.gn @@ -1,6 +1,6 @@ ---- net/BUILD.gn.orig 2023-04-22 17:45:15 UTC +--- net/BUILD.gn.orig 2023-07-24 14:27:53 UTC +++ net/BUILD.gn -@@ -104,7 +104,7 @@ net_configs = [ +@@ -107,7 +107,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", ] @@ -9,12 +9,16 @@ net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1217,6 +1217,15 @@ component("net") { +@@ -1231,6 +1231,19 @@ component("net") { deps += [ "//third_party/xdg_shared_mime_info" ] } + if (is_bsd) { + sources -= [ ++ "base/address_map_cache_linux.cc", ++ "base/address_map_cache_linux.h", ++ "base/address_map_linux.cc", ++ "base/address_map_linux.h", + "base/address_tracker_linux.cc", + "base/address_tracker_linux.h", + "base/network_change_notifier_linux.cc", @@ -25,16 +29,7 @@ if (is_mac) { sources += [ "base/network_notification_thread_mac.cc", -@@ -1349,7 +1358,7 @@ component("net") { - } - } - -- if (is_android || is_chromeos) { -+ if (is_android || is_chromeos || is_bsd) { - sources += [ - "base/network_change_notifier_posix.cc", - "base/network_change_notifier_posix.h", -@@ -1382,7 +1391,7 @@ component("net") { +@@ -1387,7 +1400,7 @@ component("net") { } # Use getifaddrs() on POSIX platforms, except Linux. @@ -43,8 +38,8 @@ sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", -@@ -2826,7 +2835,7 @@ test("net_unittests") { - sources += [ "proxy_resolution/proxy_config_service_linux_unittest.cc" ] +@@ -2856,7 +2869,7 @@ test("net_unittests") { + ] } - if (is_linux || is_chromeos) { @@ -52,7 +47,7 @@ sources += [ "base/address_tracker_linux_unittest.cc", "base/network_interfaces_linux_unittest.cc", -@@ -2898,6 +2907,10 @@ test("net_unittests") { +@@ -2924,6 +2937,10 @@ test("net_unittests") { "//url:buildflags", ] @@ -63,7 +58,7 @@ if (enable_websockets) { deps += [ "//net/server:tests" ] } -@@ -2965,7 +2978,7 @@ test("net_unittests") { +@@ -3006,7 +3023,7 @@ test("net_unittests") { ] } @@ -72,7 +67,7 @@ sources += [ "tools/quic/quic_simple_server_test.cc" ] } -@@ -3090,7 +3103,7 @@ test("net_unittests") { +@@ -3142,7 +3159,7 @@ test("net_unittests") { } # Use getifaddrs() on POSIX platforms, except Linux. |
