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

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

Issue 2834663003: Allow mocking SendSideCongestionController for Call tests. (Closed)
Patch Set: rebase Created 3 years, 7 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
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "delay_based_bwe_unittest_helper.cc", 78 "delay_based_bwe_unittest_helper.cc",
79 "delay_based_bwe_unittest_helper.h", 79 "delay_based_bwe_unittest_helper.h",
80 "median_slope_estimator_unittest.cc", 80 "median_slope_estimator_unittest.cc",
81 "probe_bitrate_estimator_unittest.cc", 81 "probe_bitrate_estimator_unittest.cc",
82 "probe_controller_unittest.cc", 82 "probe_controller_unittest.cc",
83 "transport_feedback_adapter_unittest.cc", 83 "transport_feedback_adapter_unittest.cc",
84 "trendline_estimator_unittest.cc", 84 "trendline_estimator_unittest.cc",
85 ] 85 ]
86 deps = [ 86 deps = [
87 ":congestion_controller", 87 ":congestion_controller",
88 ":mock_congestion_controller",
88 "../../base:rtc_base_approved", 89 "../../base:rtc_base_approved",
89 "../../system_wrappers:system_wrappers", 90 "../../system_wrappers:system_wrappers",
90 "../../test:field_trial", 91 "../../test:field_trial",
91 "../../test:test_support", 92 "../../test:test_support",
92 "../bitrate_controller:bitrate_controller", 93 "../bitrate_controller:bitrate_controller",
93 "../pacing:pacing", 94 "../pacing:pacing",
94 "../remote_bitrate_estimator:mock_remote_bitrate_observer", 95 "../remote_bitrate_estimator:mock_remote_bitrate_observer",
95 "../remote_bitrate_estimator:remote_bitrate_estimator", 96 "../remote_bitrate_estimator:remote_bitrate_estimator",
96 "../rtp_rtcp:rtp_rtcp", 97 "../rtp_rtcp:rtp_rtcp",
97 "//testing/gmock", 98 "//testing/gmock",
98 ] 99 ]
99 if (!build_with_chromium && is_clang) { 100 if (!build_with_chromium && is_clang) {
100 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 101 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
101 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 102 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
102 } 103 }
103 } 104 }
105
106 rtc_source_set("mock_congestion_controller") {
107 testonly = true
108 sources = [
109 "include/mock/mock_congestion_observer.h",
110 "include/mock/mock_send_side_congestion_controller.h",
111 ]
112 deps = [
113 ":congestion_controller",
114 "../../test:test_support",
115 ]
116 }
104 } 117 }
OLDNEW
« no previous file with comments | « webrtc/call/rtp_transport_controller_send.cc ('k') | webrtc/modules/congestion_controller/include/congestion_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698