Index: webrtc/logging/BUILD.gn |
diff --git a/webrtc/logging/BUILD.gn b/webrtc/logging/BUILD.gn |
index fd0caca0375ac0fa559bbb4baae42c41e9d14cf5..6b4f5eef7ea8be36594697e267c982810546b163 100644 |
--- a/webrtc/logging/BUILD.gn |
+++ b/webrtc/logging/BUILD.gn |
@@ -104,4 +104,24 @@ if (rtc_enable_protobuf) { |
} |
} |
} |
+ if (rtc_include_tests) { |
+ rtc_executable("rtc_event_log2text") { |
+ testonly = true |
+ sources = [ |
+ "rtc_event_log/rtc_event_log2text.cc", |
+ ] |
+ deps = [ |
+ ":rtc_event_log_api", |
+ ":rtc_event_log_impl", |
+ ":rtc_event_log_parser", |
+ "../base:rtc_base_approved", |
+ "../modules/rtp_rtcp:rtp_rtcp", |
+ "//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" ] |
+ } |
+ } |
+ } |
} |