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

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

Issue 2964213002: Revert of Test and fix for huge bwe drop after alr state. (Closed)
Patch Set: Created 3 years, 5 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 "acknowledged_bitrate_estimator.cc", 13 "acknowledge_bitrate_estimator.cc",
14 "acknowledged_bitrate_estimator.h", 14 "acknowledge_bitrate_estimator.h",
15 "bitrate_estimator.cc",
16 "bitrate_estimator.h",
17 "congestion_controller.cc", 15 "congestion_controller.cc",
18 "delay_based_bwe.cc", 16 "delay_based_bwe.cc",
19 "delay_based_bwe.h", 17 "delay_based_bwe.h",
20 "include/congestion_controller.h", 18 "include/congestion_controller.h",
21 "include/receive_side_congestion_controller.h", 19 "include/receive_side_congestion_controller.h",
22 "include/send_side_congestion_controller.h", 20 "include/send_side_congestion_controller.h",
23 "median_slope_estimator.cc", 21 "median_slope_estimator.cc",
24 "median_slope_estimator.h", 22 "median_slope_estimator.h",
25 "probe_bitrate_estimator.cc", 23 "probe_bitrate_estimator.cc",
26 "probe_bitrate_estimator.h", 24 "probe_bitrate_estimator.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 rtc_source_set("congestion_controller_unittests") { 66 rtc_source_set("congestion_controller_unittests") {
69 testonly = true 67 testonly = true
70 68
71 # Skip restricting visibility on mobile platforms since the tests on those 69 # Skip restricting visibility on mobile platforms since the tests on those
72 # gets additional generated targets which would require many lines here to 70 # gets additional generated targets which would require many lines here to
73 # cover (which would be confusing to read and hard to maintain). 71 # cover (which would be confusing to read and hard to maintain).
74 if (!is_android && !is_ios) { 72 if (!is_android && !is_ios) {
75 visibility = [ "//webrtc/modules:modules_unittests" ] 73 visibility = [ "//webrtc/modules:modules_unittests" ]
76 } 74 }
77 sources = [ 75 sources = [
78 "acknowledged_bitrate_estimator_unittest.cc",
79 "congestion_controller_unittest.cc", 76 "congestion_controller_unittest.cc",
80 "congestion_controller_unittests_helper.cc", 77 "congestion_controller_unittests_helper.cc",
81 "congestion_controller_unittests_helper.h", 78 "congestion_controller_unittests_helper.h",
82 "delay_based_bwe_unittest.cc", 79 "delay_based_bwe_unittest.cc",
83 "delay_based_bwe_unittest_helper.cc", 80 "delay_based_bwe_unittest_helper.cc",
84 "delay_based_bwe_unittest_helper.h", 81 "delay_based_bwe_unittest_helper.h",
85 "median_slope_estimator_unittest.cc", 82 "median_slope_estimator_unittest.cc",
86 "probe_bitrate_estimator_unittest.cc", 83 "probe_bitrate_estimator_unittest.cc",
87 "probe_controller_unittest.cc", 84 "probe_controller_unittest.cc",
88 "transport_feedback_adapter_unittest.cc", 85 "transport_feedback_adapter_unittest.cc",
89 "trendline_estimator_unittest.cc", 86 "trendline_estimator_unittest.cc",
90 ] 87 ]
91 deps = [ 88 deps = [
92 ":congestion_controller", 89 ":congestion_controller",
93 ":mock_congestion_controller", 90 ":mock_congestion_controller",
94 "../../base:rtc_base", 91 "../../base:rtc_base",
95 "../../base:rtc_base_approved", 92 "../../base:rtc_base_approved",
96 "../../base:rtc_base_tests_utils",
97 "../../system_wrappers:system_wrappers", 93 "../../system_wrappers:system_wrappers",
98 "../../test:field_trial", 94 "../../test:field_trial",
99 "../../test:test_support", 95 "../../test:test_support",
100 "../bitrate_controller:bitrate_controller", 96 "../bitrate_controller:bitrate_controller",
101 "../pacing:pacing", 97 "../pacing:pacing",
102 "../remote_bitrate_estimator:mock_remote_bitrate_observer", 98 "../remote_bitrate_estimator:mock_remote_bitrate_observer",
103 "../remote_bitrate_estimator:remote_bitrate_estimator", 99 "../remote_bitrate_estimator:remote_bitrate_estimator",
104 "../rtp_rtcp:rtp_rtcp", 100 "../rtp_rtcp:rtp_rtcp",
105 "//testing/gmock", 101 "//testing/gmock",
106 ] 102 ]
107 if (!build_with_chromium && is_clang) { 103 if (!build_with_chromium && is_clang) {
108 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 104 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
109 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 105 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
110 } 106 }
111 } 107 }
112 108
113 rtc_source_set("mock_congestion_controller") { 109 rtc_source_set("mock_congestion_controller") {
114 testonly = true 110 testonly = true
115 sources = [ 111 sources = [
116 "include/mock/mock_congestion_observer.h", 112 "include/mock/mock_congestion_observer.h",
117 "include/mock/mock_send_side_congestion_controller.h", 113 "include/mock/mock_send_side_congestion_controller.h",
118 ] 114 ]
119 deps = [ 115 deps = [
120 ":congestion_controller", 116 ":congestion_controller",
121 "../../test:test_support", 117 "../../test:test_support",
122 ] 118 ]
123 } 119 }
124 } 120 }
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