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_source_set("congestion_controller") { | 11 rtc_source_set("congestion_controller") { |
12 sources = [ | 12 sources = [ |
13 "congestion_controller.cc", | 13 "congestion_controller.cc", |
14 "delay_based_bwe.cc", | 14 "delay_based_bwe.cc", |
15 "delay_based_bwe.h", | 15 "delay_based_bwe.h", |
16 "include/congestion_controller.h", | 16 "include/congestion_controller.h", |
17 "probe_bitrate_estimator.cc", | 17 "probe_bitrate_estimator.cc", |
18 "probe_bitrate_estimator.h", | 18 "probe_bitrate_estimator.h", |
19 ] | 19 ] |
20 | 20 |
21 public_configs = [ "../..:common_inherited_config" ] | |
22 | |
23 # TODO(jschuh): Bug 1348: fix this warning. | 21 # TODO(jschuh): Bug 1348: fix this warning. |
24 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 22 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
25 | 23 |
26 if (is_clang) { | 24 if (is_clang) { |
27 # Suppress warnings from Chrome's Clang plugins. | 25 # Suppress warnings from Chrome's Clang plugins. |
28 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 26 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
29 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 27 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
30 } | 28 } |
31 | 29 |
32 deps = [ | 30 deps = [ |
33 "../bitrate_controller", | 31 "../bitrate_controller", |
34 "../pacing", | 32 "../pacing", |
35 "../remote_bitrate_estimator", | 33 "../remote_bitrate_estimator", |
36 ] | 34 ] |
37 } | 35 } |
OLD | NEW |