Index: webrtc/video/BUILD.gn |
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn |
index 863f2f5740157a5fe6d9b5ab4dc031a9ac99a4f1..c8d32b0ddaf58e063a4ee0e9ea9b745138698f7f 100644 |
--- a/webrtc/video/BUILD.gn |
+++ b/webrtc/video/BUILD.gn |
@@ -73,6 +73,71 @@ rtc_static_library("video") { |
} |
if (rtc_include_tests) { |
+ rtc_source_set("video_quality_test") { |
+ testonly = true |
+ sources = [ |
+ "video_quality_test.cc", |
+ "video_quality_test.h", |
+ ] |
+ deps = [ |
+ "../system_wrappers", |
+ "//testing/gtest", |
+ ] |
+ if (!is_android) { |
+ deps += [ "../modules/video_capture:video_capture_internal_impl" ] |
+ } |
+ 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_executable("video_loopback") { |
+ testonly = true |
+ sources = [ |
+ "video_loopback.cc", |
+ ] |
+ deps = [ |
+ ":video_quality_test", |
+ "../system_wrappers:metrics_default", |
+ "../test:field_trial", |
+ "../test:run_test", |
+ "../test:test_common", |
+ "../test:test_renderer", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//third_party/gflags", |
+ ] |
+ 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_executable("screenshare_loopback") { |
+ testonly = true |
+ sources = [ |
+ "screenshare_loopback.cc", |
+ ] |
+ |
+ deps = [ |
+ ":video_quality_test", |
+ "../system_wrappers:metrics_default", |
+ "../test:field_trial", |
+ "../test:run_test", |
+ "../test:test_common", |
+ "../test:test_renderer", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//third_party/gflags", |
+ ] |
+ if (!build_with_chromium && is_clang) { |
+ # Suppress warnings from Chrome's Clang plugins. |
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
+ } |
+ } |
+ |
# TODO(pbos): Rename test suite. |
rtc_source_set("video_tests") { |
testonly = true |