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

Unified Diff: webrtc/tools/tools.gyp

Issue 2268063002: Define a protobuf format for representing plots (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add plot_protobuf.* to source list for visualization tool. Created 4 years, 4 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
Index: webrtc/tools/tools.gyp
diff --git a/webrtc/tools/tools.gyp b/webrtc/tools/tools.gyp
index 34da51987b5c5e81873a1eed370f13e9c83843f1..984a66d28a6d3e598ea8ac463a35abc28c3dc4ad 100644
--- a/webrtc/tools/tools.gyp
+++ b/webrtc/tools/tools.gyp
@@ -105,7 +105,20 @@
# 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
+ # This target should only be built if enable_protobuf is set.
+ 'target_name': 'graph_proto',
+ 'type': 'static_library',
+ 'sources': [
+ 'event_log_visualizer/graph.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': 'event_log_visualizer',
+ 'proto_out_dir': 'webrtc/tools/event_log_visualizer',
+ },
+ 'includes': ['../build/protoc.gypi'],
+ },
+ {
+ # This target should only be built if enable_protobuf is set.
'target_name': 'event_log_visualizer',
'type': 'executable',
'dependencies': [
@@ -115,6 +128,7 @@
'<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
'<(webrtc_root)/test/test.gyp:field_trial',
+ '<(webrtc_root)/tools/tools.gyp:graph_proto',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
],
'sources': [
@@ -125,6 +139,8 @@
'event_log_visualizer/plot_base.h',
'event_log_visualizer/plot_python.cc',
'event_log_visualizer/plot_python.h',
+ 'event_log_visualizer/plot_protobuf.cc',
+ 'event_log_visualizer/plot_protobuf.h',
],
},
],
« webrtc/tools/BUILD.gn ('K') | « webrtc/tools/event_log_visualizer/plot_protobuf.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698