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

Unified Diff: webrtc/video/BUILD.gn

Issue 2064523002: GN: Add video_engine_tests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: audio_receive_stream_unittest compile Created 4 years, 6 months 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
Index: webrtc/video/BUILD.gn
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn
index 12d4dc3301b71b677cf46f1ed128e57993c08f1c..1f6b228dbba50d50f962bba577d013c75ed24e63 100644
--- a/webrtc/video/BUILD.gn
+++ b/webrtc/video/BUILD.gn
@@ -7,6 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.
import("../build/webrtc.gni")
+import("//testing/test.gni")
source_set("video") {
sources = [
@@ -79,3 +80,37 @@ source_set("video") {
"../voice_engine",
]
}
+
+if (rtc_include_tests) {
+ # TODO(pbos): Rename test suite.
+ source_set("video_tests") {
+ testonly = true
+ sources = [
+ "call_stats_unittest.cc",
+ "encoder_state_feedback_unittest.cc",
+ "end_to_end_tests.cc",
+ "overuse_frame_detector_unittest.cc",
+ "payload_router_unittest.cc",
+ "report_block_stats_unittest.cc",
+ "send_delay_stats_unittest.cc",
+ "send_statistics_proxy_unittest.cc",
+ "stats_counter_unittest.cc",
+ "stream_synchronization_unittest.cc",
+ "video_capture_input_unittest.cc",
+ "video_decoder_unittest.cc",
+ "video_encoder_unittest.cc",
+ "video_send_stream_tests.cc",
+ "vie_remb_unittest.cc",
+ ]
+ deps = [
+ ":video",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugin.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698