Do not use libevent when targeting wasm.
Bug: None Change-Id: Ibfab54e2d1504b5add54ecaff6cf0935967cbb88 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/142809 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28329}
This commit is contained in:
parent
9da25bde28
commit
775c02ea0c
@ -221,7 +221,8 @@ declare_args() {
|
||||
rtc_build_usrsctp = !build_with_mozilla
|
||||
|
||||
# Enable libevent task queues on platforms that support it.
|
||||
if (is_win || is_mac || is_ios || is_nacl || is_fuchsia) {
|
||||
if (is_win || is_mac || is_ios || is_nacl || is_fuchsia ||
|
||||
target_cpu == "wasm") {
|
||||
rtc_enable_libevent = false
|
||||
rtc_build_libevent = false
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user