| OLD | NEW |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
| 10 | 10 |
| 11 source_set("bitrate_controller") { | 11 source_set("bitrate_controller") { |
| 12 sources = [ | 12 sources = [ |
| 13 "bitrate_allocator.cc", | 13 "bitrate_allocator.cc", |
| 14 "bitrate_controller_impl.cc", | 14 "bitrate_controller_impl.cc", |
| 15 "bitrate_controller_impl.h", | 15 "bitrate_controller_impl.h", |
| 16 "include/bitrate_allocator.h", | 16 "include/bitrate_allocator.h", |
| 17 "include/bitrate_controller.h", | 17 "include/bitrate_controller.h", |
| 18 "send_side_bandwidth_estimation.cc", | 18 "send_side_bandwidth_estimation.cc", |
| 19 "send_side_bandwidth_estimation.h", | 19 "send_side_bandwidth_estimation.h", |
| 20 "send_time_history.cc", | |
| 21 "send_time_history.h", | |
| 22 ] | 20 ] |
| 23 | 21 |
| 24 if (is_win) { | 22 if (is_win) { |
| 25 cflags = [ | 23 cflags = [ |
| 26 # TODO(jschuh): Bug 1348: fix this warning. | 24 # TODO(jschuh): Bug 1348: fix this warning. |
| 27 "/wd4267", # size_t to int truncations | 25 "/wd4267", # size_t to int truncations |
| 28 ] | 26 ] |
| 29 } | 27 } |
| 30 | 28 |
| 31 configs += [ "../..:common_config" ] | 29 configs += [ "../..:common_config" ] |
| 32 public_configs = [ "../..:common_inherited_config" ] | 30 public_configs = [ "../..:common_inherited_config" ] |
| 33 | 31 |
| 34 if (is_clang) { | 32 if (is_clang) { |
| 35 # Suppress warnings from Chrome's Clang plugins. | 33 # Suppress warnings from Chrome's Clang plugins. |
| 36 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 34 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 37 configs -= [ "//build/config/clang:find_bad_constructs" ] | 35 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 38 } | 36 } |
| 39 | 37 |
| 40 deps = [ | 38 deps = [ |
| 41 "../../system_wrappers", | 39 "../../system_wrappers", |
| 42 ] | 40 ] |
| 43 } | 41 } |
| OLD | NEW |