Move webrtc::CreatePeerConnectionFactory definition next to decl.

This CL moves webrtc::CreatePeerConnectionFactory definitions out of
pc:create_pc_factory and merges it with its declaration in the api/
directory.

In order to avoid circular dependencies a new build target is created:
* api:create_peerconnection_factory

Bug: webrtc:9862
Change-Id: Ie215c94460cba026f5bf7d11c9a5aa03792064af
Reviewed-on: https://webrtc-review.googlesource.com/c/111186
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25744}
This commit is contained in:
Mirko Bonadei
2018-11-22 09:00:13 +01:00
committed by Commit Bot
parent d51b3553db
commit 2ff3f49700
21 changed files with 373 additions and 355 deletions

View File

@ -7,9 +7,9 @@
# be found in the AUTHORS file in the root of the source tree.
if (is_android) {
import("../../webrtc.gni")
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
import("../../webrtc.gni")
group("android") {
if (!build_with_chromium && is_android) {
@ -118,7 +118,7 @@ if (is_android) {
":media_jni",
":peerconnection_jni",
":video_jni",
"../../pc:create_pc_factory",
"../../api:create_peerconnection_factory",
]
}