Refactor bitrate_controller, remote_bitrate_estimator and congestion_contoller for gn check.
These targets are now checked: - "//webrtc/modules/bitrate_controller/*" - "//webrtc/modules/congestion_controller/*" - "//webrtc/modules/remote_bitrate_estimator/*" BUG=webrtc:6828 NOTRY=True Review-Url: https://codereview.webrtc.org/2602563003 Cr-Commit-Position: refs/heads/master@{#15818}
This commit is contained in:
@ -9,6 +9,11 @@
|
||||
import("../../build/webrtc.gni")
|
||||
|
||||
rtc_static_library("remote_bitrate_estimator") {
|
||||
# TODO(mbonadei): Remove (bugs.webrtc.org/6828)
|
||||
# Errors on cyclic dependency with:
|
||||
# rtp_rtcp:rtp_rtcp if enabled.
|
||||
check_includes = false
|
||||
|
||||
sources = [
|
||||
"aimd_rate_control.cc",
|
||||
"aimd_rate_control.h",
|
||||
@ -46,6 +51,7 @@ rtc_static_library("remote_bitrate_estimator") {
|
||||
|
||||
deps = [
|
||||
"../..:webrtc_common",
|
||||
"../../base:rtc_base",
|
||||
"../../base:rtc_base_approved",
|
||||
"../../system_wrappers",
|
||||
]
|
||||
@ -102,9 +108,18 @@ if (rtc_include_tests) {
|
||||
}
|
||||
|
||||
deps = [
|
||||
":remote_bitrate_estimator",
|
||||
"../..:webrtc_common",
|
||||
"../../base:gtest_prod",
|
||||
"../../base:rtc_base",
|
||||
"../../base:rtc_base_approved",
|
||||
"../../system_wrappers",
|
||||
"../../test:test_support",
|
||||
"../../voice_engine",
|
||||
"../bitrate_controller",
|
||||
"../congestion_controller",
|
||||
"../pacing",
|
||||
"../rtp_rtcp",
|
||||
"//testing/gmock",
|
||||
"//testing/gtest",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user