| 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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "../pacing", | 55 "../pacing", |
| 56 "../remote_bitrate_estimator", | 56 "../remote_bitrate_estimator", |
| 57 "../rtp_rtcp", | 57 "../rtp_rtcp", |
| 58 "../utility", | 58 "../utility", |
| 59 ] | 59 ] |
| 60 } | 60 } |
| 61 | 61 |
| 62 if (rtc_include_tests) { | 62 if (rtc_include_tests) { |
| 63 rtc_source_set("congestion_controller_unittests") { | 63 rtc_source_set("congestion_controller_unittests") { |
| 64 testonly = true | 64 testonly = true |
| 65 |
| 66 # Skip restricting visibility on mobile platforms since the tests on those |
| 67 # gets additional generated targets which would require many lines here to |
| 68 # cover (which would be confusing to read and hard to maintain). |
| 69 if (!is_android && !is_ios) { |
| 70 visibility = [ "//webrtc/modules:modules_unittests" ] |
| 71 } |
| 65 sources = [ | 72 sources = [ |
| 66 "congestion_controller_unittest.cc", | 73 "congestion_controller_unittest.cc", |
| 67 "congestion_controller_unittests_helper.cc", | 74 "congestion_controller_unittests_helper.cc", |
| 68 "congestion_controller_unittests_helper.h", | 75 "congestion_controller_unittests_helper.h", |
| 69 "delay_based_bwe_unittest.cc", | 76 "delay_based_bwe_unittest.cc", |
| 70 "delay_based_bwe_unittest_helper.cc", | 77 "delay_based_bwe_unittest_helper.cc", |
| 71 "delay_based_bwe_unittest_helper.h", | 78 "delay_based_bwe_unittest_helper.h", |
| 72 "median_slope_estimator_unittest.cc", | 79 "median_slope_estimator_unittest.cc", |
| 73 "probe_bitrate_estimator_unittest.cc", | 80 "probe_bitrate_estimator_unittest.cc", |
| 74 "probe_controller_unittest.cc", | 81 "probe_controller_unittest.cc", |
| 75 "transport_feedback_adapter_unittest.cc", | 82 "transport_feedback_adapter_unittest.cc", |
| 76 "trendline_estimator_unittest.cc", | 83 "trendline_estimator_unittest.cc", |
| 77 ] | 84 ] |
| 78 deps = [ | 85 deps = [ |
| 79 ":congestion_controller", | 86 ":congestion_controller", |
| 80 "../../base:rtc_base_approved", | 87 "../../base:rtc_base_approved", |
| 81 "../../system_wrappers:system_wrappers", | 88 "../../system_wrappers:system_wrappers", |
| 82 "../../test:field_trial", | 89 "../../test:field_trial", |
| 83 "../../test:test_support", | 90 "../../test:test_support", |
| 84 "../bitrate_controller:bitrate_controller", | 91 "../bitrate_controller:bitrate_controller", |
| 85 "../pacing:pacing", | 92 "../pacing:pacing", |
| 93 "../remote_bitrate_estimator:mock_remote_bitrate_observer", |
| 86 "../remote_bitrate_estimator:remote_bitrate_estimator", | 94 "../remote_bitrate_estimator:remote_bitrate_estimator", |
| 87 "../remote_bitrate_estimator:remote_bitrate_estimator_unittests", | |
| 88 "../rtp_rtcp:rtp_rtcp", | 95 "../rtp_rtcp:rtp_rtcp", |
| 89 "//testing/gmock", | 96 "//testing/gmock", |
| 90 ] | 97 ] |
| 91 if (!build_with_chromium && is_clang) { | 98 if (!build_with_chromium && is_clang) { |
| 92 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 99 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 93 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 100 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 94 } | 101 } |
| 95 } | 102 } |
| 96 } | 103 } |
| OLD | NEW |