summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_third__party_libevent_BUILD.gn
blob: 9e48a48508a82360619e603f0e6831b7c51acba6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- base/third_party/libevent/BUILD.gn.orig	2017-08-03 00:05:03.000000000 +0200
+++ base/third_party/libevent/BUILD.gn	2017-08-03 14:47:35.196280000 +0200
@@ -50,6 +50,13 @@
       "linux/event-config.h",
     ]
     include_dirs = [ "linux" ]
+  } else if (is_bsd) {
+    sources += [ 
+      "kqueue.c",
+      "freebsd/config.h",
+      "freebsd/event-config.h",
+    ]
+    include_dirs = [ "freebsd" ]
   } else if (is_android) {
     sources += [
       "android/config.h",