pw_work_queue: Fix bazel build

Bug: 244743459
Change-Id: Idbf479de8469dd95a4d5a7dd07b8d8dcb72cb29b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/122751
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
index 6a67787..50783f2 100755
--- a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
+++ b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
@@ -476,7 +476,6 @@
     '-//pw_boot/...:all',
     '-//pw_chrono/py/...:all',
     '-//pw_chrono:chrono_proto_pb2',
-    '-//pw_work_queue/...:all',
     '-//targets/stm32f429i_disc1_stm32cube/...:all',
     '-//third_party/boringssl/...:all',
     # keep-sorted: end
diff --git a/pw_work_queue/BUILD.bazel b/pw_work_queue/BUILD.bazel
index c2d5463..ff8855c 100644
--- a/pw_work_queue/BUILD.bazel
+++ b/pw_work_queue/BUILD.bazel
@@ -58,7 +58,7 @@
     ],
     deps = [
         ":pw_work_queue",
-        ":test_thread",
+        ":stl_test_thread",
         "//pw_log",
         "//pw_unit_test",
     ],