Commit 1ab2b596 authored by Mirko Bonadei's avatar Mirko Bonadei Committed by Commit Bot

Explicitly depending on WebRTC targets.

WebRTC is stopping to use `public_deps` in its targets.
In https://webrtc-review.googlesource.com/c/src/+/29864 the removal
of the public dependency from //third_party/webrtc/pc:peerconnection
on //third_party/api:libjingle_peerconnection_api causes some errors
in the 'gn analyze' step of Chromium bots.

This CL is a forward compatible fix to allow WebRTC to land its CL.

Bug: webrtc:8603
Change-Id: Iab1b80a90e0fc6557e079274b3d3871fea01d811
Reviewed-on: https://chromium-review.googlesource.com/810968Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522379}
parent fb396f70
......@@ -909,9 +909,12 @@ target(link_target_type, "renderer") {
"//jingle:jingle_glue",
"//third_party/libvpx",
"//third_party/opus",
"//third_party/webrtc/api:libjingle_api_deprecated_headers",
"//third_party/webrtc/api:libjingle_logging_api",
"//third_party/webrtc/api:libjingle_peerconnection",
"//third_party/webrtc/api:libjingle_peerconnection_api",
"//third_party/webrtc/api:optional",
"//third_party/webrtc/api:peerconnection_and_implicit_call_api",
"//third_party/webrtc/api:rtc_stats_api",
"//third_party/webrtc/api:video_frame_api",
"//third_party/webrtc/api:video_frame_api_i420",
......@@ -938,6 +941,7 @@ target(link_target_type, "renderer") {
"//third_party/webrtc/p2p:libstunprober",
"//third_party/webrtc/p2p:rtc_p2p",
"//third_party/webrtc/pc:rtc_pc",
"//third_party/webrtc/pc:rtc_pc_base",
"//third_party/webrtc/rtc_base:rtc_base",
"//third_party/webrtc/rtc_base:rtc_task_queue",
"//third_party/webrtc/stats",
......
......@@ -395,6 +395,8 @@ static_library("test_support") {
deps += [
"//third_party/webrtc/api:libjingle_peerconnection",
"//third_party/webrtc/api:libjingle_peerconnection_api",
"//third_party/webrtc/api:peerconnection_and_implicit_call_api",
"//third_party/webrtc/api:rtc_stats_api",
"//third_party/webrtc/media:rtc_media_base",
"//third_party/webrtc/modules/video_capture",
......@@ -1845,6 +1847,8 @@ test("content_unittests") {
"//third_party/libyuv",
"//third_party/opus",
"//third_party/webrtc/api:libjingle_peerconnection",
"//third_party/webrtc/api:libjingle_peerconnection_api",
"//third_party/webrtc/api:peerconnection_and_implicit_call_api",
"//third_party/webrtc/api:rtc_stats_api",
"//third_party/webrtc/api:video_frame_api",
"//third_party/webrtc/api:video_frame_api_i420",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment