| 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 rtc_source_set("bitrate_controller") { | 11 rtc_source_set("bitrate_controller") { |
| 12 sources = [ | 12 sources = [ |
| 13 "bitrate_controller_impl.cc", | 13 "bitrate_controller_impl.cc", |
| 14 "bitrate_controller_impl.h", | 14 "bitrate_controller_impl.h", |
| 15 "include/bitrate_allocator.h", | |
| 16 "include/bitrate_controller.h", | 15 "include/bitrate_controller.h", |
| 17 "send_side_bandwidth_estimation.cc", | 16 "send_side_bandwidth_estimation.cc", |
| 18 "send_side_bandwidth_estimation.h", | 17 "send_side_bandwidth_estimation.h", |
| 19 ] | 18 ] |
| 20 | 19 |
| 21 if (rtc_enable_bwe_test_logging) { | 20 if (rtc_enable_bwe_test_logging) { |
| 22 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] | 21 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 23 } else { | 22 } else { |
| 24 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] | 23 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 25 } | 24 } |
| 26 | 25 |
| 27 # TODO(jschuh): Bug 1348: fix this warning. | 26 # TODO(jschuh): Bug 1348: fix this warning. |
| 28 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 29 | 28 |
| 30 if (is_clang) { | 29 if (is_clang) { |
| 31 # Suppress warnings from Chrome's Clang plugins. | 30 # Suppress warnings from Chrome's Clang plugins. |
| 32 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 31 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 33 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 32 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 34 } | 33 } |
| 35 | 34 |
| 36 deps = [ | 35 deps = [ |
| 37 "../../system_wrappers", | 36 "../../system_wrappers", |
| 38 ] | 37 ] |
| 39 } | 38 } |
| OLD | NEW |