blob: 9692c17b4befa9831825ff874426c14171db6940 [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.
kjellander5c1d0432016-06-09 02:40:58 -070011 rtc_enable_bwe_test_logging = false
brucedawson07df20b2016-05-22 17:15:02 -070012}
13
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000014source_set("remote_bitrate_estimator") {
15 sources = [
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +000016 "aimd_rate_control.cc",
17 "aimd_rate_control.h",
kjellander5c1d0432016-06-09 02:40:58 -070018 "include/bwe_defines.h",
19 "include/remote_bitrate_estimator.h",
sprang318673c2015-09-04 04:43:21 -070020 "include/send_time_history.h",
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +000021 "inter_arrival.cc",
22 "inter_arrival.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000023 "overuse_detector.cc",
24 "overuse_detector.h",
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +000025 "overuse_estimator.cc",
26 "overuse_estimator.h",
27 "remote_bitrate_estimator_abs_send_time.cc",
kjellander5c1d0432016-06-09 02:40:58 -070028 "remote_bitrate_estimator_abs_send_time.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000029 "remote_bitrate_estimator_single_stream.cc",
kjellander5c1d0432016-06-09 02:40:58 -070030 "remote_bitrate_estimator_single_stream.h",
Erik Språng6b8d3552015-09-24 15:06:57 +020031 "remote_estimator_proxy.cc",
32 "remote_estimator_proxy.h",
sprang318673c2015-09-04 04:43:21 -070033 "send_time_history.cc",
kjellander5c1d0432016-06-09 02:40:58 -070034 "test/bwe_test_logging.h",
Erik Språng6b8d3552015-09-24 15:06:57 +020035 "transport_feedback_adapter.cc",
36 "transport_feedback_adapter.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000037 ]
kjellander@webrtc.org9bef5512014-07-13 09:02:54 +000038
kjellander5c1d0432016-06-09 02:40:58 -070039 if (rtc_enable_bwe_test_logging) {
40 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
brucedawson07df20b2016-05-22 17:15:02 -070041 sources += [ "test/bwe_test_logging.cc" ]
kjellander5c1d0432016-06-09 02:40:58 -070042 } else {
43 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
brucedawson07df20b2016-05-22 17:15:02 -070044 }
45
kjellander5c1d0432016-06-09 02:40:58 -070046 configs += [ "../../:common_inherited_config" ]
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000047 public_configs = [ "../..:common_inherited_config" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000048
49 if (is_clang) {
50 # Suppress warnings from Chrome's Clang plugins.
51 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
52 configs -= [ "//build/config/clang:find_bad_constructs" ]
53 }
kjellander5c1d0432016-06-09 02:40:58 -070054
55 deps = [
56 "../..:webrtc_common",
57 "../../system_wrappers",
58 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000059}