From ba700de81f6460c40d330792a5c967d2b1afcc0a Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Thu, 10 Oct 2019 09:23:22 +0200 Subject: [PATCH] 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 Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#29424} --- BUILD.gn | 3 +++ api/BUILD.gn | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 32fcfa29f1..31cf726ee4 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -399,11 +399,14 @@ if (!build_with_chromium) { 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 27fb45eef9..58fd04eef2 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -36,7 +36,7 @@ rtc_source_set("callfactory_api") { } if (!build_with_chromium) { - rtc_static_library("create_peerconnection_factory") { + rtc_source_set("create_peerconnection_factory") { visibility = [ "*" ] allow_poison = [ "default_task_queue" ] sources = [