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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 } | 123 } |
124 | 124 |
125 if (rtc_include_tests) { | 125 if (rtc_include_tests) { |
126 rtc_source_set("call_tests") { | 126 rtc_source_set("call_tests") { |
127 testonly = true | 127 testonly = true |
128 | 128 |
129 # Skip restricting visibility on mobile platforms since the tests on those | 129 # Skip restricting visibility on mobile platforms since the tests on those |
130 # gets additional generated targets which would require many lines here to | 130 # gets additional generated targets which would require many lines here to |
131 # cover (which would be confusing to read and hard to maintain). | 131 # cover (which would be confusing to read and hard to maintain). |
132 if (!is_android && !is_ios) { | 132 if (!is_android && !is_ios) { |
133 visibility = [ "//webrtc:video_engine_tests" ] | 133 visibility = [ "..:video_engine_tests" ] |
134 } | 134 } |
135 sources = [ | 135 sources = [ |
136 "bitrate_allocator_unittest.cc", | 136 "bitrate_allocator_unittest.cc", |
137 "bitrate_estimator_tests.cc", | 137 "bitrate_estimator_tests.cc", |
138 "call_unittest.cc", | 138 "call_unittest.cc", |
139 "flexfec_receive_stream_unittest.cc", | 139 "flexfec_receive_stream_unittest.cc", |
140 "rtcp_demuxer_unittest.cc", | 140 "rtcp_demuxer_unittest.cc", |
141 "rtp_demuxer_unittest.cc", | 141 "rtp_demuxer_unittest.cc", |
142 "rtp_rtcp_demuxer_helper_unittest.cc", | 142 "rtp_rtcp_demuxer_helper_unittest.cc", |
143 "rtx_receive_stream_unittest.cc", | 143 "rtx_receive_stream_unittest.cc", |
(...skipping 29 matching lines...) Expand all Loading... |
173 } | 173 } |
174 } | 174 } |
175 | 175 |
176 rtc_source_set("call_perf_tests") { | 176 rtc_source_set("call_perf_tests") { |
177 testonly = true | 177 testonly = true |
178 | 178 |
179 # Skip restricting visibility on mobile platforms since the tests on those | 179 # Skip restricting visibility on mobile platforms since the tests on those |
180 # gets additional generated targets which would require many lines here to | 180 # gets additional generated targets which would require many lines here to |
181 # cover (which would be confusing to read and hard to maintain). | 181 # cover (which would be confusing to read and hard to maintain). |
182 if (!is_android && !is_ios) { | 182 if (!is_android && !is_ios) { |
183 visibility = [ "//webrtc:webrtc_perf_tests" ] | 183 visibility = [ "..:webrtc_perf_tests" ] |
184 } | 184 } |
185 sources = [ | 185 sources = [ |
186 "call_perf_tests.cc", | 186 "call_perf_tests.cc", |
187 "rampup_tests.cc", | 187 "rampup_tests.cc", |
188 "rampup_tests.h", | 188 "rampup_tests.h", |
189 ] | 189 ] |
190 deps = [ | 190 deps = [ |
191 ":call_interfaces", | 191 ":call_interfaces", |
192 "..:webrtc_common", | 192 "..:webrtc_common", |
193 "../api/audio_codecs:builtin_audio_encoder_factory", | 193 "../api/audio_codecs:builtin_audio_encoder_factory", |
194 "../base:rtc_base_approved", | 194 "../base:rtc_base_approved", |
195 "../logging:rtc_event_log_api", | 195 "../logging:rtc_event_log_api", |
196 "../modules/audio_coding", | 196 "../modules/audio_coding", |
197 "../modules/audio_mixer:audio_mixer_impl", | 197 "../modules/audio_mixer:audio_mixer_impl", |
198 "../modules/rtp_rtcp", | 198 "../modules/rtp_rtcp", |
199 "../system_wrappers", | 199 "../system_wrappers", |
200 "../system_wrappers:metrics_default", | 200 "../system_wrappers:metrics_default", |
201 "../test:direct_transport", | 201 "../test:direct_transport", |
202 "../test:fake_audio_device", | 202 "../test:fake_audio_device", |
| 203 "../test:field_trial", |
| 204 "../test:test_common", |
203 "../test:test_support", | 205 "../test:test_support", |
204 "../test:video_test_common", | 206 "../test:video_test_common", |
205 "../video", | 207 "../video", |
206 "../voice_engine", | 208 "../voice_engine", |
207 "//testing/gtest", | 209 "//testing/gtest", |
208 "//webrtc/test:field_trial", | |
209 "//webrtc/test:test_common", | |
210 ] | 210 ] |
211 if (!build_with_chromium && is_clang) { | 211 if (!build_with_chromium && is_clang) { |
212 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 212 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
213 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 213 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
214 } | 214 } |
215 } | 215 } |
216 } | 216 } |
OLD | NEW |