blob: 3835c190ea850ab71458be7a8ce204dc99ae44bc [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",
14 "include/congestion_controller.h",
15 ]
16
Stefan Holmer80e12072016-02-23 13:30:42 +010017 configs += [ "../..:common_config" ]
18 public_configs = [ "../..:common_inherited_config" ]
19
kjellander8f4419b2016-06-02 02:09:52 -070020 # TODO(jschuh): Bug 1348: fix this warning.
21 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
22
Stefan Holmer80e12072016-02-23 13:30:42 +010023 if (is_clang) {
24 # Suppress warnings from Chrome's Clang plugins.
25 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
26 configs -= [ "//build/config/clang:find_bad_constructs" ]
27 }
28
29 deps = [
30 "../bitrate_controller",
31 "../pacing",
32 "../remote_bitrate_estimator",
33 ]
34}