| 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' : [
|
| {
|
|
|