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 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 11 | rtc_static_library("bitrate_controller") { |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 12 | sources = [ |
| 13 | "bitrate_controller_impl.cc", |
| 14 | "bitrate_controller_impl.h", |
| 15 | "include/bitrate_controller.h", |
| 16 | "send_side_bandwidth_estimation.cc", |
| 17 | "send_side_bandwidth_estimation.h", |
| 18 | ] |
| 19 | |
gaetano.carlucci | 52a5703 | 2016-09-14 05:04:36 -0700 | [diff] [blame] | 20 | if (rtc_enable_bwe_test_logging) { |
| 21 | defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 22 | } else { |
| 23 | defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 24 | } |
| 25 | |
kjellander | 8f4419b | 2016-06-02 02:09:52 -0700 | [diff] [blame] | 26 | # TODO(jschuh): Bug 1348: fix this warning. |
| 27 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 28 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame^] | 29 | if (!build_with_chromium && is_clang) { |
| 30 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 31 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 32 | } |
| 33 | |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 34 | deps = [ |
| 35 | "../../system_wrappers", |
| 36 | ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 37 | } |