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

Unified Diff: webrtc/tools/BUILD.gn

Issue 1995523002: Visualization tool for WebrtcEventLogs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Use include_tests==1 to avoid compiling if gflags isn't available. Created 4 years, 5 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
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/tools/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/BUILD.gn
diff --git a/webrtc/tools/BUILD.gn b/webrtc/tools/BUILD.gn
index 2d095636dfa424de569660555b78294b08e2eccd..abf0ca0482750ce793603b0f7e4254699b69893a 100644
--- a/webrtc/tools/BUILD.gn
+++ b/webrtc/tools/BUILD.gn
@@ -171,6 +171,36 @@ source_set("agc_test_utils") {
# Exclude tools depending on gflags since that's not available in Chromium.
if (rtc_include_tests) {
+ if (rtc_enable_protobuf) {
+ executable("event_log_visualizer") {
+ sources = [
+ "event_log_visualizer/analyzer.cc",
+ "event_log_visualizer/analyzer.h",
+ "event_log_visualizer/generate_timeseries.cc",
+ "event_log_visualizer/plot_base.h",
+ "event_log_visualizer/plot_python.cc",
+ "event_log_visualizer/plot_python.h",
+ ]
+
+ configs += [ "..:common_config" ]
+ public_configs = [ "..:common_inherited_config" ]
+
+ if (is_clang && !is_nacl) {
+ # 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" ]
+ }
+
+ defines = [ "ENABLE_RTC_EVENT_LOG" ]
+ deps = [
+ "../:rtc_event_log_parser",
+ "../modules/rtp_rtcp:rtp_rtcp",
+ "../system_wrappers:system_wrappers_default",
+ "//third_party/gflags",
+ ]
+ }
+ }
+
executable("agc_harness") {
testonly = true
sources = [
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/tools/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698