| 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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 ":neteq", | 1094 ":neteq", |
| 1095 "..:module_api", | 1095 "..:module_api", |
| 1096 "../..:webrtc_common", | 1096 "../..:webrtc_common", |
| 1097 "../../api/audio_codecs:audio_codecs_api", | 1097 "../../api/audio_codecs:audio_codecs_api", |
| 1098 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1098 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1099 "../../base:rtc_base_approved", | 1099 "../../base:rtc_base_approved", |
| 1100 "../rtp_rtcp", | 1100 "../rtp_rtcp", |
| 1101 ] | 1101 ] |
| 1102 } | 1102 } |
| 1103 | 1103 |
| 1104 config("neteq_tools_config") { |
| 1105 include_dirs = [ "tools" ] |
| 1106 } |
| 1107 |
| 1108 rtc_source_set("neteq_tools") { |
| 1109 sources = [ |
| 1110 "neteq/tools/fake_decode_from_file.cc", |
| 1111 "neteq/tools/fake_decode_from_file.h", |
| 1112 "neteq/tools/input_audio_file.cc", |
| 1113 "neteq/tools/input_audio_file.h", |
| 1114 "neteq/tools/neteq_replacement_input.cc", |
| 1115 "neteq/tools/neteq_replacement_input.h", |
| 1116 "neteq/tools/resample_input_audio_file.cc", |
| 1117 "neteq/tools/resample_input_audio_file.h", |
| 1118 ] |
| 1119 |
| 1120 public_configs = [ ":neteq_tools_config" ] |
| 1121 |
| 1122 if (!build_with_chromium && is_clang) { |
| 1123 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1124 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1125 } |
| 1126 |
| 1127 deps = [ |
| 1128 "../..:webrtc_common", |
| 1129 "../../api/audio_codecs:audio_codecs_api", |
| 1130 "../../base:rtc_base_approved", |
| 1131 "../../common_audio", |
| 1132 "../rtp_rtcp", |
| 1133 ] |
| 1134 |
| 1135 public_deps = [ |
| 1136 ":neteq_tools_minimal", |
| 1137 ] |
| 1138 } |
| 1139 |
| 1140 rtc_source_set("neteq_test_tools") { |
| 1141 testonly = true |
| 1142 sources = [ |
| 1143 "neteq/tools/audio_checksum.h", |
| 1144 "neteq/tools/audio_loop.cc", |
| 1145 "neteq/tools/audio_loop.h", |
| 1146 "neteq/tools/constant_pcm_packet_source.cc", |
| 1147 "neteq/tools/constant_pcm_packet_source.h", |
| 1148 "neteq/tools/output_audio_file.h", |
| 1149 "neteq/tools/output_wav_file.h", |
| 1150 "neteq/tools/rtp_file_source.cc", |
| 1151 "neteq/tools/rtp_file_source.h", |
| 1152 "neteq/tools/rtp_generator.cc", |
| 1153 "neteq/tools/rtp_generator.h", |
| 1154 ] |
| 1155 |
| 1156 public_configs = [ ":neteq_tools_config" ] |
| 1157 |
| 1158 if (!build_with_chromium && is_clang) { |
| 1159 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1160 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1161 } |
| 1162 |
| 1163 deps = [ |
| 1164 ":pcm16b", |
| 1165 "..:module_api", |
| 1166 "../..:webrtc_common", |
| 1167 "../../base:rtc_base_approved", |
| 1168 "../../base:rtc_base_tests_utils", |
| 1169 "../../common_audio", |
| 1170 "../../test:rtp_test_utils", |
| 1171 "../rtp_rtcp", |
| 1172 ] |
| 1173 |
| 1174 public_deps = [ |
| 1175 ":neteq_tools", |
| 1176 ":neteq_tools_minimal", |
| 1177 ] |
| 1178 |
| 1179 if (rtc_enable_protobuf) { |
| 1180 sources += [ |
| 1181 "neteq/tools/neteq_packet_source_input.cc", |
| 1182 "neteq/tools/neteq_packet_source_input.h", |
| 1183 ] |
| 1184 deps += [ ":rtc_event_log_source" ] |
| 1185 } |
| 1186 } |
| 1187 |
| 1188 if (rtc_enable_protobuf) { |
| 1189 rtc_static_library("rtc_event_log_source") { |
| 1190 testonly = true |
| 1191 |
| 1192 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 1193 # Needs call.h to be moved to webrtc/api first. |
| 1194 check_includes = false |
| 1195 |
| 1196 sources = [ |
| 1197 "neteq/tools/rtc_event_log_source.cc", |
| 1198 "neteq/tools/rtc_event_log_source.h", |
| 1199 ] |
| 1200 |
| 1201 if (!build_with_chromium && is_clang) { |
| 1202 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1203 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1204 } |
| 1205 |
| 1206 deps = [ |
| 1207 "../../base:rtc_base_approved", |
| 1208 "../../logging:rtc_event_log_parser", |
| 1209 ] |
| 1210 public_deps = [ |
| 1211 "../../logging:rtc_event_log_proto", |
| 1212 ] |
| 1213 } |
| 1214 } |
| 1215 |
| 1104 if (rtc_include_tests) { | 1216 if (rtc_include_tests) { |
| 1105 group("audio_coding_tests") { | 1217 group("audio_coding_tests") { |
| 1106 testonly = true | 1218 testonly = true |
| 1107 public_deps = [ | 1219 public_deps = [ |
| 1108 ":RTPchange", | 1220 ":RTPchange", |
| 1109 ":RTPencode", | 1221 ":RTPencode", |
| 1110 ":RTPjitter", | 1222 ":RTPjitter", |
| 1111 ":RTPtimeshift", | 1223 ":RTPtimeshift", |
| 1112 ":acm_receive_test", | 1224 ":acm_receive_test", |
| 1113 ":acm_send_test", | 1225 ":acm_send_test", |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 } # audio_decoder_unittests | 1478 } # audio_decoder_unittests |
| 1367 | 1479 |
| 1368 if (rtc_enable_protobuf) { | 1480 if (rtc_enable_protobuf) { |
| 1369 proto_library("neteq_unittest_proto") { | 1481 proto_library("neteq_unittest_proto") { |
| 1370 sources = [ | 1482 sources = [ |
| 1371 "neteq/neteq_unittest.proto", | 1483 "neteq/neteq_unittest.proto", |
| 1372 ] | 1484 ] |
| 1373 proto_out_dir = "webrtc/modules/audio_coding/neteq" | 1485 proto_out_dir = "webrtc/modules/audio_coding/neteq" |
| 1374 } | 1486 } |
| 1375 | 1487 |
| 1376 rtc_static_library("rtc_event_log_source") { | |
| 1377 testonly = true | |
| 1378 | |
| 1379 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | |
| 1380 # Needs call.h to be moved to webrtc/api first. | |
| 1381 check_includes = false | |
| 1382 | |
| 1383 sources = [ | |
| 1384 "neteq/tools/rtc_event_log_source.cc", | |
| 1385 "neteq/tools/rtc_event_log_source.h", | |
| 1386 ] | |
| 1387 | |
| 1388 if (!build_with_chromium && is_clang) { | |
| 1389 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | |
| 1390 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 1391 } | |
| 1392 | |
| 1393 deps = [ | |
| 1394 "../../base:rtc_base_approved", | |
| 1395 "../../logging:rtc_event_log_parser", | |
| 1396 ] | |
| 1397 public_deps = [ | |
| 1398 "../../logging:rtc_event_log_proto", | |
| 1399 ] | |
| 1400 } | |
| 1401 | |
| 1402 rtc_test("neteq_rtpplay") { | 1488 rtc_test("neteq_rtpplay") { |
| 1403 testonly = true | 1489 testonly = true |
| 1404 defines = [] | 1490 defines = [] |
| 1405 deps = [ | 1491 deps = [ |
| 1406 "..:module_api", | 1492 "..:module_api", |
| 1407 ] | 1493 ] |
| 1408 sources = [ | 1494 sources = [ |
| 1409 "neteq/tools/neteq_rtpplay.cc", | 1495 "neteq/tools/neteq_rtpplay.cc", |
| 1410 ] | 1496 ] |
| 1411 | 1497 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1513 "..:module_api", | 1599 "..:module_api", |
| 1514 "../..:webrtc_common", | 1600 "../..:webrtc_common", |
| 1515 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1601 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1516 "../../base:rtc_base_approved", | 1602 "../../base:rtc_base_approved", |
| 1517 "../../test:test_support", | 1603 "../../test:test_support", |
| 1518 "//testing/gtest", | 1604 "//testing/gtest", |
| 1519 "//third_party/gflags", | 1605 "//third_party/gflags", |
| 1520 ] | 1606 ] |
| 1521 } | 1607 } |
| 1522 | 1608 |
| 1523 config("neteq_tools_config") { | |
| 1524 include_dirs = [ "tools" ] | |
| 1525 } | |
| 1526 | |
| 1527 rtc_source_set("neteq_tools") { | |
| 1528 sources = [ | |
| 1529 "neteq/tools/fake_decode_from_file.cc", | |
| 1530 "neteq/tools/fake_decode_from_file.h", | |
| 1531 "neteq/tools/input_audio_file.cc", | |
| 1532 "neteq/tools/input_audio_file.h", | |
| 1533 "neteq/tools/neteq_replacement_input.cc", | |
| 1534 "neteq/tools/neteq_replacement_input.h", | |
| 1535 "neteq/tools/resample_input_audio_file.cc", | |
| 1536 "neteq/tools/resample_input_audio_file.h", | |
| 1537 ] | |
| 1538 | |
| 1539 public_configs = [ ":neteq_tools_config" ] | |
| 1540 | |
| 1541 if (!build_with_chromium && is_clang) { | |
| 1542 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
| 1543 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 1544 } | |
| 1545 | |
| 1546 deps = [ | |
| 1547 "../..:webrtc_common", | |
| 1548 "../../api/audio_codecs:audio_codecs_api", | |
| 1549 "../../base:rtc_base_approved", | |
| 1550 "../../common_audio", | |
| 1551 "../rtp_rtcp", | |
| 1552 ] | |
| 1553 | |
| 1554 public_deps = [ | |
| 1555 ":neteq_tools_minimal", | |
| 1556 ] | |
| 1557 } | |
| 1558 | |
| 1559 rtc_source_set("neteq_test_tools") { | |
| 1560 testonly = true | |
| 1561 sources = [ | |
| 1562 "neteq/tools/audio_checksum.h", | |
| 1563 "neteq/tools/audio_loop.cc", | |
| 1564 "neteq/tools/audio_loop.h", | |
| 1565 "neteq/tools/constant_pcm_packet_source.cc", | |
| 1566 "neteq/tools/constant_pcm_packet_source.h", | |
| 1567 "neteq/tools/output_audio_file.h", | |
| 1568 "neteq/tools/output_wav_file.h", | |
| 1569 "neteq/tools/rtp_file_source.cc", | |
| 1570 "neteq/tools/rtp_file_source.h", | |
| 1571 "neteq/tools/rtp_generator.cc", | |
| 1572 "neteq/tools/rtp_generator.h", | |
| 1573 ] | |
| 1574 | |
| 1575 public_configs = [ ":neteq_tools_config" ] | |
| 1576 | |
| 1577 if (!build_with_chromium && is_clang) { | |
| 1578 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
| 1579 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 1580 } | |
| 1581 | |
| 1582 deps = [ | |
| 1583 ":pcm16b", | |
| 1584 "..:module_api", | |
| 1585 "../..:webrtc_common", | |
| 1586 "../../base:rtc_base_approved", | |
| 1587 "../../base:rtc_base_tests_utils", | |
| 1588 "../../common_audio", | |
| 1589 "../../test:rtp_test_utils", | |
| 1590 "../rtp_rtcp", | |
| 1591 ] | |
| 1592 | |
| 1593 public_deps = [ | |
| 1594 ":neteq_tools", | |
| 1595 ":neteq_tools_minimal", | |
| 1596 ] | |
| 1597 | |
| 1598 if (rtc_enable_protobuf) { | |
| 1599 sources += [ | |
| 1600 "neteq/tools/neteq_packet_source_input.cc", | |
| 1601 "neteq/tools/neteq_packet_source_input.h", | |
| 1602 ] | |
| 1603 deps += [ ":rtc_event_log_source" ] | |
| 1604 } | |
| 1605 } | |
| 1606 | |
| 1607 rtc_source_set("neteq_test_tools_deprecated") { | 1609 rtc_source_set("neteq_test_tools_deprecated") { |
| 1608 testonly = true | 1610 testonly = true |
| 1609 sources = [ | 1611 sources = [ |
| 1610 "neteq/test/NETEQTEST_DummyRTPpacket.cc", | 1612 "neteq/test/NETEQTEST_DummyRTPpacket.cc", |
| 1611 "neteq/test/NETEQTEST_DummyRTPpacket.h", | 1613 "neteq/test/NETEQTEST_DummyRTPpacket.h", |
| 1612 "neteq/test/NETEQTEST_RTPpacket.cc", | 1614 "neteq/test/NETEQTEST_RTPpacket.cc", |
| 1613 "neteq/test/NETEQTEST_RTPpacket.h", | 1615 "neteq/test/NETEQTEST_RTPpacket.h", |
| 1614 ] | 1616 ] |
| 1615 | 1617 |
| 1616 deps = [ | 1618 deps = [ |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2210 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2212 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
| 2211 # TODO(ossu): Remove this. | 2213 # TODO(ossu): Remove this. |
| 2212 rtc_source_set("builtin_audio_encoder_factory") { | 2214 rtc_source_set("builtin_audio_encoder_factory") { |
| 2213 sources = [ | 2215 sources = [ |
| 2214 "codecs/builtin_audio_encoder_factory.h", | 2216 "codecs/builtin_audio_encoder_factory.h", |
| 2215 ] | 2217 ] |
| 2216 deps = [ | 2218 deps = [ |
| 2217 "../../api/audio_codecs:builtin_audio_encoder_factory", | 2219 "../../api/audio_codecs:builtin_audio_encoder_factory", |
| 2218 ] | 2220 ] |
| 2219 } | 2221 } |
| OLD | NEW |