OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 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 { | 9 { |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'bitrate_controller', | 12 'target_name': 'bitrate_controller', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 15 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 'bitrate_controller_impl.cc', | 18 'bitrate_controller_impl.cc', |
19 'bitrate_controller_impl.h', | 19 'bitrate_controller_impl.h', |
20 'include/bitrate_controller.h', | 20 'include/bitrate_controller.h', |
21 'send_side_bandwidth_estimation.cc', | 21 'send_side_bandwidth_estimation.cc', |
22 'send_side_bandwidth_estimation.h', | 22 'send_side_bandwidth_estimation.h', |
23 ], | 23 ], |
| 24 'conditions': [ |
| 25 ['enable_bwe_test_logging==1', { |
| 26 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ], |
| 27 }, { |
| 28 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ], |
| 29 }], |
| 30 ], |
24 # TODO(jschuh): Bug 1348: fix size_t to int truncations. | 31 # TODO(jschuh): Bug 1348: fix size_t to int truncations. |
25 'msvs_disabled_warnings': [ 4267, ], | 32 'msvs_disabled_warnings': [ 4267, ], |
26 }, | 33 }, |
27 ], # targets | 34 ], # targets |
28 } | 35 } |
OLD | NEW |