blob: 4ef536b5724d36b9e1833383f4ba2f1ff0cf1d37 [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:071# 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:2613 "bitrate_allocator.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:0714 "bitrate_controller_impl.cc",
15 "bitrate_controller_impl.h",
stefan@webrtc.org792f1a12015-03-04 12:24:2616 "include/bitrate_allocator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:0717 "include/bitrate_controller.h",
18 "send_side_bandwidth_estimation.cc",
19 "send_side_bandwidth_estimation.h",
20 ]
21
22 if (is_win) {
23 cflags = [
24 # TODO(jschuh): Bug 1348: fix this warning.
Henrik Kjellander57e5fd22015-05-25 10:55:3925 "/wd4267", # size_t to int truncations
kjellander@webrtc.org1227ab82014-06-23 19:21:0726 ]
27 }
28
kjellander@webrtc.orgf21ea912014-09-28 17:37:2229 configs += [ "../..:common_config" ]
30 public_configs = [ "../..:common_inherited_config" ]
31
kjellander@webrtc.org42ee5b52014-08-25 14:15:3532 if (is_clang) {
33 # Suppress warnings from Chrome's Clang plugins.
34 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
35 configs -= [ "//build/config/clang:find_bad_constructs" ]
36 }
37
Henrik Kjellander57e5fd22015-05-25 10:55:3938 deps = [
39 "../../system_wrappers",
40 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:0741}