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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 163 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
164 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 164 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
165 } | 165 } |
166 | 166 |
167 deps = [ | 167 deps = [ |
168 "..:module_api", | 168 "..:module_api", |
169 "../..:webrtc_common", | 169 "../..:webrtc_common", |
170 "../../api:libjingle_peerconnection_api", | 170 "../../api:libjingle_peerconnection_api", |
171 "../../api:transport_api", | 171 "../../api:transport_api", |
172 "../../api/audio_codecs:audio_codecs_api", | 172 "../../api/audio_codecs:audio_codecs_api", |
| 173 "../../base:gtest_prod", |
| 174 "../../base:rtc_base_approved", |
| 175 "../../base:sequenced_task_checker", |
173 "../../common_video", | 176 "../../common_video", |
174 "../../logging:rtc_event_log_api", | 177 "../../logging:rtc_event_log_api", |
175 "../../rtc_base:gtest_prod", | |
176 "../../rtc_base:rtc_base_approved", | |
177 "../../rtc_base:sequenced_task_checker", | |
178 "../../system_wrappers", | 178 "../../system_wrappers", |
179 "../audio_coding:audio_format_conversion", | 179 "../audio_coding:audio_format_conversion", |
180 "../remote_bitrate_estimator", | 180 "../remote_bitrate_estimator", |
181 ] | 181 ] |
182 | 182 |
183 # TODO(jschuh): Bug 1348: fix this warning. | 183 # TODO(jschuh): Bug 1348: fix this warning. |
184 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 184 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
185 | 185 |
186 if (is_win) { | 186 if (is_win) { |
187 cflags = [ | 187 cflags = [ |
188 # TODO(kjellander): Bug 261: fix this warning. | 188 # TODO(kjellander): Bug 261: fix this warning. |
189 "/wd4373", # virtual function override. | 189 "/wd4373", # virtual function override. |
190 ] | 190 ] |
191 } | 191 } |
192 } | 192 } |
193 | 193 |
194 rtc_source_set("fec_test_helper") { | 194 rtc_source_set("fec_test_helper") { |
195 testonly = true | 195 testonly = true |
196 sources = [ | 196 sources = [ |
197 "source/fec_test_helper.cc", | 197 "source/fec_test_helper.cc", |
198 "source/fec_test_helper.h", | 198 "source/fec_test_helper.h", |
199 ] | 199 ] |
200 deps = [ | 200 deps = [ |
201 ":rtp_rtcp", | 201 ":rtp_rtcp", |
202 "..:module_api", | 202 "..:module_api", |
203 "../../rtc_base:rtc_base_approved", | 203 "../../base:rtc_base_approved", |
204 ] | 204 ] |
205 | 205 |
206 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 206 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
207 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 207 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
208 if (!build_with_chromium && is_clang) { | 208 if (!build_with_chromium && is_clang) { |
209 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 209 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
210 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 210 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
211 } | 211 } |
212 } | 212 } |
213 | 213 |
214 rtc_source_set("mock_rtp_rtcp") { | 214 rtc_source_set("mock_rtp_rtcp") { |
215 testonly = true | 215 testonly = true |
216 sources = [ | 216 sources = [ |
217 "mocks/mock_recovered_packet_receiver.h", | 217 "mocks/mock_recovered_packet_receiver.h", |
218 "mocks/mock_rtcp_rtt_stats.h", | 218 "mocks/mock_rtcp_rtt_stats.h", |
219 "mocks/mock_rtp_rtcp.h", | 219 "mocks/mock_rtp_rtcp.h", |
220 ] | 220 ] |
221 deps = [ | 221 deps = [ |
222 ":rtp_rtcp", | 222 ":rtp_rtcp", |
223 "..:module_api", | 223 "..:module_api", |
224 "../../rtc_base:rtc_base_approved", | 224 "../../base:rtc_base_approved", |
225 "../../test:test_support", | 225 "../../test:test_support", |
226 ] | 226 ] |
227 } | 227 } |
228 | 228 |
229 if (rtc_include_tests) { | 229 if (rtc_include_tests) { |
230 rtc_executable("test_packet_masks_metrics") { | 230 rtc_executable("test_packet_masks_metrics") { |
231 testonly = true | 231 testonly = true |
232 | 232 |
233 sources = [ | 233 sources = [ |
234 "test/testFec/average_residual_loss_xor_codes.h", | 234 "test/testFec/average_residual_loss_xor_codes.h", |
(...skipping 14 matching lines...) Expand all Loading... |
249 # gets additional generated targets which would require many lines here to | 249 # gets additional generated targets which would require many lines here to |
250 # cover (which would be confusing to read and hard to maintain). | 250 # cover (which would be confusing to read and hard to maintain). |
251 if (!is_android && !is_ios) { | 251 if (!is_android && !is_ios) { |
252 visibility = [ "//webrtc/modules:modules_tests" ] | 252 visibility = [ "//webrtc/modules:modules_tests" ] |
253 } | 253 } |
254 sources = [ | 254 sources = [ |
255 "test/testFec/test_fec.cc", | 255 "test/testFec/test_fec.cc", |
256 ] | 256 ] |
257 deps = [ | 257 deps = [ |
258 ":rtp_rtcp", | 258 ":rtp_rtcp", |
259 "../../rtc_base:rtc_base_approved", | 259 "../../base:rtc_base_approved", |
260 "../../test:test_support", | 260 "../../test:test_support", |
261 ] | 261 ] |
262 if (!build_with_chromium && is_clang) { | 262 if (!build_with_chromium && is_clang) { |
263 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 263 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
264 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 264 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
265 } | 265 } |
266 } | 266 } |
267 | 267 |
268 rtc_source_set("rtp_rtcp_unittests") { | 268 rtc_source_set("rtp_rtcp_unittests") { |
269 testonly = true | 269 testonly = true |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 "test/testAPI/test_api_rtcp.cc", | 335 "test/testAPI/test_api_rtcp.cc", |
336 "test/testAPI/test_api_video.cc", | 336 "test/testAPI/test_api_video.cc", |
337 ] | 337 ] |
338 deps = [ | 338 deps = [ |
339 ":fec_test_helper", | 339 ":fec_test_helper", |
340 ":mock_rtp_rtcp", | 340 ":mock_rtp_rtcp", |
341 ":rtp_rtcp", | 341 ":rtp_rtcp", |
342 "..:module_api", | 342 "..:module_api", |
343 "../..:webrtc_common", | 343 "../..:webrtc_common", |
344 "../../api:transport_api", | 344 "../../api:transport_api", |
| 345 "../../base:rtc_base_approved", |
345 "../../common_video:common_video", | 346 "../../common_video:common_video", |
346 "../../rtc_base:rtc_base_approved", | |
347 "../../system_wrappers:system_wrappers", | 347 "../../system_wrappers:system_wrappers", |
348 "../../test:field_trial", | 348 "../../test:field_trial", |
349 "../../test:rtp_test_utils", | 349 "../../test:rtp_test_utils", |
350 "../../test:test_common", | 350 "../../test:test_common", |
351 "../../test:test_support", | 351 "../../test:test_support", |
352 "//testing/gmock", | 352 "//testing/gmock", |
353 ] | 353 ] |
354 | 354 |
355 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 355 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
356 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 356 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
357 if (!build_with_chromium && is_clang) { | 357 if (!build_with_chromium && is_clang) { |
358 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 358 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
359 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 359 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
360 } | 360 } |
361 } | 361 } |
362 } | 362 } |
OLD | NEW |