Do not use Windows default task queue when building with Chromium

as this includes the deprecated timeKillEvent symbol which leads
to runtime errors on platforms where this is already removed.

See discussion in
  https://webrtc-review.googlesource.com/c/src/+/328860
for why this causes problems.

BUG=webrtc:15656

Change-Id: I95d07ceed105d35ac76fe97dbd1c454de398f52e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/333260
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41468}
This commit is contained in:
Philipp Hancke 2024-01-03 08:20:51 +01:00 committed by WebRTC LUCI CQ
parent de17252e8e
commit 8e2ab67045

View File

@ -112,7 +112,7 @@ rtc_library("default_task_queue_factory") {
} else if (is_mac || is_ios) {
sources += [ "default_task_queue_factory_gcd.cc" ]
deps += [ "../../rtc_base:rtc_task_queue_gcd" ]
} else if (is_win && current_os != "winuwp") {
} else if (is_win && current_os != "winuwp" && !build_with_chromium) {
sources += [ "default_task_queue_factory_win.cc" ]
deps += [ "../../rtc_base:rtc_task_queue_win" ]
} else {