mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 21:20:31 -04:00
Submitted by: clutton <clutton@zoho.com> Reviewed by: cpm, rene Obtained from: https://github.com/paranormal/ MFH: 2016Q4 Security: https://vuxml.freebsd.org/freebsd/769ba449-79e1-11e6-bf75-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/653a8059-7c49-11e6-9242-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9c135c7e-9fa4-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9118961b-9fa5-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/ae9cb9b8-a203-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/a3473f5a-a739-11e6-afaa-e8e0b747a45a.html Differential Revision: https://reviews.freebsd.org/D8517
86 lines
2 KiB
Text
86 lines
2 KiB
Text
--- net/BUILD.gn.orig 2016-10-06 04:02:22.000000000 +0300
|
|
+++ net/BUILD.gn 2016-10-18 00:25:21.260605000 +0300
|
|
@@ -175,6 +175,11 @@
|
|
]
|
|
if (is_android) {
|
|
sources -= [ "base/openssl_private_key_store_android.cc" ]
|
|
+ } else if (is_bsd) {
|
|
+ sources -= [
|
|
+ "base/address_tracker_linux.cc",
|
|
+ "base/address_tracker_linux.h",
|
|
+ ]
|
|
}
|
|
} else {
|
|
if (is_android) {
|
|
@@ -298,6 +303,13 @@
|
|
sources -= [ "disk_cache/blockfile/file_posix.cc" ]
|
|
}
|
|
|
|
+ if (is_bsd) {
|
|
+ sources -= [
|
|
+ "base/network_change_notifier_linux.cc",
|
|
+ "base/network_change_notifier_linux.h",
|
|
+ ]
|
|
+ }
|
|
+
|
|
if (is_ios || is_mac) {
|
|
sources += gypi_values.net_base_mac_ios_sources
|
|
}
|
|
@@ -1025,7 +1037,7 @@
|
|
}
|
|
}
|
|
|
|
-if (is_linux || is_mac) {
|
|
+if (is_linux || is_bsd || is_mac) {
|
|
executable("cachetool") {
|
|
testonly = true
|
|
sources = [
|
|
@@ -1054,7 +1066,7 @@
|
|
}
|
|
}
|
|
|
|
-if (is_linux) {
|
|
+if (is_linux || is_bsd) {
|
|
static_library("epoll_server") {
|
|
sources = [
|
|
"tools/epoll_server/epoll_server.cc",
|
|
@@ -1160,7 +1172,7 @@
|
|
}
|
|
}
|
|
|
|
-if (is_android || is_linux) {
|
|
+if (is_android || is_linux || is_bsd) {
|
|
executable("disk_cache_memory_test") {
|
|
testonly = true
|
|
sources = [
|
|
@@ -1353,7 +1365,7 @@
|
|
"third_party/nist-pkits/",
|
|
]
|
|
|
|
- if (is_linux || is_mac || is_win) {
|
|
+ if (is_linux || is_bsd || is_mac || is_win) {
|
|
deps += [
|
|
"//third_party/pyftpdlib/",
|
|
"//third_party/pywebsocket/",
|
|
@@ -1376,7 +1388,7 @@
|
|
if (is_desktop_linux) {
|
|
deps += [ ":epoll_quic_tools" ]
|
|
}
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
sources += gypi_values.net_linux_test_sources
|
|
deps += [
|
|
":epoll_quic_tools",
|
|
@@ -1392,6 +1404,12 @@
|
|
sources -= [ "proxy/proxy_config_service_linux_unittest.cc" ]
|
|
}
|
|
|
|
+ if (is_bsd) {
|
|
+ sources -= [
|
|
+ "base/address_tracker_linux_unittest.cc",
|
|
+ ]
|
|
+ }
|
|
+
|
|
if (v8_use_external_startup_data) {
|
|
deps += [ "//gin" ]
|
|
}
|