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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "../../test:test_main", |
241 "//testing/gtest", | 241 "//testing/gtest", |
242 ] | 242 ] |
| 243 |
| 244 if (is_ios) { |
| 245 deps += [ "../../rtc_base:rtc_base_apple" ] |
| 246 } |
243 } # test_packet_masks_metrics | 247 } # test_packet_masks_metrics |
244 | 248 |
245 rtc_source_set("rtp_rtcp_modules_tests") { | 249 rtc_source_set("rtp_rtcp_modules_tests") { |
246 testonly = true | 250 testonly = true |
247 | 251 |
248 # Skip restricting visibility on mobile platforms since the tests on those | 252 # Skip restricting visibility on mobile platforms since the tests on those |
249 # gets additional generated targets which would require many lines here to | 253 # gets additional generated targets which would require many lines here to |
250 # cover (which would be confusing to read and hard to maintain). | 254 # cover (which would be confusing to read and hard to maintain). |
251 if (!is_android && !is_ios) { | 255 if (!is_android && !is_ios) { |
252 visibility = [ "../../modules:modules_tests" ] | 256 visibility = [ "../../modules:modules_tests" ] |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 ] | 357 ] |
354 | 358 |
355 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 359 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
356 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 360 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
357 if (!build_with_chromium && is_clang) { | 361 if (!build_with_chromium && is_clang) { |
358 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 362 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
359 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 363 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
360 } | 364 } |
361 } | 365 } |
362 } | 366 } |
OLD | NEW |