Stop using public_deps in modules/rtp_rtcp.

TBR=phoglund@webrtc.org

Bug: webrtc:8603
Change-Id: I86830df23db3f33a1a26098e639596bd3b86485a
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/29780
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21108}
diff --git a/logging/BUILD.gn b/logging/BUILD.gn
index 7d464a6..7b31309 100644
--- a/logging/BUILD.gn
+++ b/logging/BUILD.gn
@@ -106,7 +106,7 @@
     "..:webrtc_common",
     "../modules/audio_coding:audio_network_adaptor",
     "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
-    "../modules/rtp_rtcp",
+    "../modules/rtp_rtcp:rtp_rtcp_format",
     "../rtc_base:protobuf_utils",
     "../rtc_base:rtc_base_approved",
     "../rtc_base:rtc_task_queue",
@@ -146,7 +146,7 @@
       "..:webrtc_common",
       "../modules/audio_coding:audio_network_adaptor",
       "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
-      "../modules/rtp_rtcp:rtp_rtcp",
+      "../modules/rtp_rtcp",
       "../system_wrappers",
     ]
 
@@ -156,6 +156,7 @@
     }
     deps = [
       "../call:video_stream_api",
+      "../modules/rtp_rtcp:rtp_rtcp_format",
       "../rtc_base:protobuf_utils",
       "../rtc_base:rtc_base_approved",
     ]
@@ -184,7 +185,7 @@
         "../call:call_interfaces",
         "../modules/audio_coding:audio_network_adaptor",
         "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
-        "../modules/rtp_rtcp",
+        "../modules/rtp_rtcp:rtp_rtcp_format",
         "../rtc_base:rtc_base_approved",
         "../rtc_base:rtc_base_tests_utils",
         "../system_wrappers:metrics_default",
@@ -206,7 +207,7 @@
         ":rtc_event_log_api",
         ":rtc_event_log_impl",
         ":rtc_event_log_parser",
-        "../modules/rtp_rtcp:rtp_rtcp",
+        "../modules/rtp_rtcp:rtp_rtcp_format",
         "../rtc_base:rtc_base_approved",
         "../system_wrappers:field_trial_default",
         "../system_wrappers:metrics_default",
@@ -229,12 +230,13 @@
         ":rtc_event_log_impl",
         ":rtc_event_log_parser",
         "../call:video_stream_api",
+        "../modules/rtp_rtcp:rtp_rtcp_format",
         "../rtc_base:rtc_base_approved",
 
         # TODO(kwiberg): Remove this dependency.
         "../api/audio_codecs:audio_codecs_api",
         "../modules/audio_coding:audio_network_adaptor_config",
-        "../modules/rtp_rtcp:rtp_rtcp",
+        "../modules/rtp_rtcp",
       ]
       if (!build_with_chromium && is_clang) {
         # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).