| 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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 # does not set the rtc_include_tests flag. | 877 # does not set the rtc_include_tests flag. |
| 878 rtc_source_set("neteq_test_minimal") { | 878 rtc_source_set("neteq_test_minimal") { |
| 879 testonly = true | 879 testonly = true |
| 880 sources = [ | 880 sources = [ |
| 881 "neteq/tools/encode_neteq_input.cc", | 881 "neteq/tools/encode_neteq_input.cc", |
| 882 "neteq/tools/encode_neteq_input.h", | 882 "neteq/tools/encode_neteq_input.h", |
| 883 "neteq/tools/neteq_test.cc", | 883 "neteq/tools/neteq_test.cc", |
| 884 "neteq/tools/neteq_test.h", | 884 "neteq/tools/neteq_test.h", |
| 885 ] | 885 ] |
| 886 | 886 |
| 887 if (is_clang) { | 887 if (!build_with_chromium && is_clang) { |
| 888 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 888 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 889 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 889 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 890 } | 890 } |
| 891 } | 891 } |
| 892 | 892 |
| 893 if (rtc_include_tests) { | 893 if (rtc_include_tests) { |
| 894 rtc_source_set("acm_receive_test") { | 894 rtc_source_set("acm_receive_test") { |
| 895 testonly = true | 895 testonly = true |
| 896 sources = [ | 896 sources = [ |
| 897 "acm2/acm_receive_test.cc", | 897 "acm2/acm_receive_test.cc", |
| 898 "acm2/acm_receive_test.h", | 898 "acm2/acm_receive_test.h", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 945 } # delay_test | 945 } # delay_test |
| 946 | 946 |
| 947 rtc_executable("insert_packet_with_timing") { | 947 rtc_executable("insert_packet_with_timing") { |
| 948 testonly = true | 948 testonly = true |
| 949 sources = [ | 949 sources = [ |
| 950 "test/Channel.cc", | 950 "test/Channel.cc", |
| 951 "test/PCMFile.cc", | 951 "test/PCMFile.cc", |
| 952 "test/insert_packet_with_timing.cc", | 952 "test/insert_packet_with_timing.cc", |
| 953 ] | 953 ] |
| 954 | 954 |
| 955 if (is_clang) { | 955 if (!build_with_chromium && is_clang) { |
| 956 # Suppress warnings from Chrome's Clang plugins. | 956 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 957 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 958 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 957 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 959 } | 958 } |
| 960 | 959 |
| 961 deps = [ | 960 deps = [ |
| 962 ":audio_coding", | 961 ":audio_coding", |
| 963 "../../:webrtc_common", | 962 "../../:webrtc_common", |
| 964 "../../system_wrappers", | 963 "../../system_wrappers", |
| 965 "../../system_wrappers:system_wrappers_default", | 964 "../../system_wrappers:system_wrappers_default", |
| 966 "../../test:test_support", | 965 "../../test:test_support", |
| 967 "../rtp_rtcp", | 966 "../rtp_rtcp", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 982 ] | 981 ] |
| 983 } | 982 } |
| 984 } | 983 } |
| 985 | 984 |
| 986 rtc_test("audio_decoder_unittests") { | 985 rtc_test("audio_decoder_unittests") { |
| 987 testonly = true | 986 testonly = true |
| 988 sources = [ | 987 sources = [ |
| 989 "neteq/audio_decoder_unittest.cc", | 988 "neteq/audio_decoder_unittest.cc", |
| 990 ] | 989 ] |
| 991 | 990 |
| 992 if (is_clang) { | 991 if (!build_with_chromium && is_clang) { |
| 993 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 992 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 994 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 993 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 995 } | 994 } |
| 996 | 995 |
| 997 deps = [] | 996 deps = [] |
| 998 | 997 |
| 999 defines = neteq_defines | 998 defines = neteq_defines |
| 1000 | 999 |
| 1001 deps += audio_coding_deps | 1000 deps += audio_coding_deps |
| 1002 deps += [ | 1001 deps += [ |
| 1003 ":audio_decoder_interface", | 1002 ":audio_decoder_interface", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1029 proto_out_dir = "webrtc/audio_coding/neteq" | 1028 proto_out_dir = "webrtc/audio_coding/neteq" |
| 1030 } | 1029 } |
| 1031 | 1030 |
| 1032 rtc_static_library("rtc_event_log_source") { | 1031 rtc_static_library("rtc_event_log_source") { |
| 1033 testonly = true | 1032 testonly = true |
| 1034 sources = [ | 1033 sources = [ |
| 1035 "neteq/tools/rtc_event_log_source.cc", | 1034 "neteq/tools/rtc_event_log_source.cc", |
| 1036 "neteq/tools/rtc_event_log_source.h", | 1035 "neteq/tools/rtc_event_log_source.h", |
| 1037 ] | 1036 ] |
| 1038 | 1037 |
| 1039 if (is_clang) { | 1038 if (!build_with_chromium && is_clang) { |
| 1040 # Suppress warnings from the Chromium Clang plugins | 1039 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 1041 # (bugs.webrtc.org/163). | |
| 1042 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1040 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1043 } | 1041 } |
| 1044 | 1042 |
| 1045 deps = [ | 1043 deps = [ |
| 1046 "../../logging:rtc_event_log_parser", | 1044 "../../logging:rtc_event_log_parser", |
| 1047 ] | 1045 ] |
| 1048 public_deps = [ | 1046 public_deps = [ |
| 1049 "../../logging:rtc_event_log_proto", | 1047 "../../logging:rtc_event_log_proto", |
| 1050 ] | 1048 ] |
| 1051 } | 1049 } |
| 1052 | 1050 |
| 1053 rtc_test("neteq_rtpplay") { | 1051 rtc_test("neteq_rtpplay") { |
| 1054 testonly = true | 1052 testonly = true |
| 1055 defines = [] | 1053 defines = [] |
| 1056 deps = [] | 1054 deps = [] |
| 1057 sources = [ | 1055 sources = [ |
| 1058 "neteq/tools/neteq_rtpplay.cc", | 1056 "neteq/tools/neteq_rtpplay.cc", |
| 1059 ] | 1057 ] |
| 1060 | 1058 |
| 1061 if (is_clang) { | 1059 if (!build_with_chromium && is_clang) { |
| 1062 # Suppress warnings from the Chromium Clang plugins | 1060 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 1063 # (bugs.webrtc.org/163). | |
| 1064 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1061 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1065 } | 1062 } |
| 1066 | 1063 |
| 1067 if (is_win) { | 1064 if (is_win) { |
| 1068 cflags = [ | 1065 cflags = [ |
| 1069 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 1066 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 1070 "/wd4373", # virtual function override. | 1067 "/wd4373", # virtual function override. |
| 1071 ] | 1068 ] |
| 1072 } | 1069 } |
| 1073 | 1070 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1085 testonly = true | 1082 testonly = true |
| 1086 defines = [] | 1083 defines = [] |
| 1087 deps = [] | 1084 deps = [] |
| 1088 sources = [ | 1085 sources = [ |
| 1089 "codecs/isac/fix/test/isac_speed_test.cc", | 1086 "codecs/isac/fix/test/isac_speed_test.cc", |
| 1090 "codecs/opus/opus_speed_test.cc", | 1087 "codecs/opus/opus_speed_test.cc", |
| 1091 "codecs/tools/audio_codec_speed_test.cc", | 1088 "codecs/tools/audio_codec_speed_test.cc", |
| 1092 "codecs/tools/audio_codec_speed_test.h", | 1089 "codecs/tools/audio_codec_speed_test.h", |
| 1093 ] | 1090 ] |
| 1094 | 1091 |
| 1095 if (is_clang) { | 1092 if (!build_with_chromium && is_clang) { |
| 1096 # Suppress warnings from the Chromium Clang plugins | 1093 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1097 # (bugs.webrtc.org/163). | |
| 1098 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1094 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1099 } | 1095 } |
| 1100 | 1096 |
| 1101 if (is_android) { | 1097 if (is_android) { |
| 1102 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1098 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 1103 shard_timeout = 900 | 1099 shard_timeout = 900 |
| 1104 } | 1100 } |
| 1105 | 1101 |
| 1106 deps += [ | 1102 deps += [ |
| 1107 ":isac_fix", | 1103 ":isac_fix", |
| 1108 ":webrtc_opus", | 1104 ":webrtc_opus", |
| 1109 "../../system_wrappers:system_wrappers_default", | 1105 "../../system_wrappers:system_wrappers_default", |
| 1110 "../../test:test_support_main", | 1106 "../../test:test_support_main", |
| 1111 "../audio_processing/", | 1107 "../audio_processing/", |
| 1112 "//testing/gtest", | 1108 "//testing/gtest", |
| 1113 ] | 1109 ] |
| 1114 } | 1110 } |
| 1115 | 1111 |
| 1116 rtc_source_set("neteq_test_support") { | 1112 rtc_source_set("neteq_test_support") { |
| 1117 testonly = true | 1113 testonly = true |
| 1118 sources = [ | 1114 sources = [ |
| 1119 "neteq/tools/neteq_external_decoder_test.cc", | 1115 "neteq/tools/neteq_external_decoder_test.cc", |
| 1120 "neteq/tools/neteq_external_decoder_test.h", | 1116 "neteq/tools/neteq_external_decoder_test.h", |
| 1121 "neteq/tools/neteq_performance_test.cc", | 1117 "neteq/tools/neteq_performance_test.cc", |
| 1122 "neteq/tools/neteq_performance_test.h", | 1118 "neteq/tools/neteq_performance_test.h", |
| 1123 ] | 1119 ] |
| 1124 | 1120 |
| 1125 if (is_clang) { | 1121 if (!build_with_chromium && is_clang) { |
| 1126 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1122 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1127 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1123 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1128 } | 1124 } |
| 1129 | 1125 |
| 1130 deps = [ | 1126 deps = [ |
| 1131 ":neteq", | 1127 ":neteq", |
| 1132 ":neteq_unittest_tools", | 1128 ":neteq_unittest_tools", |
| 1133 ":pcm16b", | 1129 ":pcm16b", |
| 1134 "//testing/gtest", | 1130 "//testing/gtest", |
| 1135 ] | 1131 ] |
| 1136 } | 1132 } |
| 1137 | 1133 |
| 1138 rtc_source_set("neteq_quality_test_support") { | 1134 rtc_source_set("neteq_quality_test_support") { |
| 1139 testonly = true | 1135 testonly = true |
| 1140 sources = [ | 1136 sources = [ |
| 1141 "neteq/tools/neteq_quality_test.cc", | 1137 "neteq/tools/neteq_quality_test.cc", |
| 1142 "neteq/tools/neteq_quality_test.h", | 1138 "neteq/tools/neteq_quality_test.h", |
| 1143 ] | 1139 ] |
| 1144 | 1140 |
| 1145 if (is_clang) { | 1141 if (!build_with_chromium && is_clang) { |
| 1146 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1142 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1147 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1143 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1148 } | 1144 } |
| 1149 | 1145 |
| 1150 deps = [ | 1146 deps = [ |
| 1151 ":neteq", | 1147 ":neteq", |
| 1152 ":neteq_unittest_tools", | 1148 ":neteq_unittest_tools", |
| 1153 "//testing/gtest", | 1149 "//testing/gtest", |
| 1154 "//third_party/gflags", | 1150 "//third_party/gflags", |
| 1155 ] | 1151 ] |
| 1156 } | 1152 } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1187 "neteq/tools/resample_input_audio_file.cc", | 1183 "neteq/tools/resample_input_audio_file.cc", |
| 1188 "neteq/tools/resample_input_audio_file.h", | 1184 "neteq/tools/resample_input_audio_file.h", |
| 1189 "neteq/tools/rtp_file_source.cc", | 1185 "neteq/tools/rtp_file_source.cc", |
| 1190 "neteq/tools/rtp_file_source.h", | 1186 "neteq/tools/rtp_file_source.h", |
| 1191 "neteq/tools/rtp_generator.cc", | 1187 "neteq/tools/rtp_generator.cc", |
| 1192 "neteq/tools/rtp_generator.h", | 1188 "neteq/tools/rtp_generator.h", |
| 1193 ] | 1189 ] |
| 1194 | 1190 |
| 1195 public_configs = [ ":neteq_unittest_tools_config" ] | 1191 public_configs = [ ":neteq_unittest_tools_config" ] |
| 1196 | 1192 |
| 1197 if (is_clang) { | 1193 if (!build_with_chromium && is_clang) { |
| 1198 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1194 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1199 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1195 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1200 } | 1196 } |
| 1201 | 1197 |
| 1202 deps = [ | 1198 deps = [ |
| 1203 ":neteq_test_minimal", | 1199 ":neteq_test_minimal", |
| 1204 "../../common_audio", | 1200 "../../common_audio", |
| 1205 "../../test:rtp_test_utils", | 1201 "../../test:rtp_test_utils", |
| 1206 "../rtp_rtcp", | 1202 "../rtp_rtcp", |
| 1207 ] | 1203 ] |
| 1208 | 1204 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1360 | 1356 |
| 1361 deps = [ | 1357 deps = [ |
| 1362 ":neteq", | 1358 ":neteq", |
| 1363 ":neteq_unittest_tools", | 1359 ":neteq_unittest_tools", |
| 1364 ":pcm16b", | 1360 ":pcm16b", |
| 1365 "../../system_wrappers:system_wrappers_default", | 1361 "../../system_wrappers:system_wrappers_default", |
| 1366 "//testing/gtest", | 1362 "//testing/gtest", |
| 1367 "//third_party/gflags:gflags", | 1363 "//third_party/gflags:gflags", |
| 1368 ] | 1364 ] |
| 1369 | 1365 |
| 1370 if (is_clang) { | 1366 if (!build_with_chromium && is_clang) { |
| 1371 # Suppress warnings from Chrome's Clang plugins. | 1367 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1372 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 1373 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1368 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1374 } | 1369 } |
| 1375 } | 1370 } |
| 1376 | 1371 |
| 1377 rtc_executable("neteq_opus_quality_test") { | 1372 rtc_executable("neteq_opus_quality_test") { |
| 1378 testonly = true | 1373 testonly = true |
| 1379 | 1374 |
| 1380 sources = [ | 1375 sources = [ |
| 1381 "neteq/test/neteq_opus_quality_test.cc", | 1376 "neteq/test/neteq_opus_quality_test.cc", |
| 1382 ] | 1377 ] |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 | 1606 |
| 1612 deps = [ | 1607 deps = [ |
| 1613 ":webrtc_opus", | 1608 ":webrtc_opus", |
| 1614 "../../base:rtc_base_approved", | 1609 "../../base:rtc_base_approved", |
| 1615 "../../common_audio", | 1610 "../../common_audio", |
| 1616 "../../test:test_support", | 1611 "../../test:test_support", |
| 1617 "../../test:test_support_main", | 1612 "../../test:test_support_main", |
| 1618 "//testing/gtest", | 1613 "//testing/gtest", |
| 1619 ] | 1614 ] |
| 1620 | 1615 |
| 1621 if (is_clang) { | 1616 if (!build_with_chromium && is_clang) { |
| 1622 # Suppress warnings from Chrome's Clang plugins. | 1617 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1623 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 1624 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1618 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1625 } | 1619 } |
| 1626 } | 1620 } |
| 1627 } | 1621 } |
| OLD | NEW |