Refactor webrtc_perf_tests into several source_sets.

BUG=webrtc:6954

Review-Url: https://codereview.webrtc.org/2609403002
Cr-Commit-Position: refs/heads/master@{#15902}
This commit is contained in:
ehmaldonado
2017-01-04 09:13:58 -08:00
committed by Commit bot
parent 758b6d7efa
commit 0b5a26a576
6 changed files with 109 additions and 35 deletions

View File

@ -1136,6 +1136,27 @@ if (rtc_include_tests) {
}
}
rtc_source_set("audio_coding_perf_tests") {
testonly = true
sources = [
"codecs/opus/opus_complexity_unittest.cc",
"neteq/test/neteq_performance_unittest.cc",
]
deps = [
":neteq_test_support",
":neteq_unittest_tools",
":webrtc_opus",
"../..:webrtc_common",
"../../base:rtc_base_approved",
"../../system_wrappers:system_wrappers",
"../../test:test_support",
]
if (!build_with_chromium && is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
rtc_source_set("acm_receive_test") {
testonly = true
sources = [