Add missing dependencies to the static library.
These missing deps were causing linker errors as reported on
https://groups.google.com/forum/#!topic/discuss-webrtc/wYrjr-LAkmg.
Bug: None
Change-Id: I2b1e80c188bcf45f299d14fd19c5775f23dc8463
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148073
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29424}
diff --git a/BUILD.gn b/BUILD.gn
index 32fcfa2..31cf726 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -399,11 +399,14 @@
deps = [
":webrtc_common",
+ "api:create_peerconnection_factory",
"api:libjingle_peerconnection_api",
"api:rtc_error",
"api:transport_api",
"api/crypto",
"api/rtc_event_log:rtc_event_log_factory",
+ "api/task_queue",
+ "api/task_queue:default_task_queue_factory",
"audio",
"call",
"common_audio",
diff --git a/api/BUILD.gn b/api/BUILD.gn
index 27fb45e..58fd04e 100644
--- a/api/BUILD.gn
+++ b/api/BUILD.gn
@@ -36,7 +36,7 @@
}
if (!build_with_chromium) {
- rtc_static_library("create_peerconnection_factory") {
+ rtc_source_set("create_peerconnection_factory") {
visibility = [ "*" ]
allow_poison = [ "default_task_queue" ]
sources = [