Index: webrtc/test/BUILD.gn |
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn |
index 2966c8d01c69f03d850c947b94cc06aaf983ce5e..1b0b92892492ae1e6c5ad991f1569de7ac425108 100644 |
--- a/webrtc/test/BUILD.gn |
+++ b/webrtc/test/BUILD.gn |
@@ -187,6 +187,8 @@ source_set("test_support") { |
"testsupport/frame_writer.cc", |
"testsupport/frame_writer.h", |
"testsupport/iosfileutils.mm", |
+ "testsupport/metrics/video_metrics.cc", |
kjellander_webrtc
2016/06/13 11:37:19
These are located in a separate 'metrics' target t
|
+ "testsupport/metrics/video_metrics.h", |
"testsupport/mock/mock_frame_reader.h", |
"testsupport/mock/mock_frame_writer.h", |
"testsupport/packet_reader.cc", |
@@ -199,11 +201,18 @@ source_set("test_support") { |
deps = [ |
"../base:gtest_prod", |
+ "../common_video", |
"../system_wrappers", |
"//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" ] |
+ } |
+ |
if (is_ios) { |
configs += [ "//build/config/compiler:enable_arc" ] |
} |
@@ -272,6 +281,7 @@ test("test_support_unittests") { |
"channel_transport/udp_socket_manager_unittest.cc", |
"channel_transport/udp_socket_wrapper_unittest.cc", |
"channel_transport/udp_transport_unittest.cc", |
+ "common_unittest.cc", |
"fake_network_pipe_unittest.cc", |
"frame_generator_unittest.cc", |
"rtp_file_reader_unittest.cc", |
@@ -280,6 +290,7 @@ test("test_support_unittests") { |
"testsupport/fileutils_unittest.cc", |
"testsupport/frame_reader_unittest.cc", |
"testsupport/frame_writer_unittest.cc", |
+ "testsupport/metrics/video_metrics_unittest.cc", |
"testsupport/packet_reader_unittest.cc", |
"testsupport/perf_test_unittest.cc", |
"testsupport/unittest_utils.h", |