blob: 98a7c201049f35431a5b3d36d808d152ecfad336 [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# 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
brucedawson07df20b2016-05-22 17:15:02 -07009declare_args() {
10 # Set this to true to enable BWE test logging.
11 enable_bwe_test_logging = false
12}
13
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000014source_set("remote_bitrate_estimator") {
15 sources = [
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02 +000016 "include/bwe_defines.h",
17 "include/remote_bitrate_estimator.h",
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02 +000018 ]
19
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020020 configs += [ "../../:common_inherited_config" ]
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02 +000021
22 deps = [
23 ":rbe_components",
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000024 "../..:webrtc_common",
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02 +000025 "../../system_wrappers",
26 ]
27}
28
29source_set("rbe_components") {
30 sources = [
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +000031 "aimd_rate_control.cc",
32 "aimd_rate_control.h",
sprang318673c2015-09-04 04:43:21 -070033 "include/send_time_history.h",
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +000034 "inter_arrival.cc",
35 "inter_arrival.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000036 "overuse_detector.cc",
37 "overuse_detector.h",
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +000038 "overuse_estimator.cc",
39 "overuse_estimator.h",
40 "remote_bitrate_estimator_abs_send_time.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000041 "remote_bitrate_estimator_single_stream.cc",
Erik Språng6b8d3552015-09-24 15:06:57 +020042 "remote_estimator_proxy.cc",
43 "remote_estimator_proxy.h",
sprang318673c2015-09-04 04:43:21 -070044 "send_time_history.cc",
Erik Språng6b8d3552015-09-24 15:06:57 +020045 "transport_feedback_adapter.cc",
46 "transport_feedback_adapter.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000047 ]
kjellander@webrtc.org9bef5512014-07-13 09:02:54 +000048
brucedawson07df20b2016-05-22 17:15:02 -070049 if (enable_bwe_test_logging) {
50 sources += [ "test/bwe_test_logging.cc" ]
51 }
52
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000053 configs += [ "../..:common_config" ]
54 public_configs = [ "../..:common_inherited_config" ]
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020055 deps = [
56 "../..:webrtc_common",
57 ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000058
59 if (is_clang) {
60 # Suppress warnings from Chrome's Clang plugins.
61 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
62 configs -= [ "//build/config/clang:find_bad_constructs" ]
63 }
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000064}