Add mock_rtc_event_log.h.

Bug: webrtc:7642
Change-Id: Id3aa84d79e5e1a0520a968117cee550c9dd33c16
Reviewed-on: https://webrtc-review.googlesource.com/37040
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21475}
diff --git a/audio/BUILD.gn b/audio/BUILD.gn
index c6de08f..0fd0ac8 100644
--- a/audio/BUILD.gn
+++ b/audio/BUILD.gn
@@ -105,6 +105,7 @@
       "../call:mock_rtp_interfaces",
       "../call:rtp_interfaces",
       "../call:rtp_receiver",
+      "../logging:mocks",
       "../modules/audio_device:mock_audio_device",
       "../modules/audio_mixer:audio_mixer_impl",
       "../modules/audio_processing:audio_processing_statistics",
diff --git a/logging/BUILD.gn b/logging/BUILD.gn
index 5bf99da..7c74a43 100644
--- a/logging/BUILD.gn
+++ b/logging/BUILD.gn
@@ -235,6 +235,7 @@
       }
     }
   }
+
   if (rtc_include_tests) {
     rtc_executable("rtc_event_log2text") {
       testonly = true
@@ -283,3 +284,14 @@
     }
   }
 }
+
+rtc_source_set("mocks") {
+  testonly = true
+  sources = [
+    "rtc_event_log/mock/mock_rtc_event_log.h",
+  ]
+  deps = [
+    ":rtc_event_log_api",
+    "../../test:test_support",
+  ]
+}
diff --git a/modules/audio_coding/BUILD.gn b/modules/audio_coding/BUILD.gn
index 7012dff..53043d9 100644
--- a/modules/audio_coding/BUILD.gn
+++ b/modules/audio_coding/BUILD.gn
@@ -2150,6 +2150,7 @@
       "../../api/audio_codecs/opus:audio_encoder_opus",
       "../../common_audio",
       "../../common_audio:mock_common_audio",
+      "../../logging:mocks",
       "../../logging:rtc_event_log_api",
       "../../rtc_base:checks",
       "../../rtc_base:protobuf_utils",
diff --git a/modules/bitrate_controller/BUILD.gn b/modules/bitrate_controller/BUILD.gn
index 267211e..f50341d 100644
--- a/modules/bitrate_controller/BUILD.gn
+++ b/modules/bitrate_controller/BUILD.gn
@@ -64,6 +64,7 @@
     ]
     deps = [
       ":bitrate_controller",
+      "../../logging:mocks",
       "../../logging:rtc_event_log_api",
       "../../test:field_trial",
       "../../test:test_support",
diff --git a/modules/congestion_controller/BUILD.gn b/modules/congestion_controller/BUILD.gn
index df6599f..d3e2b0e 100644
--- a/modules/congestion_controller/BUILD.gn
+++ b/modules/congestion_controller/BUILD.gn
@@ -90,6 +90,7 @@
     deps = [
       ":congestion_controller",
       ":mock_congestion_controller",
+      "../../logging:mocks",
       "../../rtc_base:checks",
       "../../rtc_base:rtc_base",
       "../../rtc_base:rtc_base_approved",
diff --git a/modules/remote_bitrate_estimator/BUILD.gn b/modules/remote_bitrate_estimator/BUILD.gn
index a5dd014..ef7ee11 100644
--- a/modules/remote_bitrate_estimator/BUILD.gn
+++ b/modules/remote_bitrate_estimator/BUILD.gn
@@ -143,6 +143,7 @@
       "../..:webrtc_common",
       "../../:typedefs",
       "../../api:optional",
+      "../../logging:mocks",
       "../../rtc_base:checks",
       "../../rtc_base:gtest_prod",
       "../../rtc_base:rtc_base",
diff --git a/modules/rtp_rtcp/BUILD.gn b/modules/rtp_rtcp/BUILD.gn
index efa36a1..f07ff1ad 100644
--- a/modules/rtp_rtcp/BUILD.gn
+++ b/modules/rtp_rtcp/BUILD.gn
@@ -412,6 +412,7 @@
       "../../api:video_frame_api",
       "../../call:rtp_receiver",
       "../../common_video:common_video",
+      "../../logging:mocks",
       "../../logging:rtc_event_log_api",
       "../../rtc_base:checks",
       "../../rtc_base:rate_limiter",