Reintroduce missing dependencies in libwebrtc.a library.

Some targets used to be included transitively via ortc.
Since ortc module has been removed (Bug: webrtc:9824),
this CL explicitly add them in main //:webrtc target.

As a result, the following functions are exposed again:
  CreateBuiltinVideoDecoderFactory()
  CreateBuiltinVideoEncoderFactory()
  CreatePeerConnectionFactory()
  [...]

Bug: webrtc:9824
Bug: webrtc:9973
Change-Id: Iebfae582f8887bf76338c73fc85c4608e96c3f0d
Reviewed-on: https://webrtc-review.googlesource.com/c/110248
Commit-Queue: Yves Gerey <yvesg@google.com>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25576}
diff --git a/BUILD.gn b/BUILD.gn
index 3a89edc..c67602c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -379,28 +379,33 @@
 
     deps = [
       ":webrtc_common",
+      "api:libjingle_peerconnection_api",
       "api:transport_api",
       "audio",
       "call",
       "common_audio",
       "common_video",
+      "logging:rtc_event_log_api",
+      "logging:rtc_event_log_impl_base",
       "media",
       "modules",
       "modules/video_capture:video_capture_internal_impl",
+      "p2p:rtc_p2p",
+      "pc:libjingle_peerconnection",
+      "pc:peerconnection",
+      "pc:rtc_pc",
+      "pc:rtc_pc_base",
       "rtc_base",
       "sdk",
       "video",
     ]
 
-    # Additional factory functions to be exposed.
-    # Rational: These factories are small enough (89 KiB / 32+ MiB)
-    #           to be unconditionaly included for user convenience.
-    # That begin said:
-    # TODO(yvesg) Consider making all non-core APIs optional, so that users
-    #             can build a customized library tailored to their needs.
+    # Include audio and video codecs by default.
     deps += [
       "api/audio_codecs:builtin_audio_decoder_factory",
       "api/audio_codecs:builtin_audio_encoder_factory",
+      "api/video_codecs:builtin_video_decoder_factory",
+      "api/video_codecs:builtin_video_encoder_factory",
     ]
 
     if (build_with_mozilla) {