Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_third__party_libevent_BUILD.gn
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_third__party_libevent_BUILD.gn
--- src/3rdparty/chromium/base/third_party/libevent/BUILD.gn.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/base/third_party/libevent/BUILD.gn.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/third_party/libevent/BUILD.gn | +++ src/3rdparty/chromium/base/third_party/libevent/BUILD.gn | ||||
@@ -48,13 +48,20 @@ static_library("bundled_libevent") { | @@ -48,13 +48,20 @@ static_library("bundled_libevent") { | ||||
"mac/event-config.h", | "mac/event-config.h", | ||||
] | ] | ||||
include_dirs = [ "mac" ] | include_dirs = [ "mac" ] | ||||
- } else if (is_linux) { | - } else if (is_linux || is_chromeos) { | ||||
+ } else if (is_linux && !is_bsd) { | + } else if ((is_linux || is_chromeos) && !is_bsd) { | ||||
sources += [ | sources += [ | ||||
"epoll.c", | "epoll.c", | ||||
"linux/config.h", | "linux/config.h", | ||||
"linux/event-config.h", | "linux/event-config.h", | ||||
] | ] | ||||
include_dirs = [ "linux" ] | include_dirs = [ "linux" ] | ||||
+ } else if (is_bsd) { | + } else if (is_bsd) { | ||||
+ sources += [ | + sources += [ | ||||
+ "kqueue.c", | + "kqueue.c", | ||||
+ "freebsd/config.h", | + "freebsd/config.h", | ||||
+ "freebsd/event-config.h", | + "freebsd/event-config.h", | ||||
+ ] | + ] | ||||
+ include_dirs = [ "freebsd" ] | + include_dirs = [ "freebsd" ] | ||||
} else if (is_android) { | } else if (is_android) { | ||||
sources += [ | sources += [ | ||||
"android/config.h", | "android/config.h", |