| 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 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 "remote_bitrate_estimator_single_stream.cc", | 27 "remote_bitrate_estimator_single_stream.cc", |
| 28 "remote_bitrate_estimator_single_stream.h", | 28 "remote_bitrate_estimator_single_stream.h", |
| 29 "remote_estimator_proxy.cc", | 29 "remote_estimator_proxy.cc", |
| 30 "remote_estimator_proxy.h", | 30 "remote_estimator_proxy.h", |
| 31 "send_time_history.cc", | 31 "send_time_history.cc", |
| 32 "test/bwe_test_logging.h", | 32 "test/bwe_test_logging.h", |
| 33 "transport_feedback_adapter.cc", | 33 "transport_feedback_adapter.cc", |
| 34 "transport_feedback_adapter.h", | 34 "transport_feedback_adapter.h", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 if (!rtc_include_tests) { | 37 if (rtc_enable_bwe_test_logging) { |
| 38 if (rtc_enable_bwe_test_logging) { | 38 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 39 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] | 39 sources += [ "test/bwe_test_logging.cc" ] |
| 40 sources += [ "test/bwe_test_logging.cc" ] | 40 } else { |
| 41 } else { | 41 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 42 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] | |
| 43 } | |
| 44 } | 42 } |
| 45 | 43 |
| 46 if (is_clang) { | 44 if (is_clang) { |
| 47 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 45 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 48 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 46 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 49 } | 47 } |
| 50 | 48 |
| 51 deps = [ | 49 deps = [ |
| 52 "../..:webrtc_common", | 50 "../..:webrtc_common", |
| 53 "../../base:rtc_base_approved", | 51 "../../base:rtc_base_approved", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 83 "test/metric_recorder.h", | 81 "test/metric_recorder.h", |
| 84 "test/packet.h", | 82 "test/packet.h", |
| 85 "test/packet_receiver.cc", | 83 "test/packet_receiver.cc", |
| 86 "test/packet_receiver.h", | 84 "test/packet_receiver.h", |
| 87 "test/packet_sender.cc", | 85 "test/packet_sender.cc", |
| 88 "test/packet_sender.h", | 86 "test/packet_sender.h", |
| 89 ] | 87 ] |
| 90 | 88 |
| 91 if (rtc_enable_bwe_test_logging) { | 89 if (rtc_enable_bwe_test_logging) { |
| 92 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] | 90 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 93 sources += [ "test/bwe_test_logging.cc" ] | |
| 94 } else { | 91 } else { |
| 95 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] | 92 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 96 } | 93 } |
| 97 | 94 |
| 98 if (is_clang) { | 95 if (is_clang) { |
| 99 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 96 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 100 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 97 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 101 } | 98 } |
| 102 | 99 |
| 103 if (is_win) { | 100 if (is_win) { |
| 104 cflags = [ | 101 cflags = [ |
| 105 # TODO(kjellander): Bug 261: fix this warning. | 102 # TODO(kjellander): Bug 261: fix this warning. |
| 106 "/wd4373", # virtual function override. | 103 "/wd4373", # virtual function override. |
| 107 ] | 104 ] |
| 108 } | 105 } |
| 109 | 106 |
| 110 deps = [ | 107 deps = [ |
| 111 "../../test:test_support", | 108 "../../test:test_support", |
| 112 "../pacing", | 109 "../pacing", |
| 113 "//testing/gmock", | 110 "//testing/gmock", |
| 114 "//testing/gtest", | 111 "//testing/gtest", |
| 115 ] | 112 ] |
| 116 } | 113 } |
| 117 } | 114 } |
| OLD | NEW |