| 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',
|
| ],
|
| },
|
| ],
|
|
|