diff --git a/webrtc/call/BUILD.gn b/webrtc/call/BUILD.gn index 263f16dd35..19bc2181cd 100644 --- a/webrtc/call/BUILD.gn +++ b/webrtc/call/BUILD.gn @@ -182,6 +182,7 @@ if (rtc_include_tests) { "../modules/bitrate_controller", "../modules/congestion_controller:mock_congestion_controller", "../modules/pacing", + "../modules/pacing:mock_paced_sender", "../modules/rtp_rtcp", "../modules/rtp_rtcp:mock_rtp_rtcp", "../modules/utility:mock_process_thread", diff --git a/webrtc/modules/bitrate_controller/BUILD.gn b/webrtc/modules/bitrate_controller/BUILD.gn index 7c2063e43b..4ebf04c8f6 100644 --- a/webrtc/modules/bitrate_controller/BUILD.gn +++ b/webrtc/modules/bitrate_controller/BUILD.gn @@ -61,6 +61,7 @@ if (rtc_include_tests) { ":bitrate_controller", "../../test:field_trial", "../../test:test_support", + "../pacing:mock_paced_sender", "../remote_bitrate_estimator:remote_bitrate_estimator", "//testing/gmock", ] diff --git a/webrtc/modules/congestion_controller/BUILD.gn b/webrtc/modules/congestion_controller/BUILD.gn index 51abcd653f..8c3f35be14 100644 --- a/webrtc/modules/congestion_controller/BUILD.gn +++ b/webrtc/modules/congestion_controller/BUILD.gn @@ -97,6 +97,7 @@ if (rtc_include_tests) { "../../test:field_trial", "../../test:test_support", "../bitrate_controller:bitrate_controller", + "../pacing:mock_paced_sender", "../pacing:pacing", "../remote_bitrate_estimator:remote_bitrate_estimator", "../rtp_rtcp:rtp_rtcp", diff --git a/webrtc/modules/pacing/BUILD.gn b/webrtc/modules/pacing/BUILD.gn index bc9d14423c..7884c01e55 100644 --- a/webrtc/modules/pacing/BUILD.gn +++ b/webrtc/modules/pacing/BUILD.gn @@ -75,4 +75,16 @@ if (rtc_include_tests) { suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] } } + + rtc_source_set("mock_paced_sender") { + testonly = true + sources = [ + "mock/mock_paced_sender.h", + ] + deps = [ + ":pacing", + "../../system_wrappers", + "../../test:test_support", + ] + } }