aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ringrtc/files/patch-src_webrtc_src_third__party_libevent_BUILD.gn
blob: 4c2a5a7a8e61da9dcc83c30e5d28f63de5792454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/webrtc/src/third_party/libevent/BUILD.gn.orig	2021-03-15 17:07:00 UTC
+++ src/webrtc/src/third_party/libevent/BUILD.gn
@@ -48,6 +48,13 @@ static_library("libevent") {
       "mac/event-config.h",
     ]
     include_dirs += [ "mac" ]
+  } else if (is_bsd) {
+    sources += [
+      "kqueue.c",
+      "freebsd/config.h",
+      "freebsd/event-config.h",
+    ]
+    include_dirs = [ "freebsd" ]
   } else if (is_linux || is_chromeos) {
     sources += [
       "epoll.c",