blob: 2af1754e453c261bc17cd10f2bca73827291c37a [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
11source_set("congestion_controller") {
12 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",
17 ]
18
Stefan Holmer80e12072016-02-23 13:30:42 +010019 configs += [ "../..:common_config" ]
20 public_configs = [ "../..:common_inherited_config" ]
21
kjellander8f4419b2016-06-02 02:09:52 -070022 # TODO(jschuh): Bug 1348: fix this warning.
23 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
24
Stefan Holmer80e12072016-02-23 13:30:42 +010025 if (is_clang) {
26 # Suppress warnings from Chrome's Clang plugins.
27 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
28 configs -= [ "//build/config/clang:find_bad_constructs" ]
29 }
30
31 deps = [
32 "../bitrate_controller",
33 "../pacing",
34 "../remote_bitrate_estimator",
35 ]
36}