Extract functionality of test_main into separate library.

Extract functionality of test_main into separate library to be able to
reuse it if another main will be required.

Bug: webrtc:5996
Change-Id: I2925b4240bd0e4fb884b43bb16667ca2d6216bbd
Reviewed-on: https://webrtc-review.googlesource.com/c/105921
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25172}
This commit is contained in:
Artem Titov
2018-10-15 15:25:34 +02:00
committed by Commit Bot
parent d2d2ecb4a8
commit 40a7a35eaa
15 changed files with 245 additions and 135 deletions

View File

@ -1479,6 +1479,7 @@ if (rtc_include_tests) {
"../../rtc_base/system:arch",
"../../test:test_main",
"//testing/gtest",
"//test:test_support",
] + audio_coding_deps
data = audio_decoder_unittests_resources
@ -1597,6 +1598,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved",
"../../test:test_main",
"../audio_processing",
"//test:test_support",
"//testing/gtest",
]
}
@ -1957,6 +1959,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_main",
"//test:test_support",
"//testing/gtest",
]
}