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 28 matching lines...) Expand all Loading... |
39 deps = [ | 39 deps = [ |
40 "../../base:rtc_base_approved", | 40 "../../base:rtc_base_approved", |
41 "../../system_wrappers", | 41 "../../system_wrappers", |
42 "../rtp_rtcp", | 42 "../rtp_rtcp", |
43 ] | 43 ] |
44 } | 44 } |
45 | 45 |
46 if (rtc_include_tests) { | 46 if (rtc_include_tests) { |
47 rtc_source_set("bitrate_controller_unittests") { | 47 rtc_source_set("bitrate_controller_unittests") { |
48 testonly = true | 48 testonly = true |
| 49 if (!is_android && !is_ios) { # Generated targets makes this check break. |
| 50 visibility = [ "//webrtc/modules:modules_unittests" ] |
| 51 } |
49 sources = [ | 52 sources = [ |
50 "bitrate_controller_unittest.cc", | 53 "bitrate_controller_unittest.cc", |
51 "send_side_bandwidth_estimation_unittest.cc", | 54 "send_side_bandwidth_estimation_unittest.cc", |
52 ] | 55 ] |
53 deps = [ | 56 deps = [ |
54 ":bitrate_controller", | 57 ":bitrate_controller", |
55 "../../test:field_trial", | 58 "../../test:field_trial", |
56 "../../test:test_support", | 59 "../../test:test_support", |
57 "../remote_bitrate_estimator:remote_bitrate_estimator", | 60 "../remote_bitrate_estimator:remote_bitrate_estimator", |
58 "//testing/gmock", | 61 "//testing/gmock", |
59 ] | 62 ] |
60 if (!build_with_chromium && is_clang) { | 63 if (!build_with_chromium && is_clang) { |
61 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 64 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
62 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 65 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
63 } | 66 } |
64 } | 67 } |
65 } | 68 } |
OLD | NEW |