diff options
Diffstat (limited to 'www/qt5-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn')
-rw-r--r-- | www/qt5-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/www/qt5-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn b/www/qt5-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn index 93a361d8bebf..dc18be76e737 100644 --- a/www/qt5-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn +++ b/www/qt5-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/BUILD.gn.orig 2019-11-27 21:12:25 UTC +--- src/3rdparty/chromium/net/BUILD.gn.orig 2020-04-08 09:41:36 UTC +++ src/3rdparty/chromium/net/BUILD.gn -@@ -105,7 +105,7 @@ net_configs = [ +@@ -103,7 +103,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", ] @@ -9,7 +9,25 @@ net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1913,7 +1913,7 @@ component("net") { +@@ -1834,6 +1834,17 @@ component("net") { + ] + } + ++ if (is_bsd) { ++ sources -= [ ++ "base/address_tracker_linux.cc", ++ "base/address_tracker_linux.h", ++ "base/network_change_notifier_linux.cc", ++ "base/network_change_notifier_linux.h", ++ "base/network_interfaces_linux.cc", ++ "base/network_interfaces_linux.h", ++ ] ++ } ++ + if (is_mac) { + sources += [ + "base/network_notification_thread_mac.cc", +@@ -1960,7 +1971,7 @@ component("net") { } } @@ -18,7 +36,7 @@ sources += [ "base/network_change_notifier_posix.cc", "base/network_change_notifier_posix.h", -@@ -1946,7 +1946,7 @@ component("net") { +@@ -1991,7 +2002,7 @@ component("net") { } # Use getifaddrs() on POSIX platforms, except Linux and Android. @@ -27,20 +45,3 @@ sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", -@@ -2040,6 +2040,16 @@ component("net") { - ] - - sources -= [ "disk_cache/blockfile/file_posix.cc" ] -+ } -+ -+ if (is_bsd) { -+ sources -= [ -+ "base/address_tracker_linux.cc", -+ "base/address_tracker_linux.h", -+ "base/network_change_notifier_linux.cc", -+ "base/network_change_notifier_linux.h", -+ "base/network_interfaces_linux.cc", -+ ] - } - - if (is_ios || is_mac) { |