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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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", |
235 "test/testFec/test_packet_masks_metrics.cc", | 235 "test/testFec/test_packet_masks_metrics.cc", |
236 ] | 236 ] |
237 | 237 |
238 deps = [ | 238 deps = [ |
239 ":rtp_rtcp", | 239 ":rtp_rtcp", |
| 240 "../../test:test_main", |
240 "//testing/gtest", | 241 "//testing/gtest", |
241 "//webrtc/test:test_main", | |
242 ] | 242 ] |
243 } # test_packet_masks_metrics | 243 } # test_packet_masks_metrics |
244 | 244 |
245 rtc_source_set("rtp_rtcp_modules_tests") { | 245 rtc_source_set("rtp_rtcp_modules_tests") { |
246 testonly = true | 246 testonly = true |
247 | 247 |
248 # Skip restricting visibility on mobile platforms since the tests on those | 248 # Skip restricting visibility on mobile platforms since the tests on those |
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 = [ "../../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 "../../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) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |