diff --git a/audio/BUILD.gn b/audio/BUILD.gn index afebe93d1b..c6de08ffb4 100644 --- a/audio/BUILD.gn +++ b/audio/BUILD.gn @@ -109,6 +109,7 @@ if (rtc_include_tests) { "../modules/audio_mixer:audio_mixer_impl", "../modules/audio_processing:audio_processing_statistics", "../modules/audio_processing:mocks", + "../modules/bitrate_controller:mocks", "../modules/congestion_controller:congestion_controller", "../modules/congestion_controller:mock_congestion_controller", "../modules/pacing:mock_paced_sender", diff --git a/modules/bitrate_controller/BUILD.gn b/modules/bitrate_controller/BUILD.gn index 1439f54851..267211efa2 100644 --- a/modules/bitrate_controller/BUILD.gn +++ b/modules/bitrate_controller/BUILD.gn @@ -44,6 +44,17 @@ rtc_static_library("bitrate_controller") { } if (rtc_include_tests) { + rtc_source_set("mocks") { + testonly = true + sources = [ + "include/mock/mock_bitrate_controller.h", + ] + deps = [ + ":bitrate_controller", + "../../test:test_support", + ] + } + rtc_source_set("bitrate_controller_unittests") { testonly = true diff --git a/modules/congestion_controller/BUILD.gn b/modules/congestion_controller/BUILD.gn index c014934c0c..df6599f3c9 100644 --- a/modules/congestion_controller/BUILD.gn +++ b/modules/congestion_controller/BUILD.gn @@ -98,6 +98,7 @@ if (rtc_include_tests) { "../../test:field_trial", "../../test:test_support", "../bitrate_controller:bitrate_controller", + "../bitrate_controller:mocks", "../pacing:mock_paced_sender", "../pacing:pacing", "../remote_bitrate_estimator:remote_bitrate_estimator",