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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1124 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1124 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1125 shard_timeout = 900 | 1125 shard_timeout = 900 |
1126 } | 1126 } |
1127 | 1127 |
1128 deps += [ | 1128 deps += [ |
1129 ":isac_fix", | 1129 ":isac_fix", |
1130 ":webrtc_opus", | 1130 ":webrtc_opus", |
1131 "../../system_wrappers:system_wrappers_default", | 1131 "../../system_wrappers:system_wrappers_default", |
1132 "../../test:test_support_main", | 1132 "../../test:test_support_main", |
1133 "../audio_processing/", | 1133 "../audio_processing/", |
1134 "//build/config/sanitizers:deps", | |
kjellander_webrtc
2016/08/17 12:19:22
Shouldn't be needed for targets using the test tem
ehmaldonado_webrtc
2016/08/17 12:37:05
You're right, sorry.
| |
1134 "//testing/gtest", | 1135 "//testing/gtest", |
1135 ] | 1136 ] |
1136 } | 1137 } |
1137 | 1138 |
1138 source_set("neteq_test_support") { | 1139 source_set("neteq_test_support") { |
1139 testonly = true | 1140 testonly = true |
1140 sources = [ | 1141 sources = [ |
1141 "neteq/tools/neteq_external_decoder_test.cc", | 1142 "neteq/tools/neteq_external_decoder_test.cc", |
1142 "neteq/tools/neteq_external_decoder_test.h", | 1143 "neteq/tools/neteq_external_decoder_test.h", |
1143 "neteq/tools/neteq_performance_test.cc", | 1144 "neteq/tools/neteq_performance_test.cc", |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1284 # TODO(hlundin): Make RTPencode use ACM to encode files. | 1285 # TODO(hlundin): Make RTPencode use ACM to encode files. |
1285 ":cng", | 1286 ":cng", |
1286 ":g711", | 1287 ":g711", |
1287 ":g722", | 1288 ":g722", |
1288 ":ilbc", | 1289 ":ilbc", |
1289 ":isac", | 1290 ":isac", |
1290 ":neteq_test_tools", | 1291 ":neteq_test_tools", |
1291 ":pcm16b", | 1292 ":pcm16b", |
1292 ":webrtc_opus", | 1293 ":webrtc_opus", |
1293 "../../common_audio", | 1294 "../../common_audio", |
1295 "//build/config/sanitizers:deps", | |
1294 ] | 1296 ] |
1295 | 1297 |
1296 configs += [ ":RTPencode_config" ] | 1298 configs += [ ":RTPencode_config" ] |
1297 | 1299 |
1298 sources = [ | 1300 sources = [ |
1299 "neteq/test/RTPencode.cc", | 1301 "neteq/test/RTPencode.cc", |
1300 ] | 1302 ] |
1301 | 1303 |
1302 include_dirs = [ | 1304 include_dirs = [ |
1303 "neteq/include", | 1305 "neteq/include", |
(...skipping 10 matching lines...) Expand all Loading... | |
1314 | 1316 |
1315 executable("RTPchange") { | 1317 executable("RTPchange") { |
1316 testonly = true | 1318 testonly = true |
1317 | 1319 |
1318 sources = [ | 1320 sources = [ |
1319 "neteq/test/RTPchange.cc", | 1321 "neteq/test/RTPchange.cc", |
1320 ] | 1322 ] |
1321 | 1323 |
1322 deps = [ | 1324 deps = [ |
1323 ":neteq_test_tools", | 1325 ":neteq_test_tools", |
1326 "//build/config/sanitizers:deps", | |
1324 ] | 1327 ] |
1325 } | 1328 } |
1326 | 1329 |
1327 executable("rtpcat") { | 1330 executable("rtpcat") { |
1328 testonly = true | 1331 testonly = true |
1329 | 1332 |
1330 sources = [ | 1333 sources = [ |
1331 "neteq/tools/rtpcat.cc", | 1334 "neteq/tools/rtpcat.cc", |
1332 ] | 1335 ] |
1333 | 1336 |
1334 deps = [ | 1337 deps = [ |
1335 "../../system_wrappers:system_wrappers_default", | 1338 "../../system_wrappers:system_wrappers_default", |
1336 "../../test:rtp_test_utils", | 1339 "../../test:rtp_test_utils", |
1340 "//build/config/sanitizers:deps", | |
1337 "//testing/gtest", | 1341 "//testing/gtest", |
1338 ] | 1342 ] |
1339 } | 1343 } |
1340 | 1344 |
1341 executable("RTPtimeshift") { | 1345 executable("RTPtimeshift") { |
1342 testonly = true | 1346 testonly = true |
1343 | 1347 |
1344 sources = [ | 1348 sources = [ |
1345 "neteq/test/RTPtimeshift.cc", | 1349 "neteq/test/RTPtimeshift.cc", |
1346 ] | 1350 ] |
1347 | 1351 |
1348 deps = [ | 1352 deps = [ |
1349 ":neteq_test_tools", | 1353 ":neteq_test_tools", |
1354 "//build/config/sanitizers:deps", | |
1350 "//testing/gtest", | 1355 "//testing/gtest", |
1351 ] | 1356 ] |
1352 } | 1357 } |
1353 | 1358 |
1354 executable("RTPjitter") { | 1359 executable("RTPjitter") { |
1355 testonly = true | 1360 testonly = true |
1356 deps = [ | 1361 deps = [ |
1357 "../..:webrtc_common", | 1362 "../..:webrtc_common", |
1363 "//build/config/sanitizers:deps", | |
1358 "//testing/gtest", | 1364 "//testing/gtest", |
1359 ] | 1365 ] |
1360 sources = [ | 1366 sources = [ |
1361 "neteq/test/RTPjitter.cc", | 1367 "neteq/test/RTPjitter.cc", |
1362 ] | 1368 ] |
1363 } | 1369 } |
1364 | 1370 |
1365 executable("rtp_analyze") { | 1371 executable("rtp_analyze") { |
1366 testonly = true | 1372 testonly = true |
1367 | 1373 |
1368 sources = [ | 1374 sources = [ |
1369 "neteq/tools/rtp_analyze.cc", | 1375 "neteq/tools/rtp_analyze.cc", |
1370 ] | 1376 ] |
1371 | 1377 |
1372 deps = [ | 1378 deps = [ |
1373 ":neteq", | 1379 ":neteq", |
1374 ":neteq_unittest_tools", | 1380 ":neteq_unittest_tools", |
1375 ":pcm16b", | 1381 ":pcm16b", |
1376 "../../system_wrappers:system_wrappers_default", | 1382 "../../system_wrappers:system_wrappers_default", |
1383 "//build/config/sanitizers:deps", | |
1377 "//testing/gtest", | 1384 "//testing/gtest", |
1378 "//third_party/gflags:gflags", | 1385 "//third_party/gflags:gflags", |
1379 ] | 1386 ] |
1380 | 1387 |
1381 if (is_clang) { | 1388 if (is_clang) { |
1382 # Suppress warnings from Chrome's Clang plugins. | 1389 # Suppress warnings from Chrome's Clang plugins. |
1383 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1390 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1384 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1391 configs -= [ "//build/config/clang:find_bad_constructs" ] |
1385 } | 1392 } |
1386 } | 1393 } |
1387 | 1394 |
1388 executable("neteq_opus_quality_test") { | 1395 executable("neteq_opus_quality_test") { |
1389 testonly = true | 1396 testonly = true |
1390 | 1397 |
1391 sources = [ | 1398 sources = [ |
1392 "neteq/test/neteq_opus_quality_test.cc", | 1399 "neteq/test/neteq_opus_quality_test.cc", |
1393 ] | 1400 ] |
1394 | 1401 |
1395 deps = [ | 1402 deps = [ |
1396 ":neteq", | 1403 ":neteq", |
1397 ":neteq_test_support", | 1404 ":neteq_test_support", |
1398 ":neteq_unittest_tools", | 1405 ":neteq_unittest_tools", |
1399 ":webrtc_opus", | 1406 ":webrtc_opus", |
1400 "../../test:test_support_main", | 1407 "../../test:test_support_main", |
kjellander_webrtc
2016/08/17 12:19:22
Missing for this target (and others in this file).
ehmaldonado_webrtc
2016/08/17 12:37:05
Ok, I'll do, but I'm not sure if it's really neede
| |
1401 "//testing/gtest", | 1408 "//testing/gtest", |
1402 "//third_party/gflags", | 1409 "//third_party/gflags", |
1403 ] | 1410 ] |
1404 } | 1411 } |
1405 | 1412 |
1406 executable("neteq_speed_test") { | 1413 executable("neteq_speed_test") { |
1407 testonly = true | 1414 testonly = true |
1408 | 1415 |
1409 sources = [ | 1416 sources = [ |
1410 "neteq/test/neteq_speed_test.cc", | 1417 "neteq/test/neteq_speed_test.cc", |
1411 ] | 1418 ] |
1412 | 1419 |
1413 deps = [ | 1420 deps = [ |
1414 ":neteq", | 1421 ":neteq", |
1415 ":neteq_test_support", | 1422 ":neteq_test_support", |
1416 "../../system_wrappers:system_wrappers_default", | 1423 "../../system_wrappers:system_wrappers_default", |
1417 "../../test:test_support", | 1424 "../../test:test_support", |
1425 "//build/config/sanitizers:deps", | |
1418 "//third_party/gflags", | 1426 "//third_party/gflags", |
1419 ] | 1427 ] |
1420 } | 1428 } |
1421 | 1429 |
1422 executable("audio_classifier_test") { | 1430 executable("audio_classifier_test") { |
1423 testonly = true | 1431 testonly = true |
1424 sources = [ | 1432 sources = [ |
1425 "neteq/test/audio_classifier_test.cc", | 1433 "neteq/test/audio_classifier_test.cc", |
1426 ] | 1434 ] |
1427 deps = [ | 1435 deps = [ |
1428 ":neteq", | 1436 ":neteq", |
1429 ":webrtc_opus", | 1437 ":webrtc_opus", |
1430 "../../system_wrappers:system_wrappers_default", | 1438 "../../system_wrappers:system_wrappers_default", |
1439 "//build/config/sanitizers:deps", | |
1431 ] | 1440 ] |
1432 } | 1441 } |
1433 | 1442 |
1434 executable("neteq_ilbc_quality_test") { | 1443 executable("neteq_ilbc_quality_test") { |
1435 testonly = true | 1444 testonly = true |
1436 | 1445 |
1437 sources = [ | 1446 sources = [ |
1438 "neteq/test/neteq_ilbc_quality_test.cc", | 1447 "neteq/test/neteq_ilbc_quality_test.cc", |
1439 ] | 1448 ] |
1440 | 1449 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1487 executable("isac_fix_test") { | 1496 executable("isac_fix_test") { |
1488 testonly = true | 1497 testonly = true |
1489 | 1498 |
1490 sources = [ | 1499 sources = [ |
1491 "codecs/isac/fix/test/kenny.cc", | 1500 "codecs/isac/fix/test/kenny.cc", |
1492 ] | 1501 ] |
1493 | 1502 |
1494 deps = [ | 1503 deps = [ |
1495 ":isac_fix", | 1504 ":isac_fix", |
1496 "../../test:test_support", | 1505 "../../test:test_support", |
1506 "//build/config/sanitizers:deps", | |
1497 ] | 1507 ] |
1498 | 1508 |
1499 if (is_win) { | 1509 if (is_win) { |
1500 cflags = [ | 1510 cflags = [ |
1501 # Disable warnings to enable Win64 build, issue 1323. | 1511 # Disable warnings to enable Win64 build, issue 1323. |
1502 "/wd4267", # size_t to int truncation | 1512 "/wd4267", # size_t to int truncation |
1503 ] | 1513 ] |
1504 } | 1514 } |
1505 } | 1515 } |
1506 } | 1516 } |
OLD | NEW |