2016-11-29 11:33:33 +00:00
|
|
|
$NetBSD$
|
|
|
|
|
2020-07-27 03:07:44 +00:00
|
|
|
--- third_party/webrtc/system_wrappers/BUILD.gn.orig 2020-07-15 19:01:42.000000000 +0000
|
2016-11-29 11:33:33 +00:00
|
|
|
+++ third_party/webrtc/system_wrappers/BUILD.gn
|
2020-07-27 03:07:44 +00:00
|
|
|
@@ -55,7 +55,7 @@ rtc_library("system_wrappers") {
|
2017-02-17 22:27:08 +00:00
|
|
|
libs += [ "log" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (is_linux) {
|
|
|
|
+ if (is_linux || is_bsd) {
|
|
|
|
if (!build_with_chromium) {
|
2020-07-27 03:07:44 +00:00
|
|
|
deps += [ ":cpu_features_linux" ]
|
|
|
|
}
|
|
|
|
@@ -117,7 +117,7 @@ if (is_android && !build_with_mozilla) {
|
2016-11-29 11:33:33 +00:00
|
|
|
}
|
2020-07-27 03:07:44 +00:00
|
|
|
}
|
2016-11-29 11:33:33 +00:00
|
|
|
|
2020-07-27 03:07:44 +00:00
|
|
|
-if (is_linux) {
|
|
|
|
+if (is_linux || is_bsd) {
|
|
|
|
rtc_library("cpu_features_linux") {
|
|
|
|
sources = [ "source/cpu_features_linux.c" ]
|
|
|
|
deps = [
|