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 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 ":rtpcat", | 1161 ":rtpcat", |
1162 ":webrtc_opus_fec_test", | 1162 ":webrtc_opus_fec_test", |
1163 ] | 1163 ] |
1164 if (rtc_enable_protobuf) { | 1164 if (rtc_enable_protobuf) { |
1165 public_deps += [ ":neteq_rtpplay" ] | 1165 public_deps += [ ":neteq_rtpplay" ] |
1166 } | 1166 } |
1167 } | 1167 } |
1168 | 1168 |
1169 rtc_source_set("audio_coding_modules_tests") { | 1169 rtc_source_set("audio_coding_modules_tests") { |
1170 testonly = true | 1170 testonly = true |
| 1171 |
| 1172 # Skip restricting visibility on mobile platforms since the tests on those |
| 1173 # gets additional generated targets which would require many lines here to |
| 1174 # cover (which would be confusing to read and hard to maintain). |
| 1175 if (!is_android && !is_ios) { |
| 1176 visibility = [ "//webrtc/modules:modules_tests" ] |
| 1177 } |
1171 sources = [ | 1178 sources = [ |
1172 "test/APITest.cc", | 1179 "test/APITest.cc", |
1173 "test/Channel.cc", | 1180 "test/Channel.cc", |
1174 "test/EncodeDecodeTest.cc", | 1181 "test/EncodeDecodeTest.cc", |
1175 "test/PCMFile.cc", | 1182 "test/PCMFile.cc", |
1176 "test/PacketLossTest.cc", | 1183 "test/PacketLossTest.cc", |
1177 "test/RTPFile.cc", | 1184 "test/RTPFile.cc", |
1178 "test/TestAllCodecs.cc", | 1185 "test/TestAllCodecs.cc", |
1179 "test/TestRedFec.cc", | 1186 "test/TestRedFec.cc", |
1180 "test/TestStereo.cc", | 1187 "test/TestStereo.cc", |
(...skipping 24 matching lines...) Expand all Loading... |
1205 ] | 1212 ] |
1206 } | 1213 } |
1207 if (!build_with_chromium && is_clang) { | 1214 if (!build_with_chromium && is_clang) { |
1208 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1215 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1209 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1216 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1210 } | 1217 } |
1211 } | 1218 } |
1212 | 1219 |
1213 rtc_source_set("audio_coding_perf_tests") { | 1220 rtc_source_set("audio_coding_perf_tests") { |
1214 testonly = true | 1221 testonly = true |
| 1222 |
| 1223 # Skip restricting visibility on mobile platforms since the tests on those |
| 1224 # gets additional generated targets which would require many lines here to |
| 1225 # cover (which would be confusing to read and hard to maintain). |
| 1226 if (!is_android && !is_ios) { |
| 1227 visibility = [ "//webrtc:webrtc_perf_tests" ] |
| 1228 } |
1215 sources = [ | 1229 sources = [ |
1216 "codecs/opus/opus_complexity_unittest.cc", | 1230 "codecs/opus/opus_complexity_unittest.cc", |
1217 "neteq/test/neteq_performance_unittest.cc", | 1231 "neteq/test/neteq_performance_unittest.cc", |
1218 ] | 1232 ] |
1219 deps = [ | 1233 deps = [ |
1220 ":neteq_test_support", | 1234 ":neteq_test_support", |
1221 ":neteq_unittest_tools", | 1235 ":neteq_unittest_tools", |
1222 ":webrtc_opus", | 1236 ":webrtc_opus", |
1223 "../..:webrtc_common", | 1237 "../..:webrtc_common", |
1224 "../../base:protobuf_utils", | 1238 "../../base:protobuf_utils", |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2008 | 2022 |
2009 if (!build_with_chromium && is_clang) { | 2023 if (!build_with_chromium && is_clang) { |
2010 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 2024 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
2011 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 2025 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
2012 } | 2026 } |
2013 } | 2027 } |
2014 | 2028 |
2015 rtc_source_set("audio_coding_unittests") { | 2029 rtc_source_set("audio_coding_unittests") { |
2016 testonly = true | 2030 testonly = true |
2017 | 2031 |
| 2032 # Skip restricting visibility on mobile platforms since the tests on those |
| 2033 # gets additional generated targets which would require many lines here to |
| 2034 # cover (which would be confusing to read and hard to maintain). |
| 2035 if (!is_android && !is_ios) { |
| 2036 visibility = [ "//webrtc/modules:modules_unittests" ] |
| 2037 } |
2018 sources = [ | 2038 sources = [ |
2019 "acm2/acm_receiver_unittest.cc", | 2039 "acm2/acm_receiver_unittest.cc", |
2020 "acm2/audio_coding_module_unittest.cc", | 2040 "acm2/audio_coding_module_unittest.cc", |
2021 "acm2/call_statistics_unittest.cc", | 2041 "acm2/call_statistics_unittest.cc", |
2022 "acm2/codec_manager_unittest.cc", | 2042 "acm2/codec_manager_unittest.cc", |
2023 "acm2/rent_a_codec_unittest.cc", | 2043 "acm2/rent_a_codec_unittest.cc", |
2024 "audio_network_adaptor/audio_network_adaptor_impl_unittest.cc", | 2044 "audio_network_adaptor/audio_network_adaptor_impl_unittest.cc", |
2025 "audio_network_adaptor/bitrate_controller_unittest.cc", | 2045 "audio_network_adaptor/bitrate_controller_unittest.cc", |
2026 "audio_network_adaptor/channel_controller_unittest.cc", | 2046 "audio_network_adaptor/channel_controller_unittest.cc", |
2027 "audio_network_adaptor/controller_manager_unittest.cc", | 2047 "audio_network_adaptor/controller_manager_unittest.cc", |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2171 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2191 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
2172 # TODO(kwiberg): Remove this. | 2192 # TODO(kwiberg): Remove this. |
2173 rtc_source_set("builtin_audio_decoder_factory") { | 2193 rtc_source_set("builtin_audio_decoder_factory") { |
2174 sources = [ | 2194 sources = [ |
2175 "codecs/builtin_audio_decoder_factory.h", | 2195 "codecs/builtin_audio_decoder_factory.h", |
2176 ] | 2196 ] |
2177 deps = [ | 2197 deps = [ |
2178 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2198 "../../api/audio_codecs:builtin_audio_decoder_factory", |
2179 ] | 2199 ] |
2180 } | 2200 } |
OLD | NEW |