Index: webrtc/webrtc.gyp |
diff --git a/webrtc/webrtc.gyp b/webrtc/webrtc.gyp |
index e1df4336f135da72a408ddae693899750f87b4b2..5ffd0e3b3e495a4dd325574009fdff3bb6b5c570 100644 |
--- a/webrtc/webrtc.gyp |
+++ b/webrtc/webrtc.gyp |
@@ -185,6 +185,40 @@ |
}], |
], |
}, |
- |
+ { |
+ 'target_name': 'rtp_analyzer', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'copy_py_scripts', |
+ 'variables': { |
+ 'copy_output_dir%': '<(PRODUCT_DIR)', |
+ }, |
+ 'inputs': [ |
+ '<(DEPTH)/tools/py_event_log_analyzer/pb_parse.py', |
+ '<(DEPTH)/tools/py_event_log_analyzer/misc.py', |
+ '<(DEPTH)/tools/py_event_log_analyzer/rtp_analyzer.py', |
+ '<(DEPTH)/tools/py_event_log_analyzer/copy_files.py', |
+ '<(DEPTH)/tools/py_event_log_analyzer/rtp_analyzer.sh', |
+ ], |
+ 'outputs': [ |
+ '<(copy_output_dir)/pb_parse.py', |
+ '<(copy_output_dir)/misc.py', |
+ '<(copy_output_dir)/rtp_analyzer.py', |
+ '<(copy_output_dir)/copy_files.py', |
+ '<(copy_output_dir)/rtp_analyzer.sh', |
+ ], |
+ 'action': ['python', |
+ '<(DEPTH)/tools/py_event_log_analyzer/copy_files.py', |
+ '--input_dir=<(DEPTH)/tools/py_event_log_analyzer/', |
+ '--output_dir=<(copy_output_dir)'], |
+ 'message': 'Copying *py and *sh files to <(copy_output_dir)', |
+ 'process_outputs_as_sources': 1, |
+ }, |
+ ], |
+ 'dependencies': [ |
+ 'rtc_event_log_proto', |
+ ], |
+ }, |
], |
} |