aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
blob: 37df2d3d8b7f7a92305bcce23320cceec6f6cc0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- third_party/webrtc/system_wrappers/BUILD.gn.orig	2017-06-05 19:04:24 UTC
+++ third_party/webrtc/system_wrappers/BUILD.gn
@@ -79,7 +79,7 @@ rtc_static_library("system_wrappers") {
     libs += [ "log" ]
   }
 
-  if (is_linux) {
+  if (is_linux || is_bsd) {
     defines += [ "WEBRTC_THREAD_RR" ]
 
     if (!build_with_chromium) {
@@ -89,7 +89,7 @@ rtc_static_library("system_wrappers") {
     libs += [ "rt" ]
   }
 
-  if (is_linux || is_android) {
+  if (is_linux || is_android || is_bsd) {
     sources += [ "source/atomic32_non_darwin_unix.cc" ]
   }