blob: 7a66e7c0b09f4d70bfe3e9b2dc98153f977d68bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- net/BUILD.gn.orig 2017-12-15 02:04:22.000000000 +0100
+++ net/BUILD.gn 2017-12-30 02:46:23.419099000 +0100
@@ -99,7 +99,7 @@
net_configs += [ "//build/config/linux/gconf" ]
}
-if (is_linux) {
+if (is_linux && !is_bsd) {
net_configs += [ "//build/config/linux:libresolv" ]
}
@@ -1954,6 +1954,17 @@
]
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",
+ ]
+ sources += [ "base/network_interfaces_freebsd.cc" ]
}
if (is_ios || is_mac) {
|