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 |
11 rtc_static_library("pacing") { | 11 rtc_static_library("pacing") { |
12 sources = [ | 12 sources = [ |
13 "alr_detector.cc", | 13 "alr_detector.cc", |
14 "alr_detector.h", | 14 "alr_detector.h", |
15 "bitrate_prober.cc", | 15 "bitrate_prober.cc", |
16 "bitrate_prober.h", | 16 "bitrate_prober.h", |
17 "paced_sender.cc", | 17 "paced_sender.cc", |
18 "paced_sender.h", | 18 "paced_sender.h", |
19 "packet_router.cc", | 19 "packet_router.cc", |
20 "packet_router.h", | 20 "packet_router.h", |
21 ] | 21 ] |
22 | 22 |
23 if (!build_with_chromium && is_clang) { | 23 if (!build_with_chromium && is_clang) { |
24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
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 "../utility", |
33 ] | 34 ] |
34 } | 35 } |
35 | 36 |
36 if (rtc_include_tests) { | 37 if (rtc_include_tests) { |
37 rtc_source_set("pacing_unittests") { | 38 rtc_source_set("pacing_unittests") { |
38 testonly = true | 39 testonly = true |
39 sources = [ | 40 sources = [ |
40 "alr_detector_unittest.cc", | 41 "alr_detector_unittest.cc", |
41 "bitrate_prober_unittest.cc", | 42 "bitrate_prober_unittest.cc", |
42 "paced_sender_unittest.cc", | 43 "paced_sender_unittest.cc", |
(...skipping 10 matching lines...) Expand all Loading... |
53 ] | 54 ] |
54 | 55 |
55 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 56 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
56 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 57 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
57 if (!build_with_chromium && is_clang) { | 58 if (!build_with_chromium && is_clang) { |
58 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 59 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
59 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 60 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
60 } | 61 } |
61 } | 62 } |
62 } | 63 } |
OLD | NEW |