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

Unified Diff: webrtc/modules/video_coding/BUILD.gn

Issue 2041233006: GN: Add modules_unittests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Correct path to base.gyp 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/modules/video_coding/BUILD.gn
diff --git a/webrtc/modules/video_coding/BUILD.gn b/webrtc/modules/video_coding/BUILD.gn
index 7b1138416a37dc9af57e259c0d61670ba6621718..30d0f11fc85b1e3f837337b72b400bf6c559c6ba 100644
--- a/webrtc/modules/video_coding/BUILD.gn
+++ b/webrtc/modules/video_coding/BUILD.gn
@@ -308,3 +308,33 @@ source_set("webrtc_vp9") {
deps += [ rtc_libvpx_dir ]
}
}
+
+if (rtc_include_tests) {
+ source_set("video_codecs_test_framework") {
+ testonly = true
+ sources = [
+ "codecs/test/mock/mock_packet_manipulator.h",
+ "codecs/test/packet_manipulator.cc",
+ "codecs/test/packet_manipulator.h",
+ "codecs/test/predictive_packet_manipulator.cc",
+ "codecs/test/predictive_packet_manipulator.h",
+ "codecs/test/stats.cc",
+ "codecs/test/stats.h",
+ "codecs/test/videoprocessor.cc",
+ "codecs/test/videoprocessor.h",
+ ]
+
+ configs += [ "../..:common_config" ]
+ public_configs = [ "../..:common_inherited_config" ]
+
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+
+ deps = [
+ "../../test:test_support",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698