Add back video_replay. Disappeared in the gn conversion.
BUG=webrtc:6323
Review-Url: https://codereview.webrtc.org/2595533002
Cr-Commit-Position: refs/heads/master@{#15715}
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn
index 312f3f4..87a9800 100644
--- a/webrtc/video/BUILD.gn
+++ b/webrtc/video/BUILD.gn
@@ -134,8 +134,6 @@
"../test:run_test",
"../test:test_common",
"../test:test_renderer",
- "//testing/gmock",
- "//testing/gtest",
"//third_party/gflags",
]
if (!build_with_chromium && is_clang) {
@@ -145,6 +143,28 @@
}
}
+ rtc_executable("video_replay") {
+ testonly = true
+ sources = [
+ "replay.cc",
+ ]
+ deps = [
+ "../system_wrappers:metrics_default",
+ "../test:field_trial",
+ "../test:run_test",
+ "../test:test_common",
+ "../test:test_renderer",
+ "//third_party/gflags",
+ ]
+ 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" ]
+ }
+ }
+
# TODO(pbos): Rename test suite.
rtc_source_set("video_tests") {
testonly = true