Index: webrtc/call/BUILD.gn |
diff --git a/webrtc/call/BUILD.gn b/webrtc/call/BUILD.gn |
index 15a3560d918bcb63ce796c3cd83cc66b59910793..5b428f72e9bb17f95c1385464d5a3353b61739b0 100644 |
--- a/webrtc/call/BUILD.gn |
+++ b/webrtc/call/BUILD.gn |
@@ -35,3 +35,26 @@ source_set("call") { |
"../video", |
] |
} |
+ |
+if (rtc_include_tests) { |
+ source_set("call_tests") { |
+ testonly = true |
+ sources = [ |
+ "bitrate_allocator_unittest.cc", |
+ "bitrate_estimator_tests.cc", |
+ "call_unittest.cc", |
+ "packet_injection_tests.cc", |
+ "ringbuffer_unittest.cc", |
+ ] |
+ deps = [ |
+ ":call", |
+ "//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" ] |
+ } |
+ } |
+} |