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("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 deps += [ ":isac_fix" ] | 861 deps += [ ":isac_fix" ] |
862 } else { | 862 } else { |
863 defines += [ "WEBRTC_CODEC_ISAC" ] | 863 defines += [ "WEBRTC_CODEC_ISAC" ] |
864 deps += [ ":isac" ] | 864 deps += [ ":isac" ] |
865 } | 865 } |
866 defines += [ "WEBRTC_CODEC_G722" ] | 866 defines += [ "WEBRTC_CODEC_G722" ] |
867 deps += [ ":g722" ] | 867 deps += [ ":g722" ] |
868 } | 868 } |
869 } | 869 } |
870 | 870 |
| 871 # Although providing only test support, this target must be outside of the |
| 872 # rtc_include_tests conditional. The reason is that it supports fuzzer tests |
| 873 # that ultimately are built and run as a part of the Chromium ecosystem, which |
| 874 # does not set the rtc_include_tests flag. |
| 875 rtc_source_set("neteq_test_minimal") { |
| 876 testonly = true |
| 877 sources = [ |
| 878 "neteq/tools/encode_neteq_input.cc", |
| 879 "neteq/tools/encode_neteq_input.h", |
| 880 "neteq/tools/neteq_test.cc", |
| 881 "neteq/tools/neteq_test.h", |
| 882 ] |
| 883 |
| 884 if (is_clang) { |
| 885 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 886 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 887 } |
| 888 } |
| 889 |
871 if (rtc_include_tests) { | 890 if (rtc_include_tests) { |
872 rtc_source_set("acm_receive_test") { | 891 rtc_source_set("acm_receive_test") { |
873 testonly = true | 892 testonly = true |
874 sources = [ | 893 sources = [ |
875 "acm2/acm_receive_test_oldapi.cc", | 894 "acm2/acm_receive_test_oldapi.cc", |
876 "acm2/acm_receive_test_oldapi.h", | 895 "acm2/acm_receive_test_oldapi.h", |
877 ] | 896 ] |
878 | 897 |
879 defines = audio_coding_defines | 898 defines = audio_coding_defines |
880 | 899 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 "neteq/tools/constant_pcm_packet_source.h", | 1168 "neteq/tools/constant_pcm_packet_source.h", |
1150 "neteq/tools/fake_decode_from_file.cc", | 1169 "neteq/tools/fake_decode_from_file.cc", |
1151 "neteq/tools/fake_decode_from_file.h", | 1170 "neteq/tools/fake_decode_from_file.h", |
1152 "neteq/tools/input_audio_file.cc", | 1171 "neteq/tools/input_audio_file.cc", |
1153 "neteq/tools/input_audio_file.h", | 1172 "neteq/tools/input_audio_file.h", |
1154 "neteq/tools/neteq_input.h", | 1173 "neteq/tools/neteq_input.h", |
1155 "neteq/tools/neteq_packet_source_input.cc", | 1174 "neteq/tools/neteq_packet_source_input.cc", |
1156 "neteq/tools/neteq_packet_source_input.h", | 1175 "neteq/tools/neteq_packet_source_input.h", |
1157 "neteq/tools/neteq_replacement_input.cc", | 1176 "neteq/tools/neteq_replacement_input.cc", |
1158 "neteq/tools/neteq_replacement_input.h", | 1177 "neteq/tools/neteq_replacement_input.h", |
1159 "neteq/tools/neteq_test.cc", | |
1160 "neteq/tools/neteq_test.h", | |
1161 "neteq/tools/output_audio_file.h", | 1178 "neteq/tools/output_audio_file.h", |
1162 "neteq/tools/output_wav_file.h", | 1179 "neteq/tools/output_wav_file.h", |
1163 "neteq/tools/packet.cc", | 1180 "neteq/tools/packet.cc", |
1164 "neteq/tools/packet.h", | 1181 "neteq/tools/packet.h", |
1165 "neteq/tools/packet_source.cc", | 1182 "neteq/tools/packet_source.cc", |
1166 "neteq/tools/packet_source.h", | 1183 "neteq/tools/packet_source.h", |
1167 "neteq/tools/resample_input_audio_file.cc", | 1184 "neteq/tools/resample_input_audio_file.cc", |
1168 "neteq/tools/resample_input_audio_file.h", | 1185 "neteq/tools/resample_input_audio_file.h", |
1169 "neteq/tools/rtp_file_source.cc", | 1186 "neteq/tools/rtp_file_source.cc", |
1170 "neteq/tools/rtp_file_source.h", | 1187 "neteq/tools/rtp_file_source.h", |
1171 "neteq/tools/rtp_generator.cc", | 1188 "neteq/tools/rtp_generator.cc", |
1172 "neteq/tools/rtp_generator.h", | 1189 "neteq/tools/rtp_generator.h", |
1173 ] | 1190 ] |
1174 | 1191 |
1175 public_configs = [ ":neteq_unittest_tools_config" ] | 1192 public_configs = [ ":neteq_unittest_tools_config" ] |
1176 | 1193 |
1177 if (is_clang) { | 1194 if (is_clang) { |
1178 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1195 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1179 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1196 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1180 } | 1197 } |
1181 | 1198 |
1182 deps = [ | 1199 deps = [ |
| 1200 ":neteq_test_minimal", |
1183 "../../common_audio", | 1201 "../../common_audio", |
1184 "../../test:rtp_test_utils", | 1202 "../../test:rtp_test_utils", |
1185 "../rtp_rtcp", | 1203 "../rtp_rtcp", |
1186 ] | 1204 ] |
1187 | 1205 |
1188 if (rtc_enable_protobuf) { | 1206 if (rtc_enable_protobuf) { |
1189 deps += [ ":rtc_event_log_source" ] | 1207 deps += [ ":rtc_event_log_source" ] |
1190 } | 1208 } |
1191 } | 1209 } |
1192 | 1210 |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 "//testing/gtest", | 1615 "//testing/gtest", |
1598 ] | 1616 ] |
1599 | 1617 |
1600 if (is_clang) { | 1618 if (is_clang) { |
1601 # Suppress warnings from Chrome's Clang plugins. | 1619 # Suppress warnings from Chrome's Clang plugins. |
1602 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1620 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1603 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1621 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1604 } | 1622 } |
1605 } | 1623 } |
1606 } | 1624 } |
OLD | NEW |