Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: webrtc/modules/congestion_controller/BUILD.gn

Issue 2931873002: Test and fix for huge bwe drop after alr state. (Closed)
Patch Set: fix_for_unittest Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
11 rtc_static_library("congestion_controller") { 11 rtc_static_library("congestion_controller") {
12 sources = [ 12 sources = [
13 "acknowledge_bitrate_estimator.cc", 13 "acknowledged_bitrate_estimator.cc",
14 "acknowledge_bitrate_estimator.h", 14 "acknowledged_bitrate_estimator.h",
15 "bitrate_estimator.cc",
16 "bitrate_estimator.h",
15 "congestion_controller.cc", 17 "congestion_controller.cc",
16 "delay_based_bwe.cc", 18 "delay_based_bwe.cc",
17 "delay_based_bwe.h", 19 "delay_based_bwe.h",
18 "include/congestion_controller.h", 20 "include/congestion_controller.h",
19 "include/receive_side_congestion_controller.h", 21 "include/receive_side_congestion_controller.h",
20 "include/send_side_congestion_controller.h", 22 "include/send_side_congestion_controller.h",
21 "median_slope_estimator.cc", 23 "median_slope_estimator.cc",
22 "median_slope_estimator.h", 24 "median_slope_estimator.h",
23 "probe_bitrate_estimator.cc", 25 "probe_bitrate_estimator.cc",
24 "probe_bitrate_estimator.h", 26 "probe_bitrate_estimator.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 rtc_source_set("congestion_controller_unittests") { 68 rtc_source_set("congestion_controller_unittests") {
67 testonly = true 69 testonly = true
68 70
69 # Skip restricting visibility on mobile platforms since the tests on those 71 # Skip restricting visibility on mobile platforms since the tests on those
70 # gets additional generated targets which would require many lines here to 72 # gets additional generated targets which would require many lines here to
71 # cover (which would be confusing to read and hard to maintain). 73 # cover (which would be confusing to read and hard to maintain).
72 if (!is_android && !is_ios) { 74 if (!is_android && !is_ios) {
73 visibility = [ "//webrtc/modules:modules_unittests" ] 75 visibility = [ "//webrtc/modules:modules_unittests" ]
74 } 76 }
75 sources = [ 77 sources = [
78 "acknowledged_bitrate_estimator_unittest.cc",
76 "congestion_controller_unittest.cc", 79 "congestion_controller_unittest.cc",
77 "congestion_controller_unittests_helper.cc", 80 "congestion_controller_unittests_helper.cc",
78 "congestion_controller_unittests_helper.h", 81 "congestion_controller_unittests_helper.h",
79 "delay_based_bwe_unittest.cc", 82 "delay_based_bwe_unittest.cc",
80 "delay_based_bwe_unittest_helper.cc", 83 "delay_based_bwe_unittest_helper.cc",
81 "delay_based_bwe_unittest_helper.h", 84 "delay_based_bwe_unittest_helper.h",
82 "median_slope_estimator_unittest.cc", 85 "median_slope_estimator_unittest.cc",
83 "probe_bitrate_estimator_unittest.cc", 86 "probe_bitrate_estimator_unittest.cc",
84 "probe_controller_unittest.cc", 87 "probe_controller_unittest.cc",
85 "transport_feedback_adapter_unittest.cc", 88 "transport_feedback_adapter_unittest.cc",
86 "trendline_estimator_unittest.cc", 89 "trendline_estimator_unittest.cc",
87 ] 90 ]
88 deps = [ 91 deps = [
89 ":congestion_controller", 92 ":congestion_controller",
90 ":mock_congestion_controller", 93 ":mock_congestion_controller",
91 "../../base:rtc_base", 94 "../../base:rtc_base",
92 "../../base:rtc_base_approved", 95 "../../base:rtc_base_approved",
96 "../../base:rtc_base_tests_utils",
93 "../../system_wrappers:system_wrappers", 97 "../../system_wrappers:system_wrappers",
94 "../../test:field_trial", 98 "../../test:field_trial",
95 "../../test:test_support", 99 "../../test:test_support",
96 "../bitrate_controller:bitrate_controller", 100 "../bitrate_controller:bitrate_controller",
97 "../pacing:pacing", 101 "../pacing:pacing",
98 "../remote_bitrate_estimator:mock_remote_bitrate_observer", 102 "../remote_bitrate_estimator:mock_remote_bitrate_observer",
99 "../remote_bitrate_estimator:remote_bitrate_estimator", 103 "../remote_bitrate_estimator:remote_bitrate_estimator",
100 "../rtp_rtcp:rtp_rtcp", 104 "../rtp_rtcp:rtp_rtcp",
101 "//testing/gmock", 105 "//testing/gmock",
102 ] 106 ]
103 if (!build_with_chromium && is_clang) { 107 if (!build_with_chromium && is_clang) {
104 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 108 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
105 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 109 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
106 } 110 }
107 } 111 }
108 112
109 rtc_source_set("mock_congestion_controller") { 113 rtc_source_set("mock_congestion_controller") {
110 testonly = true 114 testonly = true
111 sources = [ 115 sources = [
112 "include/mock/mock_congestion_observer.h", 116 "include/mock/mock_congestion_observer.h",
113 "include/mock/mock_send_side_congestion_controller.h", 117 "include/mock/mock_send_side_congestion_controller.h",
114 ] 118 ]
115 deps = [ 119 deps = [
116 ":congestion_controller", 120 ":congestion_controller",
117 "../../test:test_support", 121 "../../test:test_support",
118 ] 122 ]
119 } 123 }
120 } 124 }
OLDNEW
« no previous file with comments | « webrtc/audio/test/audio_bwe_integration_test.cc ('k') | webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698