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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 49 |
50 # Skip restricting visibility on mobile platforms since the tests on those | 50 # Skip restricting visibility on mobile platforms since the tests on those |
51 # gets additional generated targets which would require many lines here to | 51 # gets additional generated targets which would require many lines here to |
52 # cover (which would be confusing to read and hard to maintain). | 52 # cover (which would be confusing to read and hard to maintain). |
53 if (!is_android && !is_ios) { | 53 if (!is_android && !is_ios) { |
54 visibility = [ "//webrtc/modules:modules_unittests" ] | 54 visibility = [ "..:modules_unittests" ] |
55 } | 55 } |
56 sources = [ | 56 sources = [ |
57 "bitrate_controller_unittest.cc", | 57 "bitrate_controller_unittest.cc", |
58 "send_side_bandwidth_estimation_unittest.cc", | 58 "send_side_bandwidth_estimation_unittest.cc", |
59 ] | 59 ] |
60 deps = [ | 60 deps = [ |
61 ":bitrate_controller", | 61 ":bitrate_controller", |
62 "../../test:field_trial", | 62 "../../test:field_trial", |
63 "../../test:test_support", | 63 "../../test:test_support", |
64 "../remote_bitrate_estimator:remote_bitrate_estimator", | 64 "../remote_bitrate_estimator:remote_bitrate_estimator", |
65 "//testing/gmock", | 65 "//testing/gmock", |
66 ] | 66 ] |
67 if (!build_with_chromium && is_clang) { | 67 if (!build_with_chromium && is_clang) { |
68 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 68 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
69 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 69 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
70 } | 70 } |
71 } | 71 } |
72 } | 72 } |
OLD | NEW |