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 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 ] | 1137 ] |
1138 } | 1138 } |
1139 | 1139 |
1140 source_set("neteq_test_support") { | 1140 source_set("neteq_test_support") { |
1141 testonly = true | 1141 testonly = true |
1142 sources = [ | 1142 sources = [ |
1143 "neteq/tools/neteq_external_decoder_test.cc", | 1143 "neteq/tools/neteq_external_decoder_test.cc", |
1144 "neteq/tools/neteq_external_decoder_test.h", | 1144 "neteq/tools/neteq_external_decoder_test.h", |
1145 "neteq/tools/neteq_performance_test.cc", | 1145 "neteq/tools/neteq_performance_test.cc", |
1146 "neteq/tools/neteq_performance_test.h", | 1146 "neteq/tools/neteq_performance_test.h", |
1147 "neteq/tools/neteq_quality_test.cc", | |
1148 "neteq/tools/neteq_quality_test.h", | |
1149 ] | 1147 ] |
1150 | 1148 |
1151 configs += [ "../..:common_config" ] | 1149 configs += [ "../..:common_config" ] |
1152 public_configs = [ "../..:common_inherited_config" ] | 1150 public_configs = [ "../..:common_inherited_config" ] |
1153 | 1151 |
1154 if (is_clang) { | 1152 if (is_clang) { |
1155 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1153 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1156 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1154 configs -= [ "//build/config/clang:find_bad_constructs" ] |
1157 } | 1155 } |
1158 | 1156 |
1159 deps = [ | 1157 deps = [ |
1160 ":neteq", | 1158 ":neteq", |
1161 ":neteq_unittest_tools", | 1159 ":neteq_unittest_tools", |
1162 ":pcm16b", | 1160 ":pcm16b", |
1163 "//testing/gtest", | 1161 "//testing/gtest", |
1164 "//third_party/gflags", | 1162 "//third_party/gflags", |
1165 ] | 1163 ] |
1166 } | 1164 } |
1167 | 1165 |
| 1166 source_set("neteq_quality_test_support") { |
| 1167 testonly = true |
| 1168 sources = [ |
| 1169 "neteq/tools/neteq_quality_test.cc", |
| 1170 "neteq/tools/neteq_quality_test.h", |
| 1171 ] |
| 1172 |
| 1173 configs += [ "../..:common_config" ] |
| 1174 public_configs = [ "../..:common_inherited_config" ] |
| 1175 |
| 1176 if (is_clang) { |
| 1177 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 1178 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 1179 } |
| 1180 |
| 1181 deps = [ |
| 1182 ":neteq", |
| 1183 ":neteq_unittest_tools", |
| 1184 "//third_party/gflags", |
| 1185 ] |
| 1186 } |
| 1187 |
1168 config("neteq_unittest_tools_config") { | 1188 config("neteq_unittest_tools_config") { |
1169 include_dirs = [ "tools" ] | 1189 include_dirs = [ "tools" ] |
1170 } | 1190 } |
1171 | 1191 |
1172 source_set("neteq_unittest_tools") { | 1192 source_set("neteq_unittest_tools") { |
1173 testonly = true | 1193 testonly = true |
1174 sources = [ | 1194 sources = [ |
1175 "neteq/tools/audio_checksum.h", | 1195 "neteq/tools/audio_checksum.h", |
1176 "neteq/tools/audio_loop.cc", | 1196 "neteq/tools/audio_loop.cc", |
1177 "neteq/tools/audio_loop.h", | 1197 "neteq/tools/audio_loop.h", |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1395 | 1415 |
1396 executable("neteq_opus_quality_test") { | 1416 executable("neteq_opus_quality_test") { |
1397 testonly = true | 1417 testonly = true |
1398 | 1418 |
1399 sources = [ | 1419 sources = [ |
1400 "neteq/test/neteq_opus_quality_test.cc", | 1420 "neteq/test/neteq_opus_quality_test.cc", |
1401 ] | 1421 ] |
1402 | 1422 |
1403 deps = [ | 1423 deps = [ |
1404 ":neteq", | 1424 ":neteq", |
1405 ":neteq_test_support", | 1425 ":neteq_quality_test_support", |
1406 ":neteq_unittest_tools", | 1426 ":neteq_unittest_tools", |
1407 ":webrtc_opus", | 1427 ":webrtc_opus", |
1408 "../../test:test_support_main", | 1428 "../../test:test_support_main", |
1409 "//build/config/sanitizers:deps", | 1429 "//build/config/sanitizers:deps", |
1410 "//testing/gtest", | 1430 "//testing/gtest", |
1411 "//third_party/gflags", | 1431 "//third_party/gflags", |
1412 ] | 1432 ] |
1413 } | 1433 } |
1414 | 1434 |
1415 executable("neteq_speed_test") { | 1435 executable("neteq_speed_test") { |
(...skipping 29 matching lines...) Expand all Loading... |
1445 executable("neteq_ilbc_quality_test") { | 1465 executable("neteq_ilbc_quality_test") { |
1446 testonly = true | 1466 testonly = true |
1447 | 1467 |
1448 sources = [ | 1468 sources = [ |
1449 "neteq/test/neteq_ilbc_quality_test.cc", | 1469 "neteq/test/neteq_ilbc_quality_test.cc", |
1450 ] | 1470 ] |
1451 | 1471 |
1452 deps = [ | 1472 deps = [ |
1453 ":ilbc", | 1473 ":ilbc", |
1454 ":neteq", | 1474 ":neteq", |
1455 ":neteq_test_support", | 1475 ":neteq_quality_test_support", |
1456 ":neteq_unittest_tools", | 1476 ":neteq_unittest_tools", |
1457 "../../system_wrappers:system_wrappers_default", | 1477 "../../system_wrappers:system_wrappers_default", |
1458 "../../test:test_support_main", | 1478 "../../test:test_support_main", |
1459 "//build/config/sanitizers:deps", | 1479 "//build/config/sanitizers:deps", |
1460 "//testing/gtest", | 1480 "//testing/gtest", |
1461 "//third_party/gflags", | 1481 "//third_party/gflags", |
1462 ] | 1482 ] |
1463 } | 1483 } |
1464 | 1484 |
1465 executable("neteq_isac_quality_test") { | 1485 executable("neteq_isac_quality_test") { |
1466 testonly = true | 1486 testonly = true |
1467 | 1487 |
1468 sources = [ | 1488 sources = [ |
1469 "neteq/test/neteq_isac_quality_test.cc", | 1489 "neteq/test/neteq_isac_quality_test.cc", |
1470 ] | 1490 ] |
1471 | 1491 |
1472 deps = [ | 1492 deps = [ |
1473 ":isac_fix", | 1493 ":isac_fix", |
1474 ":neteq", | 1494 ":neteq", |
1475 ":neteq_test_support", | 1495 ":neteq_quality_test_support", |
1476 "../../test:test_support_main", | 1496 "../../test:test_support_main", |
1477 "//build/config/sanitizers:deps", | 1497 "//build/config/sanitizers:deps", |
1478 "//testing/gtest", | 1498 "//testing/gtest", |
1479 "//third_party/gflags", | 1499 "//third_party/gflags", |
1480 ] | 1500 ] |
1481 } | 1501 } |
1482 | 1502 |
1483 executable("neteq_pcmu_quality_test") { | 1503 executable("neteq_pcmu_quality_test") { |
1484 testonly = true | 1504 testonly = true |
1485 | 1505 |
1486 sources = [ | 1506 sources = [ |
1487 "neteq/test/neteq_pcmu_quality_test.cc", | 1507 "neteq/test/neteq_pcmu_quality_test.cc", |
1488 ] | 1508 ] |
1489 | 1509 |
1490 deps = [ | 1510 deps = [ |
1491 ":g711", | 1511 ":g711", |
1492 ":neteq", | 1512 ":neteq", |
1493 ":neteq_test_support", | 1513 ":neteq_quality_test_support", |
1494 "../../test:test_support_main", | 1514 "../../test:test_support_main", |
1495 "//build/config/sanitizers:deps", | 1515 "//build/config/sanitizers:deps", |
1496 "//testing/gtest", | 1516 "//testing/gtest", |
1497 "//third_party/gflags", | 1517 "//third_party/gflags", |
1498 ] | 1518 ] |
1499 } | 1519 } |
1500 | 1520 |
1501 executable("isac_fix_test") { | 1521 executable("isac_fix_test") { |
1502 testonly = true | 1522 testonly = true |
1503 | 1523 |
1504 sources = [ | 1524 sources = [ |
1505 "codecs/isac/fix/test/kenny.cc", | 1525 "codecs/isac/fix/test/kenny.cc", |
1506 ] | 1526 ] |
1507 | 1527 |
1508 deps = [ | 1528 deps = [ |
1509 ":isac_fix", | 1529 ":isac_fix", |
1510 "../../test:test_support", | 1530 "../../test:test_support", |
1511 "//build/config/sanitizers:deps", | 1531 "//build/config/sanitizers:deps", |
1512 ] | 1532 ] |
1513 | 1533 |
1514 if (is_win) { | 1534 if (is_win) { |
1515 cflags = [ | 1535 cflags = [ |
1516 # Disable warnings to enable Win64 build, issue 1323. | 1536 # Disable warnings to enable Win64 build, issue 1323. |
1517 "/wd4267", # size_t to int truncation | 1537 "/wd4267", # size_t to int truncation |
1518 ] | 1538 ] |
1519 } | 1539 } |
1520 } | 1540 } |
1521 } | 1541 } |
OLD | NEW |