Index: webrtc/logging/BUILD.gn |
diff --git a/webrtc/logging/BUILD.gn b/webrtc/logging/BUILD.gn |
index 6fcab59435a053a183a0ec73d4438b9d03df387e..222b226507c24deb88da8872ad5da83e0c8a7ef1 100644 |
--- a/webrtc/logging/BUILD.gn |
+++ b/webrtc/logging/BUILD.gn |
@@ -173,4 +173,23 @@ if (rtc_enable_protobuf) { |
} |
} |
} |
+ if (rtc_include_tests) { |
+ rtc_executable("rtc_event_log2stats") { |
+ testonly = true |
+ sources = [ |
+ "rtc_event_log/rtc_event_log2stats.cc", |
+ ] |
+ deps = [ |
+ ":rtc_event_log_api", |
+ ":rtc_event_log_impl", |
+ ":rtc_event_log_proto", |
+ "../base:rtc_base_approved", |
+ "//third_party/gflags", |
+ ] |
+ 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" ] |
+ } |
+ } |
+ } |
} |