| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 "include", | 120 "include", |
| 121 "../include", | 121 "../include", |
| 122 ] | 122 ] |
| 123 } | 123 } |
| 124 | 124 |
| 125 rtc_source_set("audio_coding_module_typedefs") { | 125 rtc_source_set("audio_coding_module_typedefs") { |
| 126 sources = [ | 126 sources = [ |
| 127 "include/audio_coding_module_typedefs.h", | 127 "include/audio_coding_module_typedefs.h", |
| 128 ] | 128 ] |
| 129 deps = [ | 129 deps = [ |
| 130 "..:module_api", | |
| 131 "../..:webrtc_common", | 130 "../..:webrtc_common", |
| 132 ] | 131 ] |
| 133 } | 132 } |
| 134 | 133 |
| 135 rtc_static_library("audio_coding") { | 134 rtc_static_library("audio_coding") { |
| 136 sources = [ | 135 sources = [ |
| 137 "acm2/acm_receiver.cc", | 136 "acm2/acm_receiver.cc", |
| 138 "acm2/acm_receiver.h", | 137 "acm2/acm_receiver.h", |
| 139 "acm2/acm_resampler.cc", | 138 "acm2/acm_resampler.cc", |
| 140 "acm2/acm_resampler.h", | 139 "acm2/acm_resampler.h", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 157 } | 156 } |
| 158 | 157 |
| 159 if (is_win) { | 158 if (is_win) { |
| 160 cflags = [ | 159 cflags = [ |
| 161 # TODO(kjellander): Bug 261: fix this warning. | 160 # TODO(kjellander): Bug 261: fix this warning. |
| 162 "/wd4373", # virtual function override. | 161 "/wd4373", # virtual function override. |
| 163 ] | 162 ] |
| 164 } | 163 } |
| 165 | 164 |
| 166 deps = audio_coding_deps + [ | 165 deps = audio_coding_deps + [ |
| 167 "..:module_api", | |
| 168 "../../api/audio_codecs:audio_codecs_api", | 166 "../../api/audio_codecs:audio_codecs_api", |
| 169 "../../api/audio_codecs:builtin_audio_decoder_factory", | 167 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 170 ":audio_coding_module_typedefs", | 168 ":audio_coding_module_typedefs", |
| 171 ":audio_encoder_interface", | 169 ":audio_encoder_interface", |
| 172 ":neteq", | 170 ":neteq", |
| 173 ":rent_a_codec", | 171 ":rent_a_codec", |
| 174 "../../base:rtc_base_approved", | 172 "../../base:rtc_base_approved", |
| 175 "../../logging:rtc_event_log_api", | 173 "../../logging:rtc_event_log_api", |
| 176 ] | 174 ] |
| 177 defines = audio_coding_defines | 175 defines = audio_coding_defines |
| (...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 "neteq/timestamp_scaler.h", | 1060 "neteq/timestamp_scaler.h", |
| 1063 ] | 1061 ] |
| 1064 | 1062 |
| 1065 deps = [ | 1063 deps = [ |
| 1066 ":audio_coding_module_typedefs", | 1064 ":audio_coding_module_typedefs", |
| 1067 ":cng", | 1065 ":cng", |
| 1068 ":g711", | 1066 ":g711", |
| 1069 ":isac_fix", | 1067 ":isac_fix", |
| 1070 ":neteq_decoder_enum", | 1068 ":neteq_decoder_enum", |
| 1071 ":pcm16b", | 1069 ":pcm16b", |
| 1072 "..:module_api", | |
| 1073 "../..:webrtc_common", | 1070 "../..:webrtc_common", |
| 1074 "../../api/audio_codecs:audio_codecs_api", | 1071 "../../api/audio_codecs:audio_codecs_api", |
| 1075 "../../base:gtest_prod", | 1072 "../../base:gtest_prod", |
| 1076 "../../base:rtc_base_approved", | 1073 "../../base:rtc_base_approved", |
| 1077 "../../common_audio", | 1074 "../../common_audio", |
| 1078 "../../system_wrappers", | 1075 "../../system_wrappers", |
| 1079 ] | 1076 ] |
| 1080 | 1077 |
| 1081 defines = [] | 1078 defines = [] |
| 1082 | 1079 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1194 "test/iSACTest.cc", | 1191 "test/iSACTest.cc", |
| 1195 "test/opus_test.cc", | 1192 "test/opus_test.cc", |
| 1196 "test/target_delay_unittest.cc", | 1193 "test/target_delay_unittest.cc", |
| 1197 "test/utility.cc", | 1194 "test/utility.cc", |
| 1198 ] | 1195 ] |
| 1199 deps = [ | 1196 deps = [ |
| 1200 ":audio_coding", | 1197 ":audio_coding", |
| 1201 ":audio_coding_module_typedefs", | 1198 ":audio_coding_module_typedefs", |
| 1202 ":audio_format_conversion", | 1199 ":audio_format_conversion", |
| 1203 ":pcm16b_c", | 1200 ":pcm16b_c", |
| 1204 "..:module_api", | |
| 1205 "../..:webrtc_common", | 1201 "../..:webrtc_common", |
| 1206 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1202 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1207 "../../base:rtc_base_approved", | 1203 "../../base:rtc_base_approved", |
| 1208 "../../system_wrappers:system_wrappers", | 1204 "../../system_wrappers:system_wrappers", |
| 1209 "../../test:test_support", | 1205 "../../test:test_support", |
| 1210 ] | 1206 ] |
| 1211 defines = audio_coding_defines | 1207 defines = audio_coding_defines |
| 1212 if (is_win) { | 1208 if (is_win) { |
| 1213 cflags = [ | 1209 cflags = [ |
| 1214 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 1210 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1298 "test/Channel.cc", | 1294 "test/Channel.cc", |
| 1299 "test/PCMFile.cc", | 1295 "test/PCMFile.cc", |
| 1300 "test/delay_test.cc", | 1296 "test/delay_test.cc", |
| 1301 "test/utility.cc", | 1297 "test/utility.cc", |
| 1302 ] | 1298 ] |
| 1303 | 1299 |
| 1304 deps = [ | 1300 deps = [ |
| 1305 ":audio_coding", | 1301 ":audio_coding", |
| 1306 ":audio_coding_module_typedefs", | 1302 ":audio_coding_module_typedefs", |
| 1307 ":audio_format_conversion", | 1303 ":audio_format_conversion", |
| 1308 "..:module_api", | |
| 1309 "../../:webrtc_common", | 1304 "../../:webrtc_common", |
| 1310 "../../base:rtc_base_approved", | 1305 "../../base:rtc_base_approved", |
| 1311 "../../system_wrappers", | 1306 "../../system_wrappers", |
| 1312 "../../system_wrappers:system_wrappers_default", | 1307 "../../system_wrappers:system_wrappers_default", |
| 1313 "../../test:test_support", | 1308 "../../test:test_support", |
| 1314 "../rtp_rtcp", | 1309 "../rtp_rtcp", |
| 1315 "//testing/gtest", | 1310 "//testing/gtest", |
| 1316 "//third_party/gflags:gflags", | 1311 "//third_party/gflags:gflags", |
| 1317 ] | 1312 ] |
| 1318 } # delay_test | 1313 } # delay_test |
| 1319 | 1314 |
| 1320 rtc_executable("insert_packet_with_timing") { | 1315 rtc_executable("insert_packet_with_timing") { |
| 1321 testonly = true | 1316 testonly = true |
| 1322 sources = [ | 1317 sources = [ |
| 1323 "test/Channel.cc", | 1318 "test/Channel.cc", |
| 1324 "test/PCMFile.cc", | 1319 "test/PCMFile.cc", |
| 1325 "test/insert_packet_with_timing.cc", | 1320 "test/insert_packet_with_timing.cc", |
| 1326 ] | 1321 ] |
| 1327 | 1322 |
| 1328 if (!build_with_chromium && is_clang) { | 1323 if (!build_with_chromium && is_clang) { |
| 1329 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1324 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1330 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1325 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1331 } | 1326 } |
| 1332 | 1327 |
| 1333 deps = [ | 1328 deps = [ |
| 1334 ":audio_coding", | 1329 ":audio_coding", |
| 1335 ":audio_format_conversion", | 1330 ":audio_format_conversion", |
| 1336 "..:module_api", | |
| 1337 "../../:webrtc_common", | 1331 "../../:webrtc_common", |
| 1338 "../../base:rtc_base_approved", | 1332 "../../base:rtc_base_approved", |
| 1339 "../../system_wrappers", | 1333 "../../system_wrappers", |
| 1340 "../../system_wrappers:system_wrappers_default", | 1334 "../../system_wrappers:system_wrappers_default", |
| 1341 "../../test:test_support", | 1335 "../../test:test_support", |
| 1342 "../rtp_rtcp", | 1336 "../rtp_rtcp", |
| 1343 "//testing/gtest", | 1337 "//testing/gtest", |
| 1344 "//third_party/gflags:gflags", | 1338 "//third_party/gflags:gflags", |
| 1345 ] | 1339 ] |
| 1346 } # insert_packet_with_timing | 1340 } # insert_packet_with_timing |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1428 "../../logging:rtc_event_log_parser", | 1422 "../../logging:rtc_event_log_parser", |
| 1429 ] | 1423 ] |
| 1430 public_deps = [ | 1424 public_deps = [ |
| 1431 "../../logging:rtc_event_log_proto", | 1425 "../../logging:rtc_event_log_proto", |
| 1432 ] | 1426 ] |
| 1433 } | 1427 } |
| 1434 | 1428 |
| 1435 rtc_test("neteq_rtpplay") { | 1429 rtc_test("neteq_rtpplay") { |
| 1436 testonly = true | 1430 testonly = true |
| 1437 defines = [] | 1431 defines = [] |
| 1438 deps = [ | 1432 deps = [] |
| 1439 "..:module_api", | |
| 1440 ] | |
| 1441 sources = [ | 1433 sources = [ |
| 1442 "neteq/tools/neteq_rtpplay.cc", | 1434 "neteq/tools/neteq_rtpplay.cc", |
| 1443 ] | 1435 ] |
| 1444 | 1436 |
| 1445 if (!build_with_chromium && is_clang) { | 1437 if (!build_with_chromium && is_clang) { |
| 1446 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 1438 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 1447 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1439 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1448 } | 1440 } |
| 1449 | 1441 |
| 1450 if (is_win) { | 1442 if (is_win) { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1510 | 1502 |
| 1511 if (!build_with_chromium && is_clang) { | 1503 if (!build_with_chromium && is_clang) { |
| 1512 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1504 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1513 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1505 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1514 } | 1506 } |
| 1515 | 1507 |
| 1516 deps = [ | 1508 deps = [ |
| 1517 ":neteq", | 1509 ":neteq", |
| 1518 ":neteq_unittest_tools", | 1510 ":neteq_unittest_tools", |
| 1519 ":pcm16b", | 1511 ":pcm16b", |
| 1520 "..:module_api", | |
| 1521 "../..:webrtc_common", | 1512 "../..:webrtc_common", |
| 1522 "../../api/audio_codecs:audio_codecs_api", | 1513 "../../api/audio_codecs:audio_codecs_api", |
| 1523 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1514 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1524 "../../base:rtc_base_approved", | 1515 "../../base:rtc_base_approved", |
| 1525 "../../system_wrappers", | 1516 "../../system_wrappers", |
| 1526 "../../test:test_support", | 1517 "../../test:test_support", |
| 1527 "//testing/gtest", | 1518 "//testing/gtest", |
| 1528 ] | 1519 ] |
| 1529 } | 1520 } |
| 1530 | 1521 |
| 1531 rtc_source_set("neteq_quality_test_support") { | 1522 rtc_source_set("neteq_quality_test_support") { |
| 1532 testonly = true | 1523 testonly = true |
| 1533 sources = [ | 1524 sources = [ |
| 1534 "neteq/tools/neteq_quality_test.cc", | 1525 "neteq/tools/neteq_quality_test.cc", |
| 1535 "neteq/tools/neteq_quality_test.h", | 1526 "neteq/tools/neteq_quality_test.h", |
| 1536 ] | 1527 ] |
| 1537 | 1528 |
| 1538 if (!build_with_chromium && is_clang) { | 1529 if (!build_with_chromium && is_clang) { |
| 1539 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1530 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1540 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1531 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1541 } | 1532 } |
| 1542 | 1533 |
| 1543 deps = [ | 1534 deps = [ |
| 1544 ":neteq", | 1535 ":neteq", |
| 1545 ":neteq_unittest_tools", | 1536 ":neteq_unittest_tools", |
| 1546 "..:module_api", | |
| 1547 "../..:webrtc_common", | 1537 "../..:webrtc_common", |
| 1548 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1538 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1549 "../../base:rtc_base_approved", | 1539 "../../base:rtc_base_approved", |
| 1550 "../../test:test_support", | 1540 "../../test:test_support", |
| 1551 "//testing/gtest", | 1541 "//testing/gtest", |
| 1552 "//third_party/gflags", | 1542 "//third_party/gflags", |
| 1553 ] | 1543 ] |
| 1554 } | 1544 } |
| 1555 | 1545 |
| 1556 config("neteq_unittest_tools_config") { | 1546 config("neteq_unittest_tools_config") { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1591 public_configs = [ ":neteq_unittest_tools_config" ] | 1581 public_configs = [ ":neteq_unittest_tools_config" ] |
| 1592 | 1582 |
| 1593 if (!build_with_chromium && is_clang) { | 1583 if (!build_with_chromium && is_clang) { |
| 1594 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1584 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1595 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1585 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1596 } | 1586 } |
| 1597 | 1587 |
| 1598 deps = [ | 1588 deps = [ |
| 1599 ":audio_encoder_interface", | 1589 ":audio_encoder_interface", |
| 1600 ":pcm16b", | 1590 ":pcm16b", |
| 1601 "..:module_api", | |
| 1602 "../..:webrtc_common", | 1591 "../..:webrtc_common", |
| 1603 "../../api/audio_codecs:audio_codecs_api", | 1592 "../../api/audio_codecs:audio_codecs_api", |
| 1604 "../../base:rtc_base_approved", | 1593 "../../base:rtc_base_approved", |
| 1605 "../../common_audio", | 1594 "../../common_audio", |
| 1606 "../../test:rtp_test_utils", | 1595 "../../test:rtp_test_utils", |
| 1607 "../rtp_rtcp", | 1596 "../rtp_rtcp", |
| 1608 ] | 1597 ] |
| 1609 | 1598 |
| 1610 public_deps = [ | 1599 public_deps = [ |
| 1611 ":neteq_test_minimal", | 1600 ":neteq_test_minimal", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1629 "neteq/test/NETEQTEST_RTPpacket.h", | 1618 "neteq/test/NETEQTEST_RTPpacket.h", |
| 1630 ] | 1619 ] |
| 1631 | 1620 |
| 1632 deps = [ | 1621 deps = [ |
| 1633 ":cng", | 1622 ":cng", |
| 1634 ":g711", | 1623 ":g711", |
| 1635 ":g722", | 1624 ":g722", |
| 1636 ":ilbc", | 1625 ":ilbc", |
| 1637 ":isac", | 1626 ":isac", |
| 1638 ":pcm16b", | 1627 ":pcm16b", |
| 1639 "..:module_api", | |
| 1640 "../..:webrtc_common", | 1628 "../..:webrtc_common", |
| 1641 "//testing/gtest", | 1629 "//testing/gtest", |
| 1642 ] | 1630 ] |
| 1643 | 1631 |
| 1644 include_dirs = [ | 1632 include_dirs = [ |
| 1645 "neteq/include", | 1633 "neteq/include", |
| 1646 "neteq/test", | 1634 "neteq/test", |
| 1647 "../../", | 1635 "../../", |
| 1648 ] | 1636 ] |
| 1649 | 1637 |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2141 ":isac_c", | 2129 ":isac_c", |
| 2142 ":isac_fix", | 2130 ":isac_fix", |
| 2143 ":legacy_encoded_audio_frame", | 2131 ":legacy_encoded_audio_frame", |
| 2144 ":neteq", | 2132 ":neteq", |
| 2145 ":neteq_test_support", | 2133 ":neteq_test_support", |
| 2146 ":neteq_unittest_tools", | 2134 ":neteq_unittest_tools", |
| 2147 ":pcm16b", | 2135 ":pcm16b", |
| 2148 ":red", | 2136 ":red", |
| 2149 ":rent_a_codec", | 2137 ":rent_a_codec", |
| 2150 ":webrtc_opus", | 2138 ":webrtc_opus", |
| 2151 "..:module_api", | |
| 2152 "../..:webrtc_common", | 2139 "../..:webrtc_common", |
| 2153 "../../api/audio_codecs:audio_codecs_api", | 2140 "../../api/audio_codecs:audio_codecs_api", |
| 2154 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2141 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 2155 "../../base:protobuf_utils", | 2142 "../../base:protobuf_utils", |
| 2156 "../../base:rtc_base", | 2143 "../../base:rtc_base", |
| 2157 "../../base:rtc_base_approved", | 2144 "../../base:rtc_base_approved", |
| 2158 "../../base:rtc_base_tests_utils", | 2145 "../../base:rtc_base_tests_utils", |
| 2159 "../../common_audio", | 2146 "../../common_audio", |
| 2160 "../../system_wrappers:system_wrappers", | 2147 "../../system_wrappers:system_wrappers", |
| 2161 "../../test:audio_codec_mocks", | 2148 "../../test:audio_codec_mocks", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2204 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2191 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
| 2205 # TODO(kwiberg): Remove this. | 2192 # TODO(kwiberg): Remove this. |
| 2206 rtc_source_set("builtin_audio_decoder_factory") { | 2193 rtc_source_set("builtin_audio_decoder_factory") { |
| 2207 sources = [ | 2194 sources = [ |
| 2208 "codecs/builtin_audio_decoder_factory.h", | 2195 "codecs/builtin_audio_decoder_factory.h", |
| 2209 ] | 2196 ] |
| 2210 deps = [ | 2197 deps = [ |
| 2211 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2198 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 2212 ] | 2199 ] |
| 2213 } | 2200 } |
| OLD | NEW |