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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 ] | 132 ] |
133 } | 133 } |
134 | 134 |
135 rtc_source_set("remote_bitrate_estimator_perf_tests") { | 135 rtc_source_set("remote_bitrate_estimator_perf_tests") { |
136 testonly = true | 136 testonly = true |
137 | 137 |
138 # Skip restricting visibility on mobile platforms since the tests on those | 138 # Skip restricting visibility on mobile platforms since the tests on those |
139 # gets additional generated targets which would require many lines here to | 139 # gets additional generated targets which would require many lines here to |
140 # cover (which would be confusing to read and hard to maintain). | 140 # cover (which would be confusing to read and hard to maintain). |
141 if (!is_android && !is_ios) { | 141 if (!is_android && !is_ios) { |
142 visibility = [ "//webrtc:webrtc_perf_tests" ] | 142 visibility = [ "../..:webrtc_perf_tests" ] |
143 } | 143 } |
144 sources = [ | 144 sources = [ |
145 "remote_bitrate_estimators_test.cc", | 145 "remote_bitrate_estimators_test.cc", |
146 ] | 146 ] |
147 deps = [ | 147 deps = [ |
148 ":bwe_simulator_lib", | 148 ":bwe_simulator_lib", |
149 ":remote_bitrate_estimator", | 149 ":remote_bitrate_estimator", |
150 "../../base:rtc_base_approved", | 150 "../../base:rtc_base_approved", |
151 "../../test:test_support", | 151 "../../test:test_support", |
152 ] | 152 ] |
153 if (!build_with_chromium && is_clang) { | 153 if (!build_with_chromium && is_clang) { |
154 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 154 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
155 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 155 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
156 } | 156 } |
157 } | 157 } |
158 | 158 |
159 rtc_source_set("remote_bitrate_estimator_unittests") { | 159 rtc_source_set("remote_bitrate_estimator_unittests") { |
160 testonly = true | 160 testonly = true |
161 | 161 |
162 # Skip restricting visibility on mobile platforms since the tests on those | 162 # Skip restricting visibility on mobile platforms since the tests on those |
163 # gets additional generated targets which would require many lines here to | 163 # gets additional generated targets which would require many lines here to |
164 # cover (which would be confusing to read and hard to maintain). | 164 # cover (which would be confusing to read and hard to maintain). |
165 if (!is_android && !is_ios) { | 165 if (!is_android && !is_ios) { |
166 visibility = [ "//webrtc/modules:modules_unittests" ] | 166 visibility = [ "..:modules_unittests" ] |
167 } | 167 } |
168 sources = [ | 168 sources = [ |
169 "aimd_rate_control_unittest.cc", | 169 "aimd_rate_control_unittest.cc", |
170 "inter_arrival_unittest.cc", | 170 "inter_arrival_unittest.cc", |
171 "overuse_detector_unittest.cc", | 171 "overuse_detector_unittest.cc", |
172 "remote_bitrate_estimator_abs_send_time_unittest.cc", | 172 "remote_bitrate_estimator_abs_send_time_unittest.cc", |
173 "remote_bitrate_estimator_single_stream_unittest.cc", | 173 "remote_bitrate_estimator_single_stream_unittest.cc", |
174 "remote_bitrate_estimator_unittest_helper.cc", | 174 "remote_bitrate_estimator_unittest_helper.cc", |
175 "remote_bitrate_estimator_unittest_helper.h", | 175 "remote_bitrate_estimator_unittest_helper.h", |
176 "remote_estimator_proxy_unittest.cc", | 176 "remote_estimator_proxy_unittest.cc", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 } | 240 } |
241 | 241 |
242 if (is_win) { | 242 if (is_win) { |
243 cflags = [ | 243 cflags = [ |
244 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 244 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
245 "/wd4373", # virtual function override. | 245 "/wd4373", # virtual function override. |
246 ] | 246 ] |
247 } | 247 } |
248 } | 248 } |
249 } | 249 } |
OLD | NEW |