GN: move webrtc/video/ targets from webrtc/BUILD.gn into webrtc/video/BUILD.gn

Move the following targets into webrtc/video/BUILD.gn:
* screenshare_loopback
* video_quality_test
* video_loopback

Add new target 'run_tests' in webrtc/test/BUILD.gn, being used by two
of the above and make then depend on that instead.

BUG=webrtc:6440
NOTRY=True

Review-Url: https://codereview.webrtc.org/2438973002
Cr-Commit-Position: refs/heads/master@{#14735}
This commit is contained in:
kjellander
2016-10-24 01:52:39 -07:00
committed by Commit bot
parent 43536c3d6a
commit a3cac0514a
3 changed files with 79 additions and 79 deletions

View File

@ -193,6 +193,18 @@ rtc_source_set("test_support_main_threaded_mac") {
]
}
rtc_source_set("run_test") {
testonly = true
sources = [
"run_test.h",
]
if (is_mac) {
sources += [ "mac/run_test.mm" ]
} else {
sources += [ "run_test.cc" ]
}
}
test_support_unittests_resources = [
"//resources/foreman_cif_short.yuv",
"//resources/video_coding/frame-ethernet-ii.pcap",
@ -322,6 +334,7 @@ rtc_source_set("test_common") {
"../base:rtc_base_approved",
"../call",
"../modules/media_file",
"../modules/video_capture:video_capture_module",
"../video",
"//testing/gmock",
"//testing/gtest",