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_static_library("congestion_controller") { | 11 rtc_static_library("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 "median_slope_estimator.cc", |
| 18 "median_slope_estimator.h", |
17 "probe_bitrate_estimator.cc", | 19 "probe_bitrate_estimator.cc", |
18 "probe_bitrate_estimator.h", | 20 "probe_bitrate_estimator.h", |
19 "probe_controller.cc", | 21 "probe_controller.cc", |
20 "probe_controller.h", | 22 "probe_controller.h", |
21 "probing_interval_estimator.cc", | 23 "probing_interval_estimator.cc", |
22 "probing_interval_estimator.h", | 24 "probing_interval_estimator.h", |
23 "transport_feedback_adapter.cc", | 25 "transport_feedback_adapter.cc", |
24 "transport_feedback_adapter.h", | 26 "transport_feedback_adapter.h", |
25 "trendline_estimator.cc", | 27 "trendline_estimator.cc", |
26 "trendline_estimator.h", | 28 "trendline_estimator.h", |
27 ] | 29 ] |
28 | 30 |
29 if (rtc_enable_bwe_test_logging) { | 31 if (rtc_enable_bwe_test_logging) { |
30 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] | 32 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
31 } else { | 33 } else { |
32 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] | 34 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
33 } | 35 } |
34 | 36 |
35 # TODO(jschuh): Bug 1348: fix this warning. | 37 # TODO(jschuh): Bug 1348: fix this warning. |
36 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 38 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
37 | 39 |
38 if (!build_with_chromium && is_clang) { | 40 if (!build_with_chromium && is_clang) { |
39 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 41 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
40 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 42 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
41 } | 43 } |
42 | 44 |
43 deps = [ | 45 deps = [ |
| 46 "../../base:rtc_analytics", |
44 "../bitrate_controller", | 47 "../bitrate_controller", |
45 "../pacing", | 48 "../pacing", |
46 ] | 49 ] |
47 } | 50 } |
OLD | NEW |