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("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
26 } | 26 } |
27 | 27 |
28 deps = [ | 28 deps = [ |
29 "../..:webrtc_common", | 29 "../..:webrtc_common", |
30 "../../base:rtc_base_approved", | 30 "../../base:rtc_base_approved", |
31 "../../system_wrappers", | 31 "../../system_wrappers", |
32 "../rtp_rtcp", | 32 "../rtp_rtcp", |
33 ] | 33 ] |
34 } | 34 } |
| 35 |
| 36 if (rtc_include_tests) { |
| 37 rtc_source_set("pacing_unittests") { |
| 38 testonly = true |
| 39 sources = [ |
| 40 "alr_detector_unittest.cc", |
| 41 "bitrate_prober_unittest.cc", |
| 42 "paced_sender_unittest.cc", |
| 43 "packet_router_unittest.cc", |
| 44 ] |
| 45 deps = [ |
| 46 ":pacing", |
| 47 "../../base:rtc_base_approved", |
| 48 "../../system_wrappers:system_wrappers", |
| 49 "../../test:test_support", |
| 50 "../rtp_rtcp", |
| 51 "../rtp_rtcp:rtp_rtcp_unittests", |
| 52 "//testing/gmock", |
| 53 ] |
| 54 |
| 55 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
| 56 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 57 if (!build_with_chromium && is_clang) { |
| 58 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 59 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 60 } |
| 61 } |
| 62 } |
OLD | NEW |