blob: c8d6847171aebe8ab646a062cb15efc6892775a2 [file] [log] [blame]
Stefan Holmer80e12072016-02-23 13:30:42 +01001# 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
9import("../../build/webrtc.gni")
10
ehmaldonado38a21322016-09-02 04:10:34 -070011rtc_source_set("congestion_controller") {
Stefan Holmer80e12072016-02-23 13:30:42 +010012 sources = [
13 "congestion_controller.cc",
philipel863a8262016-06-17 09:21:34 -070014 "delay_based_bwe.cc",
15 "delay_based_bwe.h",
Stefan Holmer80e12072016-02-23 13:30:42 +010016 "include/congestion_controller.h",
philipel233c4ba2016-08-01 08:49:04 -070017 "probe_bitrate_estimator.cc",
18 "probe_bitrate_estimator.h",
Stefan Holmer80e12072016-02-23 13:30:42 +010019 ]
20
Stefan Holmer80e12072016-02-23 13:30:42 +010021 configs += [ "../..:common_config" ]
22 public_configs = [ "../..:common_inherited_config" ]
23
kjellander8f4419b2016-06-02 02:09:52 -070024 # TODO(jschuh): Bug 1348: fix this warning.
25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
26
Stefan Holmer80e12072016-02-23 13:30:42 +010027 if (is_clang) {
28 # Suppress warnings from Chrome's Clang plugins.
29 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -070030 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
Stefan Holmer80e12072016-02-23 13:30:42 +010031 }
32
33 deps = [
34 "../bitrate_controller",
35 "../pacing",
36 "../remote_bitrate_estimator",
37 ]
38}