OLD | NEW |
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("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 ":bwe_simulator_lib", | 134 ":bwe_simulator_lib", |
135 ":remote_bitrate_estimator", | 135 ":remote_bitrate_estimator", |
136 "../../base:rtc_base_approved", | 136 "../../base:rtc_base_approved", |
137 "../../test:fileutils", | 137 "../../test:fileutils", |
138 ] | 138 ] |
139 if (!build_with_chromium && is_clang) { | 139 if (!build_with_chromium && is_clang) { |
140 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 140 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
141 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 141 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
142 } | 142 } |
143 } | 143 } |
| 144 |
| 145 rtc_source_set("remote_bitrate_estimator_unittests") { |
| 146 testonly = true |
| 147 sources = [ |
| 148 "aimd_rate_control_unittest.cc", |
| 149 "include/mock/mock_remote_bitrate_estimator.h", |
| 150 "include/mock/mock_remote_bitrate_observer.h", |
| 151 "inter_arrival_unittest.cc", |
| 152 "overuse_detector_unittest.cc", |
| 153 "remote_bitrate_estimator_abs_send_time_unittest.cc", |
| 154 "remote_bitrate_estimator_single_stream_unittest.cc", |
| 155 "remote_bitrate_estimator_unittest_helper.cc", |
| 156 "remote_bitrate_estimator_unittest_helper.h", |
| 157 "remote_estimator_proxy_unittest.cc", |
| 158 "send_time_history_unittest.cc", |
| 159 "test/bwe_test_framework_unittest.cc", |
| 160 "test/bwe_unittest.cc", |
| 161 "test/estimators/nada_unittest.cc", |
| 162 "test/metric_recorder_unittest.cc", |
| 163 ] |
| 164 deps = [ |
| 165 ":bwe_simulator_lib", |
| 166 ":remote_bitrate_estimator", |
| 167 "../..:webrtc_common", |
| 168 "../../base:rtc_base", |
| 169 "../../base:rtc_base_approved", |
| 170 "../../system_wrappers:system_wrappers", |
| 171 "../../test:field_trial", |
| 172 "../../test:test_support", |
| 173 "../pacing:pacing", |
| 174 "../rtp_rtcp:rtp_rtcp", |
| 175 "//testing/gmock", |
| 176 ] |
| 177 if (is_win) { |
| 178 cflags = [ |
| 179 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 180 "/wd4373", # virtual function override. |
| 181 ] |
| 182 } |
| 183 if (!build_with_chromium && is_clang) { |
| 184 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 185 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 186 } |
| 187 } |
144 } | 188 } |
OLD | NEW |