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

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

Issue 2976293002: Remove remains of webrtc/base (Closed)
Patch Set: Add README.md 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
« 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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] 44 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
45 } 45 }
46 46
47 if (!build_with_chromium && is_clang) { 47 if (!build_with_chromium && is_clang) {
48 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 48 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
49 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 49 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
50 } 50 }
51 51
52 deps = [ 52 deps = [
53 "../..:webrtc_common", 53 "../..:webrtc_common",
54 "../../base:rtc_base", 54 "../../rtc_base:rtc_base",
55 "../../base:rtc_base_approved", 55 "../../rtc_base:rtc_base_approved",
56 "../../system_wrappers", 56 "../../system_wrappers",
57 ] 57 ]
58 } 58 }
59 59
60 if (rtc_include_tests) { 60 if (rtc_include_tests) {
61 rtc_static_library("bwe_simulator_lib") { 61 rtc_static_library("bwe_simulator_lib") {
62 testonly = true 62 testonly = true
63 sources = [ 63 sources = [
64 "test/bwe.cc", 64 "test/bwe.cc",
65 "test/bwe.h", 65 "test/bwe.h",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 cflags = [ 111 cflags = [
112 # TODO(kjellander): Bug 261: fix this warning. 112 # TODO(kjellander): Bug 261: fix this warning.
113 "/wd4373", # virtual function override. 113 "/wd4373", # virtual function override.
114 ] 114 ]
115 } 115 }
116 116
117 deps = [ 117 deps = [
118 ":remote_bitrate_estimator", 118 ":remote_bitrate_estimator",
119 "..:module_api", 119 "..:module_api",
120 "../..:webrtc_common", 120 "../..:webrtc_common",
121 "../../base:gtest_prod", 121 "../../rtc_base:gtest_prod",
122 "../../base:rtc_base", 122 "../../rtc_base:rtc_base",
123 "../../base:rtc_base_approved", 123 "../../rtc_base:rtc_base_approved",
124 "../../system_wrappers", 124 "../../system_wrappers",
125 "../../test:test_support", 125 "../../test:test_support",
126 "../../voice_engine", 126 "../../voice_engine",
127 "../bitrate_controller", 127 "../bitrate_controller",
128 "../congestion_controller", 128 "../congestion_controller",
129 "../pacing", 129 "../pacing",
130 "../rtp_rtcp", 130 "../rtp_rtcp",
131 "//testing/gmock", 131 "//testing/gmock",
132 "//testing/gtest", 132 "//testing/gtest",
133 ] 133 ]
134 } 134 }
135 135
136 rtc_source_set("remote_bitrate_estimator_perf_tests") { 136 rtc_source_set("remote_bitrate_estimator_perf_tests") {
137 testonly = true 137 testonly = true
138 138
139 # Skip restricting visibility on mobile platforms since the tests on those 139 # Skip restricting visibility on mobile platforms since the tests on those
140 # gets additional generated targets which would require many lines here to 140 # gets additional generated targets which would require many lines here to
141 # cover (which would be confusing to read and hard to maintain). 141 # cover (which would be confusing to read and hard to maintain).
142 if (!is_android && !is_ios) { 142 if (!is_android && !is_ios) {
143 visibility = [ "../..:webrtc_perf_tests" ] 143 visibility = [ "../..:webrtc_perf_tests" ]
144 } 144 }
145 sources = [ 145 sources = [
146 "remote_bitrate_estimators_test.cc", 146 "remote_bitrate_estimators_test.cc",
147 ] 147 ]
148 deps = [ 148 deps = [
149 ":bwe_simulator_lib", 149 ":bwe_simulator_lib",
150 ":remote_bitrate_estimator", 150 ":remote_bitrate_estimator",
151 "../../base:rtc_base_approved", 151 "../../rtc_base:rtc_base_approved",
152 "../../test:test_support", 152 "../../test:test_support",
153 ] 153 ]
154 if (!build_with_chromium && is_clang) { 154 if (!build_with_chromium && is_clang) {
155 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 155 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
156 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 156 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
157 } 157 }
158 } 158 }
159 159
160 rtc_source_set("remote_bitrate_estimator_unittests") { 160 rtc_source_set("remote_bitrate_estimator_unittests") {
161 testonly = true 161 testonly = true
(...skipping 20 matching lines...) Expand all
182 "test/estimators/max_bandwidth_filter_unittest.cc", 182 "test/estimators/max_bandwidth_filter_unittest.cc",
183 "test/estimators/min_rtt_filter_unittest.cc", 183 "test/estimators/min_rtt_filter_unittest.cc",
184 "test/estimators/nada_unittest.cc", 184 "test/estimators/nada_unittest.cc",
185 "test/metric_recorder_unittest.cc", 185 "test/metric_recorder_unittest.cc",
186 ] 186 ]
187 deps = [ 187 deps = [
188 ":bwe_simulator_lib", 188 ":bwe_simulator_lib",
189 ":mock_remote_bitrate_observer", 189 ":mock_remote_bitrate_observer",
190 ":remote_bitrate_estimator", 190 ":remote_bitrate_estimator",
191 "../..:webrtc_common", 191 "../..:webrtc_common",
192 "../../base:rtc_base", 192 "../../rtc_base:rtc_base",
193 "../../base:rtc_base_approved", 193 "../../rtc_base:rtc_base_approved",
194 "../../system_wrappers:system_wrappers", 194 "../../system_wrappers:system_wrappers",
195 "../../test:field_trial", 195 "../../test:field_trial",
196 "../../test:test_support", 196 "../../test:test_support",
197 "../pacing:pacing", 197 "../pacing:pacing",
198 "../rtp_rtcp:rtp_rtcp", 198 "../rtp_rtcp:rtp_rtcp",
199 "//testing/gmock", 199 "//testing/gmock",
200 ] 200 ]
201 if (is_win) { 201 if (is_win) {
202 cflags = [ 202 cflags = [
203 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 203 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
(...skipping 20 matching lines...) Expand all
224 rtc_test("bwe_simulations_tests") { 224 rtc_test("bwe_simulations_tests") {
225 testonly = true 225 testonly = true
226 226
227 sources = [ 227 sources = [
228 "bwe_simulations.cc", 228 "bwe_simulations.cc",
229 ] 229 ]
230 deps = [ 230 deps = [
231 ":bwe_simulator_lib", 231 ":bwe_simulator_lib",
232 ":remote_bitrate_estimator", 232 ":remote_bitrate_estimator",
233 "../..:webrtc_common", 233 "../..:webrtc_common",
234 "../../base:rtc_base_approved", 234 "../../rtc_base:rtc_base_approved",
235 "../../test:test_main", 235 "../../test:test_main",
236 "//testing/gmock", 236 "//testing/gmock",
237 "//testing/gtest", 237 "//testing/gtest",
238 "//third_party/gflags", 238 "//third_party/gflags",
239 ] 239 ]
240 240
241 if (!build_with_chromium && is_clang) { 241 if (!build_with_chromium && is_clang) {
242 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 242 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
243 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 243 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
244 } 244 }
245 245
246 if (is_win) { 246 if (is_win) {
247 cflags = [ 247 cflags = [
248 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 248 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
249 "/wd4373", # virtual function override. 249 "/wd4373", # virtual function override.
250 ] 250 ]
251 } 251 }
252 } 252 }
253 } 253 }
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