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("../../webrtc.gni") | 9 import("../../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 "include/receive_side_congestion_controller.h", | 17 "include/receive_side_congestion_controller.h", |
18 "include/send_side_congestion_controller.h", | 18 "include/send_side_congestion_controller.h", |
19 "median_slope_estimator.cc", | 19 "median_slope_estimator.cc", |
20 "median_slope_estimator.h", | 20 "median_slope_estimator.h", |
21 "probe_bitrate_estimator.cc", | 21 "probe_bitrate_estimator.cc", |
22 "probe_bitrate_estimator.h", | 22 "probe_bitrate_estimator.h", |
23 "probe_controller.cc", | 23 "probe_controller.cc", |
24 "probe_controller.h", | 24 "probe_controller.h", |
25 "probing_interval_estimator.cc", | |
26 "probing_interval_estimator.h", | |
27 "receive_side_congestion_controller.cc", | 25 "receive_side_congestion_controller.cc", |
28 "send_side_congestion_controller.cc", | 26 "send_side_congestion_controller.cc", |
29 "transport_feedback_adapter.cc", | 27 "transport_feedback_adapter.cc", |
30 "transport_feedback_adapter.h", | 28 "transport_feedback_adapter.h", |
31 "trendline_estimator.cc", | 29 "trendline_estimator.cc", |
32 "trendline_estimator.h", | 30 "trendline_estimator.h", |
33 ] | 31 ] |
34 | 32 |
35 if (rtc_enable_bwe_test_logging) { | 33 if (rtc_enable_bwe_test_logging) { |
36 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] | 34 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
(...skipping 30 matching lines...) Expand all Loading... |
67 sources = [ | 65 sources = [ |
68 "congestion_controller_unittest.cc", | 66 "congestion_controller_unittest.cc", |
69 "congestion_controller_unittests_helper.cc", | 67 "congestion_controller_unittests_helper.cc", |
70 "congestion_controller_unittests_helper.h", | 68 "congestion_controller_unittests_helper.h", |
71 "delay_based_bwe_unittest.cc", | 69 "delay_based_bwe_unittest.cc", |
72 "delay_based_bwe_unittest_helper.cc", | 70 "delay_based_bwe_unittest_helper.cc", |
73 "delay_based_bwe_unittest_helper.h", | 71 "delay_based_bwe_unittest_helper.h", |
74 "median_slope_estimator_unittest.cc", | 72 "median_slope_estimator_unittest.cc", |
75 "probe_bitrate_estimator_unittest.cc", | 73 "probe_bitrate_estimator_unittest.cc", |
76 "probe_controller_unittest.cc", | 74 "probe_controller_unittest.cc", |
77 "probing_interval_estimator_unittest.cc", | |
78 "transport_feedback_adapter_unittest.cc", | 75 "transport_feedback_adapter_unittest.cc", |
79 "trendline_estimator_unittest.cc", | 76 "trendline_estimator_unittest.cc", |
80 ] | 77 ] |
81 deps = [ | 78 deps = [ |
82 ":congestion_controller", | 79 ":congestion_controller", |
83 "../../base:rtc_base_approved", | 80 "../../base:rtc_base_approved", |
84 "../../system_wrappers:system_wrappers", | 81 "../../system_wrappers:system_wrappers", |
85 "../../test:field_trial", | 82 "../../test:field_trial", |
86 "../../test:test_support", | 83 "../../test:test_support", |
87 "../bitrate_controller:bitrate_controller", | 84 "../bitrate_controller:bitrate_controller", |
88 "../pacing:pacing", | 85 "../pacing:pacing", |
89 "../remote_bitrate_estimator:remote_bitrate_estimator", | 86 "../remote_bitrate_estimator:remote_bitrate_estimator", |
90 "../remote_bitrate_estimator:remote_bitrate_estimator_unittests", | 87 "../remote_bitrate_estimator:remote_bitrate_estimator_unittests", |
91 "../rtp_rtcp:rtp_rtcp", | 88 "../rtp_rtcp:rtp_rtcp", |
92 "//testing/gmock", | 89 "//testing/gmock", |
93 ] | 90 ] |
94 if (!build_with_chromium && is_clang) { | 91 if (!build_with_chromium && is_clang) { |
95 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 92 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
96 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 93 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
97 } | 94 } |
98 } | 95 } |
99 } | 96 } |
OLD | NEW |