blob: 09b856b9c9797522bf433049a136a8bc9fac3971 [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
ehmaldonado38a21322016-09-02 04:10:34 -07009import("../../build/webrtc.gni")
10
kjellanderb62dbbe2016-09-23 00:38:52 -070011rtc_static_library("pacing") {
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000012 sources = [
isheriff31687812016-10-04 08:43:09 -070013 "alr_detector.cc",
14 "alr_detector.h",
stefan@webrtc.org82462aa2014-10-23 11:57:05 +000015 "bitrate_prober.cc",
16 "bitrate_prober.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000017 "paced_sender.cc",
Henrik Kjellander0b9e29c2015-11-16 11:12:24 +010018 "paced_sender.h",
Stefan Holmere5904162015-03-26 11:11:06 +010019 "packet_router.cc",
Henrik Kjellander0b9e29c2015-11-16 11:12:24 +010020 "packet_router.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000021 ]
22
kjellandere40a7ee2016-10-16 23:56:12 -070023 if (!build_with_chromium && is_clang) {
24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -070025 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000026 }
27
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020028 deps = [
mbonadei2a495ca2016-12-21 00:26:58 -080029 "../..:webrtc_common",
30 "../../base:rtc_base_approved",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020031 "../../system_wrappers",
sprangebbf8a82015-09-21 15:11:14 -070032 "../rtp_rtcp",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020033 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000034}