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 |
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 (is_clang) { | 23 if (!build_with_chromium && is_clang) { |
24 # Suppress warnings from Chrome's Clang plugins. | 24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
25 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
26 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
27 } | 26 } |
28 | 27 |
29 deps = [ | 28 deps = [ |
30 "../../system_wrappers", | 29 "../../system_wrappers", |
31 "../bitrate_controller", | 30 "../bitrate_controller", |
32 "../rtp_rtcp", | 31 "../rtp_rtcp", |
33 ] | 32 ] |
34 } | 33 } |
OLD | NEW |