Index: webrtc/video/BUILD.gn |
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn |
index 69756096debc7477af6b61a3246e39d72fb60c6a..2e50e616688f0ccf6721ae5eb3006f2fb8c30b1f 100644 |
--- a/webrtc/video/BUILD.gn |
+++ b/webrtc/video/BUILD.gn |
@@ -133,8 +133,6 @@ if (rtc_include_tests) { |
"../test:run_test", |
"../test:test_common", |
"../test:test_renderer", |
- "//testing/gmock", |
- "//testing/gtest", |
"//third_party/gflags", |
] |
if (!build_with_chromium && is_clang) { |
@@ -144,6 +142,28 @@ if (rtc_include_tests) { |
} |
} |
+ 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 |