kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../build/webrtc.gni") |
| 10 | |
| 11 | source_set("bitrate_controller") { |
| 12 | sources = [ |
| 13 | "bitrate_controller_impl.cc", |
| 14 | "bitrate_controller_impl.h", |
| 15 | "include/bitrate_controller.h", |
sprang@webrtc.org | 9b79197 | 2014-12-18 11:53:59 +0000 | [diff] [blame] | 16 | "remb_suppressor.cc", |
| 17 | "remb_suppressor.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 18 | "send_side_bandwidth_estimation.cc", |
| 19 | "send_side_bandwidth_estimation.h", |
sprang@webrtc.org | f35e4bc | 2015-03-02 09:05:47 +0000 | [diff] [blame^] | 20 | "send_time_history.cc", |
| 21 | "send_time_history.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 22 | ] |
| 23 | |
| 24 | if (is_win) { |
| 25 | cflags = [ |
| 26 | # TODO(jschuh): Bug 1348: fix this warning. |
| 27 | "/wd4267" # size_t to int truncations |
| 28 | ] |
| 29 | } |
| 30 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 31 | configs += [ "../..:common_config" ] |
| 32 | public_configs = [ "../..:common_inherited_config" ] |
| 33 | |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 34 | if (is_clang) { |
| 35 | # Suppress warnings from Chrome's Clang plugins. |
| 36 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 37 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 38 | } |
| 39 | |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 40 | deps = [ "../../system_wrappers" ] |
| 41 | } |