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

Unified Diff: webrtc/tools/tools.gyp

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/tools/event_log_visualizer/plot_python.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/tools.gyp
diff --git a/webrtc/tools/tools.gyp b/webrtc/tools/tools.gyp
index 998319e31fc51692053fe4b2b940e1d7615d8429..5c11370a20576b3557a9896a985b2fd4467f4a12 100644
--- a/webrtc/tools/tools.gyp
+++ b/webrtc/tools/tools.gyp
@@ -99,6 +99,32 @@
}, # force_mic_volume_max
],
'conditions': [
+ ['enable_protobuf==1 and include_tests==1', {
+ # TODO(terelius): This tool requires the include_test condition to
+ # prevent build errors when gflags isn't found in downstream projects.
+ # There should be a cleaner way to do this. The tool is not test related.
+ 'targets': [
+ {
+ # This target should only be built if enable_protobuf is set
+ 'target_name': 'event_log_visualizer',
+ 'type': 'executable',
+ 'dependencies': [
+ '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
+ '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
+ '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
+ '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
+ ],
+ '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',
+ ],
+ },
+ ],
+ }],
['include_tests==1', {
'targets' : [
{
« no previous file with comments | « webrtc/tools/event_log_visualizer/plot_python.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698