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 declare_args() { |
| 10 # Set this to true to enable BWE test logging. |
| 11 enable_bwe_test_logging = false |
| 12 } |
| 13 |
9 source_set("remote_bitrate_estimator") { | 14 source_set("remote_bitrate_estimator") { |
10 sources = [ | 15 sources = [ |
11 "include/bwe_defines.h", | 16 "include/bwe_defines.h", |
12 "include/remote_bitrate_estimator.h", | 17 "include/remote_bitrate_estimator.h", |
13 ] | 18 ] |
14 | 19 |
15 configs += [ "../../:common_inherited_config" ] | 20 configs += [ "../../:common_inherited_config" ] |
16 | 21 |
17 deps = [ | 22 deps = [ |
18 ":rbe_components", | 23 ":rbe_components", |
(...skipping 15 matching lines...) Expand all Loading... |
34 "overuse_estimator.h", | 39 "overuse_estimator.h", |
35 "remote_bitrate_estimator_abs_send_time.cc", | 40 "remote_bitrate_estimator_abs_send_time.cc", |
36 "remote_bitrate_estimator_single_stream.cc", | 41 "remote_bitrate_estimator_single_stream.cc", |
37 "remote_estimator_proxy.cc", | 42 "remote_estimator_proxy.cc", |
38 "remote_estimator_proxy.h", | 43 "remote_estimator_proxy.h", |
39 "send_time_history.cc", | 44 "send_time_history.cc", |
40 "transport_feedback_adapter.cc", | 45 "transport_feedback_adapter.cc", |
41 "transport_feedback_adapter.h", | 46 "transport_feedback_adapter.h", |
42 ] | 47 ] |
43 | 48 |
| 49 if (enable_bwe_test_logging) { |
| 50 sources += [ "test/bwe_test_logging.cc" ] |
| 51 } |
| 52 |
44 configs += [ "../..:common_config" ] | 53 configs += [ "../..:common_config" ] |
45 public_configs = [ "../..:common_inherited_config" ] | 54 public_configs = [ "../..:common_inherited_config" ] |
46 deps = [ | 55 deps = [ |
47 "../..:webrtc_common", | 56 "../..:webrtc_common", |
48 ] | 57 ] |
49 | 58 |
50 if (is_clang) { | 59 if (is_clang) { |
51 # Suppress warnings from Chrome's Clang plugins. | 60 # Suppress warnings from Chrome's Clang plugins. |
52 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 61 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
53 configs -= [ "//build/config/clang:find_bad_constructs" ] | 62 configs -= [ "//build/config/clang:find_bad_constructs" ] |
54 } | 63 } |
55 } | 64 } |
OLD | NEW |