Stefan Holmer | 80e1207 | 2016-02-23 13:30:42 +0100 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../build/webrtc.gni") |
| 10 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 11 | rtc_static_library("congestion_controller") { |
Stefan Holmer | 80e1207 | 2016-02-23 13:30:42 +0100 | [diff] [blame] | 12 | sources = [ |
| 13 | "congestion_controller.cc", |
philipel | 863a826 | 2016-06-17 09:21:34 -0700 | [diff] [blame] | 14 | "delay_based_bwe.cc", |
| 15 | "delay_based_bwe.h", |
Stefan Holmer | 80e1207 | 2016-02-23 13:30:42 +0100 | [diff] [blame] | 16 | "include/congestion_controller.h", |
philipel | 233c4ba | 2016-08-01 08:49:04 -0700 | [diff] [blame] | 17 | "probe_bitrate_estimator.cc", |
| 18 | "probe_bitrate_estimator.h", |
Irfan Sheriff | b2540bb | 2016-09-12 12:28:54 -0700 | [diff] [blame] | 19 | "probe_controller.cc", |
| 20 | "probe_controller.h", |
michaelt | 4a4b3cf | 2016-11-17 01:18:43 -0800 | [diff] [blame] | 21 | "probing_interval_estimator.cc", |
| 22 | "probing_interval_estimator.h", |
Stefan Holmer | 280de9e | 2016-09-30 10:06:51 +0200 | [diff] [blame] | 23 | "transport_feedback_adapter.cc", |
| 24 | "transport_feedback_adapter.h", |
terelius | afaef8b | 2016-11-17 03:48:18 -0800 | [diff] [blame^] | 25 | "trendline_estimator.cc", |
| 26 | "trendline_estimator.h", |
Stefan Holmer | 80e1207 | 2016-02-23 13:30:42 +0100 | [diff] [blame] | 27 | ] |
| 28 | |
terelius | afaef8b | 2016-11-17 03:48:18 -0800 | [diff] [blame^] | 29 | if (rtc_enable_bwe_test_logging) { |
| 30 | defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 31 | } else { |
| 32 | defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 33 | } |
| 34 | |
kjellander | 8f4419b | 2016-06-02 02:09:52 -0700 | [diff] [blame] | 35 | # TODO(jschuh): Bug 1348: fix this warning. |
| 36 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 37 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 38 | if (!build_with_chromium && is_clang) { |
| 39 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 40 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
Stefan Holmer | 80e1207 | 2016-02-23 13:30:42 +0100 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | deps = [ |
| 44 | "../bitrate_controller", |
| 45 | "../pacing", |
Stefan Holmer | 80e1207 | 2016-02-23 13:30:42 +0100 | [diff] [blame] | 46 | ] |
| 47 | } |