| 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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 | 1126 |
| 1127 deps = [ | 1127 deps = [ |
| 1128 ":audio_encoder_interface", | 1128 ":audio_encoder_interface", |
| 1129 ":neteq", | 1129 ":neteq", |
| 1130 "../..:webrtc_common", | 1130 "../..:webrtc_common", |
| 1131 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1131 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1132 "../../base:rtc_base_approved", | 1132 "../../base:rtc_base_approved", |
| 1133 ] | 1133 ] |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 config("neteq_unittest_tools_config") { |
| 1137 include_dirs = [ "tools" ] |
| 1138 } |
| 1139 |
| 1140 rtc_source_set("neteq_unittest_tools") { |
| 1141 # TODO(mbonadei): skipping includes as a proof of concept, I suspect |
| 1142 # the dependency on ../../test:rtp_test_utils is causing the chromium |
| 1143 # breakage. |
| 1144 check_includes = false |
| 1145 testonly = true |
| 1146 sources = [ |
| 1147 "neteq/tools/audio_checksum.h", |
| 1148 "neteq/tools/audio_loop.cc", |
| 1149 "neteq/tools/audio_loop.h", |
| 1150 "neteq/tools/audio_sink.cc", |
| 1151 "neteq/tools/audio_sink.h", |
| 1152 "neteq/tools/constant_pcm_packet_source.cc", |
| 1153 "neteq/tools/constant_pcm_packet_source.h", |
| 1154 "neteq/tools/fake_decode_from_file.cc", |
| 1155 "neteq/tools/fake_decode_from_file.h", |
| 1156 "neteq/tools/input_audio_file.cc", |
| 1157 "neteq/tools/input_audio_file.h", |
| 1158 "neteq/tools/neteq_input.h", |
| 1159 "neteq/tools/neteq_replacement_input.cc", |
| 1160 "neteq/tools/neteq_replacement_input.h", |
| 1161 "neteq/tools/output_audio_file.h", |
| 1162 "neteq/tools/output_wav_file.h", |
| 1163 "neteq/tools/packet.cc", |
| 1164 "neteq/tools/packet.h", |
| 1165 "neteq/tools/packet_source.cc", |
| 1166 "neteq/tools/packet_source.h", |
| 1167 "neteq/tools/resample_input_audio_file.cc", |
| 1168 "neteq/tools/resample_input_audio_file.h", |
| 1169 "neteq/tools/rtp_file_source.cc", |
| 1170 "neteq/tools/rtp_file_source.h", |
| 1171 "neteq/tools/rtp_generator.cc", |
| 1172 "neteq/tools/rtp_generator.h", |
| 1173 ] |
| 1174 |
| 1175 public_configs = [ ":neteq_unittest_tools_config" ] |
| 1176 |
| 1177 if (!build_with_chromium && is_clang) { |
| 1178 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1179 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1180 } |
| 1181 |
| 1182 deps = [ |
| 1183 ":audio_encoder_interface", |
| 1184 ":pcm16b", |
| 1185 "..:module_api", |
| 1186 "../..:webrtc_common", |
| 1187 "../../api/audio_codecs:audio_codecs_api", |
| 1188 "../../base:rtc_base_approved", |
| 1189 "../../common_audio", |
| 1190 |
| 1191 #"../../test:rtp_test_utils", |
| 1192 "../rtp_rtcp", |
| 1193 ] |
| 1194 |
| 1195 public_deps = [ |
| 1196 ":neteq_test_minimal", |
| 1197 ] |
| 1198 |
| 1199 if (rtc_enable_protobuf) { |
| 1200 sources += [ |
| 1201 "neteq/tools/neteq_packet_source_input.cc", |
| 1202 "neteq/tools/neteq_packet_source_input.h", |
| 1203 ] |
| 1204 deps += [ ":rtc_event_log_source" ] |
| 1205 } |
| 1206 } |
| 1207 |
| 1208 if (rtc_enable_protobuf) { |
| 1209 rtc_static_library("rtc_event_log_source") { |
| 1210 testonly = true |
| 1211 |
| 1212 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 1213 # Needs call.h to be moved to webrtc/api first. |
| 1214 check_includes = false |
| 1215 |
| 1216 sources = [ |
| 1217 "neteq/tools/rtc_event_log_source.cc", |
| 1218 "neteq/tools/rtc_event_log_source.h", |
| 1219 ] |
| 1220 |
| 1221 if (!build_with_chromium && is_clang) { |
| 1222 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1223 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1224 } |
| 1225 |
| 1226 deps = [ |
| 1227 "../../base:rtc_base_approved", |
| 1228 "../../logging:rtc_event_log_parser", |
| 1229 ] |
| 1230 public_deps = [ |
| 1231 "../../logging:rtc_event_log_proto", |
| 1232 ] |
| 1233 } |
| 1234 } |
| 1235 |
| 1136 if (rtc_include_tests) { | 1236 if (rtc_include_tests) { |
| 1137 group("audio_coding_tests") { | 1237 group("audio_coding_tests") { |
| 1138 testonly = true | 1238 testonly = true |
| 1139 public_deps = [ | 1239 public_deps = [ |
| 1140 ":RTPchange", | 1240 ":RTPchange", |
| 1141 ":RTPencode", | 1241 ":RTPencode", |
| 1142 ":RTPjitter", | 1242 ":RTPjitter", |
| 1143 ":RTPtimeshift", | 1243 ":RTPtimeshift", |
| 1144 ":acm_receive_test", | 1244 ":acm_receive_test", |
| 1145 ":acm_send_test", | 1245 ":acm_send_test", |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1399 } # audio_decoder_unittests | 1499 } # audio_decoder_unittests |
| 1400 | 1500 |
| 1401 if (rtc_enable_protobuf) { | 1501 if (rtc_enable_protobuf) { |
| 1402 proto_library("neteq_unittest_proto") { | 1502 proto_library("neteq_unittest_proto") { |
| 1403 sources = [ | 1503 sources = [ |
| 1404 "neteq/neteq_unittest.proto", | 1504 "neteq/neteq_unittest.proto", |
| 1405 ] | 1505 ] |
| 1406 proto_out_dir = "webrtc/modules/audio_coding/neteq" | 1506 proto_out_dir = "webrtc/modules/audio_coding/neteq" |
| 1407 } | 1507 } |
| 1408 | 1508 |
| 1409 rtc_static_library("rtc_event_log_source") { | |
| 1410 testonly = true | |
| 1411 | |
| 1412 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | |
| 1413 # Needs call.h to be moved to webrtc/api first. | |
| 1414 check_includes = false | |
| 1415 | |
| 1416 sources = [ | |
| 1417 "neteq/tools/rtc_event_log_source.cc", | |
| 1418 "neteq/tools/rtc_event_log_source.h", | |
| 1419 ] | |
| 1420 | |
| 1421 if (!build_with_chromium && is_clang) { | |
| 1422 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | |
| 1423 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 1424 } | |
| 1425 | |
| 1426 deps = [ | |
| 1427 "../../base:rtc_base_approved", | |
| 1428 "../../logging:rtc_event_log_parser", | |
| 1429 ] | |
| 1430 public_deps = [ | |
| 1431 "../../logging:rtc_event_log_proto", | |
| 1432 ] | |
| 1433 } | |
| 1434 | |
| 1435 rtc_test("neteq_rtpplay") { | 1509 rtc_test("neteq_rtpplay") { |
| 1436 testonly = true | 1510 testonly = true |
| 1437 defines = [] | 1511 defines = [] |
| 1438 deps = [ | 1512 deps = [ |
| 1439 "..:module_api", | 1513 "..:module_api", |
| 1440 ] | 1514 ] |
| 1441 sources = [ | 1515 sources = [ |
| 1442 "neteq/tools/neteq_rtpplay.cc", | 1516 "neteq/tools/neteq_rtpplay.cc", |
| 1443 ] | 1517 ] |
| 1444 | 1518 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1546 "..:module_api", | 1620 "..:module_api", |
| 1547 "../..:webrtc_common", | 1621 "../..:webrtc_common", |
| 1548 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1622 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1549 "../../base:rtc_base_approved", | 1623 "../../base:rtc_base_approved", |
| 1550 "../../test:test_support", | 1624 "../../test:test_support", |
| 1551 "//testing/gtest", | 1625 "//testing/gtest", |
| 1552 "//third_party/gflags", | 1626 "//third_party/gflags", |
| 1553 ] | 1627 ] |
| 1554 } | 1628 } |
| 1555 | 1629 |
| 1556 config("neteq_unittest_tools_config") { | |
| 1557 include_dirs = [ "tools" ] | |
| 1558 } | |
| 1559 | |
| 1560 rtc_source_set("neteq_unittest_tools") { | |
| 1561 testonly = true | |
| 1562 sources = [ | |
| 1563 "neteq/tools/audio_checksum.h", | |
| 1564 "neteq/tools/audio_loop.cc", | |
| 1565 "neteq/tools/audio_loop.h", | |
| 1566 "neteq/tools/audio_sink.cc", | |
| 1567 "neteq/tools/audio_sink.h", | |
| 1568 "neteq/tools/constant_pcm_packet_source.cc", | |
| 1569 "neteq/tools/constant_pcm_packet_source.h", | |
| 1570 "neteq/tools/fake_decode_from_file.cc", | |
| 1571 "neteq/tools/fake_decode_from_file.h", | |
| 1572 "neteq/tools/input_audio_file.cc", | |
| 1573 "neteq/tools/input_audio_file.h", | |
| 1574 "neteq/tools/neteq_input.h", | |
| 1575 "neteq/tools/neteq_replacement_input.cc", | |
| 1576 "neteq/tools/neteq_replacement_input.h", | |
| 1577 "neteq/tools/output_audio_file.h", | |
| 1578 "neteq/tools/output_wav_file.h", | |
| 1579 "neteq/tools/packet.cc", | |
| 1580 "neteq/tools/packet.h", | |
| 1581 "neteq/tools/packet_source.cc", | |
| 1582 "neteq/tools/packet_source.h", | |
| 1583 "neteq/tools/resample_input_audio_file.cc", | |
| 1584 "neteq/tools/resample_input_audio_file.h", | |
| 1585 "neteq/tools/rtp_file_source.cc", | |
| 1586 "neteq/tools/rtp_file_source.h", | |
| 1587 "neteq/tools/rtp_generator.cc", | |
| 1588 "neteq/tools/rtp_generator.h", | |
| 1589 ] | |
| 1590 | |
| 1591 public_configs = [ ":neteq_unittest_tools_config" ] | |
| 1592 | |
| 1593 if (!build_with_chromium && is_clang) { | |
| 1594 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
| 1595 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 1596 } | |
| 1597 | |
| 1598 deps = [ | |
| 1599 ":audio_encoder_interface", | |
| 1600 ":pcm16b", | |
| 1601 "..:module_api", | |
| 1602 "../..:webrtc_common", | |
| 1603 "../../api/audio_codecs:audio_codecs_api", | |
| 1604 "../../base:rtc_base_approved", | |
| 1605 "../../common_audio", | |
| 1606 "../../test:rtp_test_utils", | |
| 1607 "../rtp_rtcp", | |
| 1608 ] | |
| 1609 | |
| 1610 public_deps = [ | |
| 1611 ":neteq_test_minimal", | |
| 1612 ] | |
| 1613 | |
| 1614 if (rtc_enable_protobuf) { | |
| 1615 sources += [ | |
| 1616 "neteq/tools/neteq_packet_source_input.cc", | |
| 1617 "neteq/tools/neteq_packet_source_input.h", | |
| 1618 ] | |
| 1619 deps += [ ":rtc_event_log_source" ] | |
| 1620 } | |
| 1621 } | |
| 1622 | |
| 1623 rtc_source_set("neteq_test_tools") { | 1630 rtc_source_set("neteq_test_tools") { |
| 1624 testonly = true | 1631 testonly = true |
| 1625 sources = [ | 1632 sources = [ |
| 1626 "neteq/test/NETEQTEST_DummyRTPpacket.cc", | 1633 "neteq/test/NETEQTEST_DummyRTPpacket.cc", |
| 1627 "neteq/test/NETEQTEST_DummyRTPpacket.h", | 1634 "neteq/test/NETEQTEST_DummyRTPpacket.h", |
| 1628 "neteq/test/NETEQTEST_RTPpacket.cc", | 1635 "neteq/test/NETEQTEST_RTPpacket.cc", |
| 1629 "neteq/test/NETEQTEST_RTPpacket.h", | 1636 "neteq/test/NETEQTEST_RTPpacket.h", |
| 1630 ] | 1637 ] |
| 1631 | 1638 |
| 1632 deps = [ | 1639 deps = [ |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2204 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2211 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
| 2205 # TODO(kwiberg): Remove this. | 2212 # TODO(kwiberg): Remove this. |
| 2206 rtc_source_set("builtin_audio_decoder_factory") { | 2213 rtc_source_set("builtin_audio_decoder_factory") { |
| 2207 sources = [ | 2214 sources = [ |
| 2208 "codecs/builtin_audio_decoder_factory.h", | 2215 "codecs/builtin_audio_decoder_factory.h", |
| 2209 ] | 2216 ] |
| 2210 deps = [ | 2217 deps = [ |
| 2211 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2218 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 2212 ] | 2219 ] |
| 2213 } | 2220 } |
| OLD | NEW |