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

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

Issue 2629923002: GN: Refactor modules_unittests to eliminate package boundary violations. (Closed)
Patch Set: Addressing comments. Created 3 years, 11 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
« no previous file with comments | « webrtc/modules/pacing/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("../../build/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « webrtc/modules/pacing/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698