| OLD | NEW |
| 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 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 'includes': [ | 10 'includes': [ |
| 11 '../../build/common.gypi', | 11 '../../build/common.gypi', |
| 12 ], | 12 ], |
| 13 'variables': { | |
| 14 # Set this to true to enable BWE test logging. | |
| 15 'enable_bwe_test_logging%': 0, | |
| 16 }, | |
| 17 'targets': [ | 13 'targets': [ |
| 18 { | 14 { |
| 19 'target_name': 'remote_bitrate_estimator', | 15 'target_name': 'remote_bitrate_estimator', |
| 20 'type': 'static_library', | 16 'type': 'static_library', |
| 21 'dependencies': [ | 17 'dependencies': [ |
| 22 '<(webrtc_root)/common.gyp:webrtc_common', | 18 '<(webrtc_root)/common.gyp:webrtc_common', |
| 23 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 19 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 24 ], | 20 ], |
| 25 'sources': [ | 21 'sources': [ |
| 26 'include/bwe_defines.h', | 22 'include/bwe_defines.h', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 40 'remote_bitrate_estimator_single_stream.cc', | 36 'remote_bitrate_estimator_single_stream.cc', |
| 41 'remote_bitrate_estimator_single_stream.h', | 37 'remote_bitrate_estimator_single_stream.h', |
| 42 'remote_estimator_proxy.cc', | 38 'remote_estimator_proxy.cc', |
| 43 'remote_estimator_proxy.h', | 39 'remote_estimator_proxy.h', |
| 44 'send_time_history.cc', | 40 'send_time_history.cc', |
| 45 'transport_feedback_adapter.cc', | 41 'transport_feedback_adapter.cc', |
| 46 'transport_feedback_adapter.h', | 42 'transport_feedback_adapter.h', |
| 47 'test/bwe_test_logging.h', | 43 'test/bwe_test_logging.h', |
| 48 ], # source | 44 ], # source |
| 49 'conditions': [ | 45 'conditions': [ |
| 50 ['enable_bwe_test_logging==1', { | 46 ['include_tests==0', { |
| 51 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ], | 47 'conditions': [ |
| 52 'sources': [ | 48 ['enable_bwe_test_logging==1', { |
| 53 'test/bwe_test_logging.cc' | 49 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ], |
| 50 'sources': [ |
| 51 'test/bwe_test_logging.cc' |
| 52 ], |
| 53 }, { |
| 54 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ], |
| 55 }], |
| 54 ], | 56 ], |
| 55 }, { | |
| 56 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ], | |
| 57 }], | 57 }], |
| 58 ], | 58 ], |
| 59 }, | 59 }, |
| 60 ], # targets | 60 ], # targets |
| 61 'conditions': [ | 61 'conditions': [ |
| 62 ['include_tests==1', { | 62 ['include_tests==1', { |
| 63 'targets': [ | 63 'targets': [ |
| 64 { | 64 { |
| 65 'target_name': 'bwe_simulator', | 65 'target_name': 'bwe_simulator', |
| 66 'type': 'static_library', | 66 'type': 'static_library', |
| 67 'dependencies': [ | 67 'dependencies': [ |
| 68 '<(webrtc_root)/modules/modules.gyp:paced_sender', | 68 '<(webrtc_root)/modules/modules.gyp:paced_sender', |
| 69 '<(webrtc_root)/test/test.gyp:test_support', | 69 '<(webrtc_root)/test/test.gyp:test_support', |
| 70 '<(DEPTH)/testing/gtest.gyp:gtest', | 70 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 71 '<(DEPTH)/testing/gmock.gyp:gmock', | 71 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 72 ], | 72 ], |
| 73 'sources': [ | 73 'sources': [ |
| 74 'bwe_simulations.cc', |
| 74 'test/bwe.cc', | 75 'test/bwe.cc', |
| 75 'test/bwe.h', | 76 'test/bwe.h', |
| 76 'test/bwe_test.cc', | 77 'test/bwe_test.cc', |
| 77 'test/bwe_test.h', | 78 'test/bwe_test.h', |
| 78 'test/bwe_test_baselinefile.cc', | 79 'test/bwe_test_baselinefile.cc', |
| 79 'test/bwe_test_baselinefile.h', | 80 'test/bwe_test_baselinefile.h', |
| 80 'test/bwe_test_fileutils.cc', | 81 'test/bwe_test_fileutils.cc', |
| 81 'test/bwe_test_fileutils.h', | 82 'test/bwe_test_fileutils.h', |
| 82 'test/bwe_test_framework.cc', | 83 'test/bwe_test_framework.cc', |
| 83 'test/bwe_test_framework.h', | 84 'test/bwe_test_framework.h', |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 ], | 164 ], |
| 164 }, | 165 }, |
| 165 'sources': [ | 166 'sources': [ |
| 166 'tools/bwe_rtp_play.cc', | 167 'tools/bwe_rtp_play.cc', |
| 167 ], # source | 168 ], # source |
| 168 }, | 169 }, |
| 169 ], | 170 ], |
| 170 }], # include_tests==1 | 171 }], # include_tests==1 |
| 171 ], | 172 ], |
| 172 } | 173 } |
| OLD | NEW |