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

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

Issue 2976633002: Revert of Remove remains of webrtc/base (patchset #7 id:120001 of https://codereview.webrtc.org/297… (Closed)
Patch Set: 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 "../../rtc_base:rtc_base", 54 "../../base:rtc_base",
55 "../../rtc_base:rtc_base_approved", 55 "../../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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 cflags = [ 110 cflags = [
111 # TODO(kjellander): Bug 261: fix this warning. 111 # TODO(kjellander): Bug 261: fix this warning.
112 "/wd4373", # virtual function override. 112 "/wd4373", # virtual function override.
113 ] 113 ]
114 } 114 }
115 115
116 deps = [ 116 deps = [
117 ":remote_bitrate_estimator", 117 ":remote_bitrate_estimator",
118 "..:module_api", 118 "..:module_api",
119 "../..:webrtc_common", 119 "../..:webrtc_common",
120 "../../rtc_base:gtest_prod", 120 "../../base:gtest_prod",
121 "../../rtc_base:rtc_base", 121 "../../base:rtc_base",
122 "../../rtc_base:rtc_base_approved", 122 "../../base:rtc_base_approved",
123 "../../system_wrappers", 123 "../../system_wrappers",
124 "../../test:test_support", 124 "../../test:test_support",
125 "../../voice_engine", 125 "../../voice_engine",
126 "../bitrate_controller", 126 "../bitrate_controller",
127 "../congestion_controller", 127 "../congestion_controller",
128 "../pacing", 128 "../pacing",
129 "../rtp_rtcp", 129 "../rtp_rtcp",
130 "//testing/gmock", 130 "//testing/gmock",
131 "//testing/gtest", 131 "//testing/gtest",
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: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 "../../rtc_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
(...skipping 17 matching lines...) Expand all
178 "test/bwe_test_framework_unittest.cc", 178 "test/bwe_test_framework_unittest.cc",
179 "test/bwe_unittest.cc", 179 "test/bwe_unittest.cc",
180 "test/estimators/nada_unittest.cc", 180 "test/estimators/nada_unittest.cc",
181 "test/metric_recorder_unittest.cc", 181 "test/metric_recorder_unittest.cc",
182 ] 182 ]
183 deps = [ 183 deps = [
184 ":bwe_simulator_lib", 184 ":bwe_simulator_lib",
185 ":mock_remote_bitrate_observer", 185 ":mock_remote_bitrate_observer",
186 ":remote_bitrate_estimator", 186 ":remote_bitrate_estimator",
187 "../..:webrtc_common", 187 "../..:webrtc_common",
188 "../../rtc_base:rtc_base", 188 "../../base:rtc_base",
189 "../../rtc_base:rtc_base_approved", 189 "../../base:rtc_base_approved",
190 "../../system_wrappers:system_wrappers", 190 "../../system_wrappers:system_wrappers",
191 "../../test:field_trial", 191 "../../test:field_trial",
192 "../../test:test_support", 192 "../../test:test_support",
193 "../pacing:pacing", 193 "../pacing:pacing",
194 "../rtp_rtcp:rtp_rtcp", 194 "../rtp_rtcp:rtp_rtcp",
195 "//testing/gmock", 195 "//testing/gmock",
196 ] 196 ]
197 if (is_win) { 197 if (is_win) {
198 cflags = [ 198 cflags = [
199 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 199 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
(...skipping 20 matching lines...) Expand all
220 rtc_test("bwe_simulations_tests") { 220 rtc_test("bwe_simulations_tests") {
221 testonly = true 221 testonly = true
222 222
223 sources = [ 223 sources = [
224 "bwe_simulations.cc", 224 "bwe_simulations.cc",
225 ] 225 ]
226 deps = [ 226 deps = [
227 ":bwe_simulator_lib", 227 ":bwe_simulator_lib",
228 ":remote_bitrate_estimator", 228 ":remote_bitrate_estimator",
229 "../..:webrtc_common", 229 "../..:webrtc_common",
230 "../../rtc_base:rtc_base_approved", 230 "../../base:rtc_base_approved",
231 "../../test:test_main", 231 "../../test:test_main",
232 "//testing/gmock", 232 "//testing/gmock",
233 "//testing/gtest", 233 "//testing/gtest",
234 "//third_party/gflags", 234 "//third_party/gflags",
235 ] 235 ]
236 236
237 if (!build_with_chromium && is_clang) { 237 if (!build_with_chromium && is_clang) {
238 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 238 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
239 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 239 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
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 }
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