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