GN: Refactor modules_unittests to eliminate package boundary violations.

Also move bwe_simulator to webrtc/modules/remote_bitrate_estimator

BUG=webrtc:6954
NOTRY=True

Review-Url: https://codereview.webrtc.org/2649563002
Cr-Commit-Position: refs/heads/master@{#16270}
This commit is contained in:
ehmaldonado
2017-01-25 08:00:15 -08:00
committed by Commit bot
parent 26764613ad
commit 36cb55d715
6 changed files with 147 additions and 83 deletions

View File

@ -1139,6 +1139,50 @@ if (rtc_include_tests) {
}
}
rtc_source_set("audio_coding_modules_tests") {
testonly = true
sources = [
"test/APITest.cc",
"test/Channel.cc",
"test/EncodeDecodeTest.cc",
"test/PCMFile.cc",
"test/PacketLossTest.cc",
"test/RTPFile.cc",
"test/TestAllCodecs.cc",
"test/TestRedFec.cc",
"test/TestStereo.cc",
"test/TestVADDTX.cc",
"test/Tester.cc",
"test/TwoWayCommunication.cc",
"test/iSACTest.cc",
"test/opus_test.cc",
"test/target_delay_unittest.cc",
"test/utility.cc",
]
deps = [
":audio_coding",
":audio_format_conversion",
":builtin_audio_decoder_factory",
":pcm16b_c",
"../..:webrtc_common",
"../../base:rtc_base_approved",
"../../system_wrappers:system_wrappers",
"../../test:fileutils",
"../../test:test_support",
]
defines = audio_coding_defines
if (is_win) {
cflags = [
# TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
"/wd4373", # virtual function override.
]
}
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("audio_coding_perf_tests") {
testonly = true
sources = [