Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: webrtc/video/BUILD.gn

Issue 2595533002: Add back video_replay. Disappeared in the gn conversion. (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/test/rtp_file_reader.cc ('k') | webrtc/video/replay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/test/rtp_file_reader.cc ('k') | webrtc/video/replay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698