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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 configs -= [ "//build/config/clang:find_bad_constructs" ] | 956 configs -= [ "//build/config/clang:find_bad_constructs" ] |
957 } | 957 } |
958 | 958 |
959 deps = [ | 959 deps = [ |
960 ":audio_coding", | 960 ":audio_coding", |
961 "../../:webrtc_common", | 961 "../../:webrtc_common", |
962 "../../system_wrappers", | 962 "../../system_wrappers", |
963 "../../system_wrappers:system_wrappers_default", | 963 "../../system_wrappers:system_wrappers_default", |
964 "../../test:test_support", | 964 "../../test:test_support", |
965 "../rtp_rtcp", | 965 "../rtp_rtcp", |
| 966 "//build/config/sanitizers:deps", |
966 "//testing/gtest", | 967 "//testing/gtest", |
967 "//third_party/gflags:gflags", | 968 "//third_party/gflags:gflags", |
968 ] | 969 ] |
969 } # delay_test | 970 } # delay_test |
970 | 971 |
971 executable("insert_packet_with_timing") { | 972 executable("insert_packet_with_timing") { |
972 testonly = true | 973 testonly = true |
973 sources = [ | 974 sources = [ |
974 "test/Channel.cc", | 975 "test/Channel.cc", |
975 "test/PCMFile.cc", | 976 "test/PCMFile.cc", |
976 "test/insert_packet_with_timing.cc", | 977 "test/insert_packet_with_timing.cc", |
977 ] | 978 ] |
978 | 979 |
979 configs += [ "../..:common_config" ] | 980 configs += [ "../..:common_config" ] |
980 public_configs = [ "../..:common_inherited_config" ] | 981 public_configs = [ "../..:common_inherited_config" ] |
981 | 982 |
982 if (is_clang) { | 983 if (is_clang) { |
983 # Suppress warnings from Chrome's Clang plugins. | 984 # Suppress warnings from Chrome's Clang plugins. |
984 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 985 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
985 configs -= [ "//build/config/clang:find_bad_constructs" ] | 986 configs -= [ "//build/config/clang:find_bad_constructs" ] |
986 } | 987 } |
987 | 988 |
988 deps = [ | 989 deps = [ |
989 ":audio_coding", | 990 ":audio_coding", |
990 "../../:webrtc_common", | 991 "../../:webrtc_common", |
991 "../../system_wrappers", | 992 "../../system_wrappers", |
992 "../../system_wrappers:system_wrappers_default", | 993 "../../system_wrappers:system_wrappers_default", |
993 "../../test:test_support", | 994 "../../test:test_support", |
994 "../rtp_rtcp", | 995 "../rtp_rtcp", |
| 996 "//build/config/sanitizers:deps", |
995 "//testing/gtest", | 997 "//testing/gtest", |
996 "//third_party/gflags:gflags", | 998 "//third_party/gflags:gflags", |
997 ] | 999 ] |
998 } # insert_packet_with_timing | 1000 } # insert_packet_with_timing |
999 | 1001 |
1000 test("audio_decoder_unittests") { | 1002 test("audio_decoder_unittests") { |
1001 testonly = true | 1003 testonly = true |
1002 sources = [ | 1004 sources = [ |
1003 "neteq/audio_decoder_unittest.cc", | 1005 "neteq/audio_decoder_unittest.cc", |
1004 ] | 1006 ] |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 # TODO(hlundin): Make RTPencode use ACM to encode files. | 1286 # TODO(hlundin): Make RTPencode use ACM to encode files. |
1285 ":cng", | 1287 ":cng", |
1286 ":g711", | 1288 ":g711", |
1287 ":g722", | 1289 ":g722", |
1288 ":ilbc", | 1290 ":ilbc", |
1289 ":isac", | 1291 ":isac", |
1290 ":neteq_test_tools", | 1292 ":neteq_test_tools", |
1291 ":pcm16b", | 1293 ":pcm16b", |
1292 ":webrtc_opus", | 1294 ":webrtc_opus", |
1293 "../../common_audio", | 1295 "../../common_audio", |
| 1296 "//build/config/sanitizers:deps", |
1294 ] | 1297 ] |
1295 | 1298 |
1296 configs += [ ":RTPencode_config" ] | 1299 configs += [ ":RTPencode_config" ] |
1297 | 1300 |
1298 sources = [ | 1301 sources = [ |
1299 "neteq/test/RTPencode.cc", | 1302 "neteq/test/RTPencode.cc", |
1300 ] | 1303 ] |
1301 | 1304 |
1302 include_dirs = [ | 1305 include_dirs = [ |
1303 "neteq/include", | 1306 "neteq/include", |
(...skipping 10 matching lines...) Expand all Loading... |
1314 | 1317 |
1315 executable("RTPchange") { | 1318 executable("RTPchange") { |
1316 testonly = true | 1319 testonly = true |
1317 | 1320 |
1318 sources = [ | 1321 sources = [ |
1319 "neteq/test/RTPchange.cc", | 1322 "neteq/test/RTPchange.cc", |
1320 ] | 1323 ] |
1321 | 1324 |
1322 deps = [ | 1325 deps = [ |
1323 ":neteq_test_tools", | 1326 ":neteq_test_tools", |
| 1327 "//build/config/sanitizers:deps", |
1324 ] | 1328 ] |
1325 } | 1329 } |
1326 | 1330 |
1327 executable("rtpcat") { | 1331 executable("rtpcat") { |
1328 testonly = true | 1332 testonly = true |
1329 | 1333 |
1330 sources = [ | 1334 sources = [ |
1331 "neteq/tools/rtpcat.cc", | 1335 "neteq/tools/rtpcat.cc", |
1332 ] | 1336 ] |
1333 | 1337 |
1334 deps = [ | 1338 deps = [ |
1335 "../../system_wrappers:system_wrappers_default", | 1339 "../../system_wrappers:system_wrappers_default", |
1336 "../../test:rtp_test_utils", | 1340 "../../test:rtp_test_utils", |
| 1341 "//build/config/sanitizers:deps", |
1337 "//testing/gtest", | 1342 "//testing/gtest", |
1338 ] | 1343 ] |
1339 } | 1344 } |
1340 | 1345 |
1341 executable("RTPtimeshift") { | 1346 executable("RTPtimeshift") { |
1342 testonly = true | 1347 testonly = true |
1343 | 1348 |
1344 sources = [ | 1349 sources = [ |
1345 "neteq/test/RTPtimeshift.cc", | 1350 "neteq/test/RTPtimeshift.cc", |
1346 ] | 1351 ] |
1347 | 1352 |
1348 deps = [ | 1353 deps = [ |
1349 ":neteq_test_tools", | 1354 ":neteq_test_tools", |
| 1355 "//build/config/sanitizers:deps", |
1350 "//testing/gtest", | 1356 "//testing/gtest", |
1351 ] | 1357 ] |
1352 } | 1358 } |
1353 | 1359 |
1354 executable("RTPjitter") { | 1360 executable("RTPjitter") { |
1355 testonly = true | 1361 testonly = true |
1356 deps = [ | 1362 deps = [ |
1357 "../..:webrtc_common", | 1363 "../..:webrtc_common", |
| 1364 "//build/config/sanitizers:deps", |
1358 "//testing/gtest", | 1365 "//testing/gtest", |
1359 ] | 1366 ] |
1360 sources = [ | 1367 sources = [ |
1361 "neteq/test/RTPjitter.cc", | 1368 "neteq/test/RTPjitter.cc", |
1362 ] | 1369 ] |
1363 } | 1370 } |
1364 | 1371 |
1365 executable("rtp_analyze") { | 1372 executable("rtp_analyze") { |
1366 testonly = true | 1373 testonly = true |
1367 | 1374 |
1368 sources = [ | 1375 sources = [ |
1369 "neteq/tools/rtp_analyze.cc", | 1376 "neteq/tools/rtp_analyze.cc", |
1370 ] | 1377 ] |
1371 | 1378 |
1372 deps = [ | 1379 deps = [ |
1373 ":neteq", | 1380 ":neteq", |
1374 ":neteq_unittest_tools", | 1381 ":neteq_unittest_tools", |
1375 ":pcm16b", | 1382 ":pcm16b", |
1376 "../../system_wrappers:system_wrappers_default", | 1383 "../../system_wrappers:system_wrappers_default", |
| 1384 "//build/config/sanitizers:deps", |
1377 "//testing/gtest", | 1385 "//testing/gtest", |
1378 "//third_party/gflags:gflags", | 1386 "//third_party/gflags:gflags", |
1379 ] | 1387 ] |
1380 | 1388 |
1381 if (is_clang) { | 1389 if (is_clang) { |
1382 # Suppress warnings from Chrome's Clang plugins. | 1390 # Suppress warnings from Chrome's Clang plugins. |
1383 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1391 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1384 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1392 configs -= [ "//build/config/clang:find_bad_constructs" ] |
1385 } | 1393 } |
1386 } | 1394 } |
1387 | 1395 |
1388 executable("neteq_opus_quality_test") { | 1396 executable("neteq_opus_quality_test") { |
1389 testonly = true | 1397 testonly = true |
1390 | 1398 |
1391 sources = [ | 1399 sources = [ |
1392 "neteq/test/neteq_opus_quality_test.cc", | 1400 "neteq/test/neteq_opus_quality_test.cc", |
1393 ] | 1401 ] |
1394 | 1402 |
1395 deps = [ | 1403 deps = [ |
1396 ":neteq", | 1404 ":neteq", |
1397 ":neteq_test_support", | 1405 ":neteq_test_support", |
1398 ":neteq_unittest_tools", | 1406 ":neteq_unittest_tools", |
1399 ":webrtc_opus", | 1407 ":webrtc_opus", |
1400 "../../test:test_support_main", | 1408 "../../test:test_support_main", |
| 1409 "//build/config/sanitizers:deps", |
1401 "//testing/gtest", | 1410 "//testing/gtest", |
1402 "//third_party/gflags", | 1411 "//third_party/gflags", |
1403 ] | 1412 ] |
1404 } | 1413 } |
1405 | 1414 |
1406 executable("neteq_speed_test") { | 1415 executable("neteq_speed_test") { |
1407 testonly = true | 1416 testonly = true |
1408 | 1417 |
1409 sources = [ | 1418 sources = [ |
1410 "neteq/test/neteq_speed_test.cc", | 1419 "neteq/test/neteq_speed_test.cc", |
1411 ] | 1420 ] |
1412 | 1421 |
1413 deps = [ | 1422 deps = [ |
1414 ":neteq", | 1423 ":neteq", |
1415 ":neteq_test_support", | 1424 ":neteq_test_support", |
1416 "../../system_wrappers:system_wrappers_default", | 1425 "../../system_wrappers:system_wrappers_default", |
1417 "../../test:test_support", | 1426 "../../test:test_support", |
| 1427 "//build/config/sanitizers:deps", |
1418 "//third_party/gflags", | 1428 "//third_party/gflags", |
1419 ] | 1429 ] |
1420 } | 1430 } |
1421 | 1431 |
1422 executable("audio_classifier_test") { | 1432 executable("audio_classifier_test") { |
1423 testonly = true | 1433 testonly = true |
1424 sources = [ | 1434 sources = [ |
1425 "neteq/test/audio_classifier_test.cc", | 1435 "neteq/test/audio_classifier_test.cc", |
1426 ] | 1436 ] |
1427 deps = [ | 1437 deps = [ |
1428 ":neteq", | 1438 ":neteq", |
1429 ":webrtc_opus", | 1439 ":webrtc_opus", |
1430 "../../system_wrappers:system_wrappers_default", | 1440 "../../system_wrappers:system_wrappers_default", |
| 1441 "//build/config/sanitizers:deps", |
1431 ] | 1442 ] |
1432 } | 1443 } |
1433 | 1444 |
1434 executable("neteq_ilbc_quality_test") { | 1445 executable("neteq_ilbc_quality_test") { |
1435 testonly = true | 1446 testonly = true |
1436 | 1447 |
1437 sources = [ | 1448 sources = [ |
1438 "neteq/test/neteq_ilbc_quality_test.cc", | 1449 "neteq/test/neteq_ilbc_quality_test.cc", |
1439 ] | 1450 ] |
1440 | 1451 |
1441 deps = [ | 1452 deps = [ |
1442 ":ilbc", | 1453 ":ilbc", |
1443 ":neteq", | 1454 ":neteq", |
1444 ":neteq_test_support", | 1455 ":neteq_test_support", |
1445 ":neteq_unittest_tools", | 1456 ":neteq_unittest_tools", |
1446 "../../system_wrappers:system_wrappers_default", | 1457 "../../system_wrappers:system_wrappers_default", |
1447 "../../test:test_support_main", | 1458 "../../test:test_support_main", |
| 1459 "//build/config/sanitizers:deps", |
1448 "//testing/gtest", | 1460 "//testing/gtest", |
1449 "//third_party/gflags", | 1461 "//third_party/gflags", |
1450 ] | 1462 ] |
1451 } | 1463 } |
1452 | 1464 |
1453 executable("neteq_isac_quality_test") { | 1465 executable("neteq_isac_quality_test") { |
1454 testonly = true | 1466 testonly = true |
1455 | 1467 |
1456 sources = [ | 1468 sources = [ |
1457 "neteq/test/neteq_isac_quality_test.cc", | 1469 "neteq/test/neteq_isac_quality_test.cc", |
1458 ] | 1470 ] |
1459 | 1471 |
1460 deps = [ | 1472 deps = [ |
1461 ":isac_fix", | 1473 ":isac_fix", |
1462 ":neteq", | 1474 ":neteq", |
1463 ":neteq_test_support", | 1475 ":neteq_test_support", |
1464 "../../test:test_support_main", | 1476 "../../test:test_support_main", |
| 1477 "//build/config/sanitizers:deps", |
1465 "//testing/gtest", | 1478 "//testing/gtest", |
1466 "//third_party/gflags", | 1479 "//third_party/gflags", |
1467 ] | 1480 ] |
1468 } | 1481 } |
1469 | 1482 |
1470 executable("neteq_pcmu_quality_test") { | 1483 executable("neteq_pcmu_quality_test") { |
1471 testonly = true | 1484 testonly = true |
1472 | 1485 |
1473 sources = [ | 1486 sources = [ |
1474 "neteq/test/neteq_pcmu_quality_test.cc", | 1487 "neteq/test/neteq_pcmu_quality_test.cc", |
1475 ] | 1488 ] |
1476 | 1489 |
1477 deps = [ | 1490 deps = [ |
1478 ":g711", | 1491 ":g711", |
1479 ":neteq", | 1492 ":neteq", |
1480 ":neteq_test_support", | 1493 ":neteq_test_support", |
1481 "../../test:test_support_main", | 1494 "../../test:test_support_main", |
| 1495 "//build/config/sanitizers:deps", |
1482 "//testing/gtest", | 1496 "//testing/gtest", |
1483 "//third_party/gflags", | 1497 "//third_party/gflags", |
1484 ] | 1498 ] |
1485 } | 1499 } |
1486 | 1500 |
1487 executable("isac_fix_test") { | 1501 executable("isac_fix_test") { |
1488 testonly = true | 1502 testonly = true |
1489 | 1503 |
1490 sources = [ | 1504 sources = [ |
1491 "codecs/isac/fix/test/kenny.cc", | 1505 "codecs/isac/fix/test/kenny.cc", |
1492 ] | 1506 ] |
1493 | 1507 |
1494 deps = [ | 1508 deps = [ |
1495 ":isac_fix", | 1509 ":isac_fix", |
1496 "../../test:test_support", | 1510 "../../test:test_support", |
| 1511 "//build/config/sanitizers:deps", |
1497 ] | 1512 ] |
1498 | 1513 |
1499 if (is_win) { | 1514 if (is_win) { |
1500 cflags = [ | 1515 cflags = [ |
1501 # Disable warnings to enable Win64 build, issue 1323. | 1516 # Disable warnings to enable Win64 build, issue 1323. |
1502 "/wd4267", # size_t to int truncation | 1517 "/wd4267", # size_t to int truncation |
1503 ] | 1518 ] |
1504 } | 1519 } |
1505 } | 1520 } |
1506 } | 1521 } |
OLD | NEW |