From 9233af3e2257d1ab3d038dc7b7138c7cc0967a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Tue, 22 Jun 2021 11:24:06 +0200 Subject: [PATCH] Update dependencies on deprecated target rtc_base:critical_section Bug: webrtc:11567 Change-Id: I3b01d65d97502dcef61912e6eb6c5352adc116e5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/223066 Reviewed-by: Harald Alvestrand Commit-Queue: Niels Moller Cr-Commit-Position: refs/heads/master@{#34360} --- modules/utility/source/process_thread_impl.h | 1 - rtc_base/BUILD.gn | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/utility/source/process_thread_impl.h b/modules/utility/source/process_thread_impl.h index b667bfc68a..5d22e37ca1 100644 --- a/modules/utility/source/process_thread_impl.h +++ b/modules/utility/source/process_thread_impl.h @@ -21,7 +21,6 @@ #include "api/task_queue/queued_task.h" #include "modules/include/module.h" #include "modules/utility/include/process_thread.h" -#include "rtc_base/deprecated/recursive_critical_section.h" #include "rtc_base/event.h" #include "rtc_base/location.h" #include "rtc_base/platform_thread.h" diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn index 501ca01541..c780e29669 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -160,7 +160,6 @@ rtc_library("rtc_base_approved") { public_deps += [ # no-presubmit-check TODO(webrtc:8603) ":atomicops", - ":criticalsection", ":logging", ":macromagic", ":platform_thread", @@ -279,7 +278,6 @@ rtc_library("logging") { libs = [] deps = [ ":checks", - ":criticalsection", ":macromagic", ":platform_thread_types", ":stringutils", @@ -505,7 +503,6 @@ if (rtc_enable_libevent) { ] deps = [ ":checks", - ":criticalsection", ":logging", ":macromagic", ":platform_thread", @@ -552,7 +549,6 @@ if (is_win) { ] deps = [ ":checks", - ":criticalsection", ":logging", ":macromagic", ":platform_thread", @@ -576,7 +572,6 @@ rtc_library("rtc_task_queue_stdlib") { ] deps = [ ":checks", - ":criticalsection", ":logging", ":macromagic", ":platform_thread", @@ -1147,7 +1142,6 @@ rtc_library("testclient") { "test_client.h", ] deps = [ - ":criticalsection", ":gunit_helpers", ":rtc_base", ":rtc_base_tests_utils", @@ -1381,6 +1375,7 @@ if (rtc_include_tests) { ":async_socket", ":bounded_inline_vector", ":checks", + ":criticalsection", ":divide_round", ":gunit_helpers", ":ip_address",