OLD | NEW |
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "../modules/rtp_rtcp", | 66 "../modules/rtp_rtcp", |
67 "../modules/utility", | 67 "../modules/utility", |
68 "../system_wrappers", | 68 "../system_wrappers", |
69 "../video", | 69 "../video", |
70 ] | 70 ] |
71 } | 71 } |
72 | 72 |
73 if (rtc_include_tests) { | 73 if (rtc_include_tests) { |
74 rtc_source_set("call_tests") { | 74 rtc_source_set("call_tests") { |
75 testonly = true | 75 testonly = true |
| 76 |
| 77 # Skip restricting visibility on mobile platforms since the tests on those |
| 78 # gets additional generated targets which would require many lines here to |
| 79 # cover (which would be confusing to read and hard to maintain). |
| 80 if (!is_android && !is_ios) { |
| 81 visibility = [ "//webrtc:video_engine_tests" ] |
| 82 } |
76 sources = [ | 83 sources = [ |
77 "bitrate_allocator_unittest.cc", | 84 "bitrate_allocator_unittest.cc", |
78 "bitrate_estimator_tests.cc", | 85 "bitrate_estimator_tests.cc", |
79 "call_unittest.cc", | 86 "call_unittest.cc", |
80 "flexfec_receive_stream_unittest.cc", | 87 "flexfec_receive_stream_unittest.cc", |
81 ] | 88 ] |
82 deps = [ | 89 deps = [ |
83 ":call", | 90 ":call", |
84 "../base:rtc_base_approved", | 91 "../base:rtc_base_approved", |
85 "../logging:rtc_event_log_api", | 92 "../logging:rtc_event_log_api", |
(...skipping 12 matching lines...) Expand all Loading... |
98 "//testing/gtest", | 105 "//testing/gtest", |
99 ] | 106 ] |
100 if (!build_with_chromium && is_clang) { | 107 if (!build_with_chromium && is_clang) { |
101 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 108 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
102 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 109 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
103 } | 110 } |
104 } | 111 } |
105 | 112 |
106 rtc_source_set("call_perf_tests") { | 113 rtc_source_set("call_perf_tests") { |
107 testonly = true | 114 testonly = true |
| 115 |
| 116 # Skip restricting visibility on mobile platforms since the tests on those |
| 117 # gets additional generated targets which would require many lines here to |
| 118 # cover (which would be confusing to read and hard to maintain). |
| 119 if (!is_android && !is_ios) { |
| 120 visibility = [ "//webrtc:webrtc_perf_tests" ] |
| 121 } |
108 sources = [ | 122 sources = [ |
109 "call_perf_tests.cc", | 123 "call_perf_tests.cc", |
110 "rampup_tests.cc", | 124 "rampup_tests.cc", |
111 "rampup_tests.h", | 125 "rampup_tests.h", |
112 ] | 126 ] |
113 deps = [ | 127 deps = [ |
114 ":call_interfaces", | 128 ":call_interfaces", |
115 "..:webrtc_common", | 129 "..:webrtc_common", |
116 "../base:rtc_base_approved", | 130 "../base:rtc_base_approved", |
117 "../logging:rtc_event_log_api", | 131 "../logging:rtc_event_log_api", |
(...skipping 11 matching lines...) Expand all Loading... |
129 "//testing/gtest", | 143 "//testing/gtest", |
130 "//webrtc/test:field_trial", | 144 "//webrtc/test:field_trial", |
131 "//webrtc/test:test_common", | 145 "//webrtc/test:test_common", |
132 ] | 146 ] |
133 if (!build_with_chromium && is_clang) { | 147 if (!build_with_chromium && is_clang) { |
134 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 148 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
135 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 149 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
136 } | 150 } |
137 } | 151 } |
138 } | 152 } |
OLD | NEW |