From 8e2ab67045941387e1b25d05f8fb219f524a80a8 Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Wed, 3 Jan 2024 08:20:51 +0100 Subject: [PATCH] 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 Reviewed-by: Danil Chapovalov Reviewed-by: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#41468} --- api/task_queue/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/task_queue/BUILD.gn b/api/task_queue/BUILD.gn index 246164c68b..1b9425d719 100644 --- a/api/task_queue/BUILD.gn +++ b/api/task_queue/BUILD.gn @@ -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 {