Move to_queued_task.h and pending_task_safety_flag.h into public API
Bug: b/235812579
Change-Id: I9fa3dc4a65044df8b44fff4e9bfeac7233fa381c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/266080
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37248}
diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn
index fb8187d..b58b4a9 100644
--- a/rtc_base/BUILD.gn
+++ b/rtc_base/BUILD.gn
@@ -608,8 +608,8 @@
deps = [
":macromagic",
"../api/task_queue",
+ "../api/task_queue:to_queued_task",
"system:rtc_export",
- "task_utils:to_queued_task",
]
absl_deps = [ "//third_party/abseil-cpp/absl/memory" ]
}
@@ -946,11 +946,11 @@
"../api:scoped_refptr",
"../api:sequence_checker",
"../api/task_queue",
+ "../api/task_queue:pending_task_safety_flag",
+ "../api/task_queue:to_queued_task",
"synchronization:mutex",
"system:no_unique_address",
"system:rtc_export",
- "task_utils:pending_task_safety_flag",
- "task_utils:to_queued_task",
"third_party/sigslot",
]
if (is_android) {
@@ -1089,6 +1089,8 @@
"../api:sequence_checker",
"../api/numerics",
"../api/task_queue",
+ "../api/task_queue:pending_task_safety_flag",
+ "../api/task_queue:to_queued_task",
"../api/transport:field_trial_based_config",
"../system_wrappers:field_trial",
"memory:always_valid_pointer",
@@ -1098,9 +1100,7 @@
"system:inline",
"system:no_unique_address",
"system:rtc_export",
- "task_utils:pending_task_safety_flag",
"task_utils:repeating_task",
- "task_utils:to_queued_task",
"third_party/base64",
"third_party/sigslot",
]
@@ -1376,13 +1376,13 @@
":stringutils",
":threading",
":timeutils",
+ "../api/task_queue:to_queued_task",
"../api/units:time_delta",
"../api/units:timestamp",
"../test:scoped_key_value_config",
"memory:always_valid_pointer",
"memory:fifo_buffer",
"synchronization:mutex",
- "task_utils:to_queued_task",
"third_party/sigslot",
]
absl_deps = [
@@ -1407,7 +1407,7 @@
":rtc_task_queue",
"../api/task_queue",
"../api/task_queue:default_task_queue_factory",
- "task_utils:to_queued_task",
+ "../api/task_queue:to_queued_task",
]
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
}
@@ -1594,6 +1594,7 @@
"../api:make_ref_counted",
"../api:scoped_refptr",
"../api/numerics",
+ "../api/task_queue:to_queued_task",
"../api/units:time_delta",
"../system_wrappers",
"../test:fileutils",
@@ -1603,7 +1604,6 @@
"containers:unittests",
"memory:unittests",
"synchronization:mutex",
- "task_utils:to_queued_task",
"third_party/base64",
"third_party/sigslot",
]
@@ -1735,7 +1735,9 @@
"../api:array_view",
"../api:make_ref_counted",
"../api/task_queue",
+ "../api/task_queue:pending_task_safety_flag",
"../api/task_queue:task_queue_test",
+ "../api/task_queue:to_queued_task",
"../test:field_trial",
"../test:fileutils",
"../test:rtc_expect_death",
@@ -1744,8 +1746,6 @@
"../test:test_support",
"memory:fifo_buffer",
"synchronization:mutex",
- "task_utils:pending_task_safety_flag",
- "task_utils:to_queued_task",
"third_party/sigslot",
]
if (enable_google_benchmarks) {