Enable Chromium's rtc::ThreadWrapper to use TaskQueueTest.

Bug: webrtc:14449
Change-Id: Ie279cb3b2610ba561ca4b2e2a8e1b10ab2c795e2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275943
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38117}
diff --git a/api/task_queue/BUILD.gn b/api/task_queue/BUILD.gn
index 2406bc0..dc69686 100644
--- a/api/task_queue/BUILD.gn
+++ b/api/task_queue/BUILD.gn
@@ -43,9 +43,10 @@
     visibility = []
     visibility = webrtc_default_visibility
     visibility += [
-      # This is the only Chromium target that can depend on this. The reason
-      # behind this is the fact that this is a 'testonly' target and as such
+      # This is the only Chromium targets that can depend on this. The reason
+      # behind this is the fact that these are 'testonly' targets and as such
       # it cannot be part of the WebRTC component.
+      "//components/webrtc:unit_tests",
       "//third_party/blink/renderer/platform:blink_platform_unittests_sources",
     ]