blob: af3b8dc3e22c960a40ee319d20bf4294be2c7c88 [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
11source_set("bitrate_controller") {
12 sources = [
stefan@webrtc.org792f1a12015-03-04 12:24:26 +000013 "bitrate_allocator.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000014 "bitrate_controller_impl.cc",
15 "bitrate_controller_impl.h",
stefan@webrtc.org792f1a12015-03-04 12:24:26 +000016 "include/bitrate_allocator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000017 "include/bitrate_controller.h",
sprang@webrtc.org9b791972014-12-18 11:53:59 +000018 "remb_suppressor.cc",
19 "remb_suppressor.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000020 "send_side_bandwidth_estimation.cc",
21 "send_side_bandwidth_estimation.h",
sprang@webrtc.orgf35e4bc2015-03-02 09:05:47 +000022 "send_time_history.cc",
23 "send_time_history.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000024 ]
25
26 if (is_win) {
27 cflags = [
28 # TODO(jschuh): Bug 1348: fix this warning.
29 "/wd4267" # size_t to int truncations
30 ]
31 }
32
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000033 configs += [ "../..:common_config" ]
34 public_configs = [ "../..:common_inherited_config" ]
35
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000036 if (is_clang) {
37 # Suppress warnings from Chrome's Clang plugins.
38 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
39 configs -= [ "//build/config/clang:find_bad_constructs" ]
40 }
41
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000042 deps = [ "../../system_wrappers" ]
43}