blob: 0440418928307cf8c6435c7ecd58820de11224c0 [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
9import("../../build/webrtc.gni")
10
ehmaldonado38a21322016-09-02 04:10:34 -070011rtc_source_set("bitrate_controller") {
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000012 sources = [
13 "bitrate_controller_impl.cc",
14 "bitrate_controller_impl.h",
stefan@webrtc.org792f1a12015-03-04 12:24:26 +000015 "include/bitrate_allocator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000016 "include/bitrate_controller.h",
17 "send_side_bandwidth_estimation.cc",
18 "send_side_bandwidth_estimation.h",
19 ]
20
gaetano.carlucci52a57032016-09-14 05:04:36 -070021 if (rtc_enable_bwe_test_logging) {
22 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
23 } else {
24 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
25 }
26
kjellander8f4419b2016-06-02 02:09:52 -070027 # TODO(jschuh): Bug 1348: fix this warning.
28 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
29
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000030 if (is_clang) {
31 # Suppress warnings from Chrome's Clang plugins.
32 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -070033 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000034 }
35
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020036 deps = [
37 "../../system_wrappers",
38 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000039}