Depend directly on destination targets.

Makes 'gn check' happy.
Followup to https://webrtc-review.googlesource.com/c/src/+/106820

Bug: webrtc:5876, webrtc:9855
Change-Id: I33fa2c31ba26dc10c9a9c17da0ffed255c1f4d5b
Reviewed-on: https://webrtc-review.googlesource.com/c/108760
Commit-Queue: Yves Gerey <yvesg@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25447}
diff --git a/call/BUILD.gn b/call/BUILD.gn
index 6d2ea82..21d1ac1 100644
--- a/call/BUILD.gn
+++ b/call/BUILD.gn
@@ -362,6 +362,7 @@
       "//testing/gmock",
       "//testing/gtest",
       "//third_party/abseil-cpp/absl/memory",
+      "//third_party/abseil-cpp/absl/types:optional",
     ]
     if (!build_with_chromium && is_clang) {
       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
diff --git a/logging/BUILD.gn b/logging/BUILD.gn
index f22f612..27977d3 100644
--- a/logging/BUILD.gn
+++ b/logging/BUILD.gn
@@ -352,6 +352,7 @@
         "../test:test_support",
         "//testing/gtest",
         "//third_party/abseil-cpp/absl/memory",
+        "//third_party/abseil-cpp/absl/types:optional",
       ]
       if (!build_with_chromium && is_clang) {
         # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
diff --git a/media/BUILD.gn b/media/BUILD.gn
index cc48b06..8eaa23c 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -455,6 +455,7 @@
       "../rtc_base:rtc_task_queue",
       "../rtc_base:stringutils",
       "//third_party/abseil-cpp/absl/memory",
+      "//third_party/abseil-cpp/absl/strings",
     ]
     sources = [
       "base/fakeframesource.cc",
@@ -551,6 +552,7 @@
       "../rtc_base:stringutils",
       "../test:field_trial",
       "//third_party/abseil-cpp/absl/memory",
+      "//third_party/abseil-cpp/absl/strings",
     ]
     sources = [
       "base/codec_unittest.cc",
diff --git a/modules/audio_coding/BUILD.gn b/modules/audio_coding/BUILD.gn
index 455dcd0..6a630e0 100644
--- a/modules/audio_coding/BUILD.gn
+++ b/modules/audio_coding/BUILD.gn
@@ -1437,6 +1437,7 @@
              ":neteq_tools",
              "../../rtc_base:rtc_base_approved",
              "../../test:test_support",
+             "//third_party/abseil-cpp/absl/strings",
              "//testing/gtest",
            ]
   }
@@ -2123,6 +2124,7 @@
       "codecs/opus/test:test_unittest",
       "//testing/gtest",
       "//third_party/abseil-cpp/absl/memory",
+      "//third_party/abseil-cpp/absl/types:optional",
     ]
 
     defines = audio_coding_defines
diff --git a/pc/BUILD.gn b/pc/BUILD.gn
index bdbcb38..7663f8b 100644
--- a/pc/BUILD.gn
+++ b/pc/BUILD.gn
@@ -509,6 +509,7 @@
       "../system_wrappers:metrics",
       "../test:fileutils",
       "//third_party/abseil-cpp/absl/memory",
+      "//third_party/abseil-cpp/absl/strings",
     ]
     if (is_android) {
       deps += [ ":android_black_magic" ]