Move (test) RtpFileReader to a lightweight target.

Moves RtpFileReader to rtp_packet_parser and renames it to
rtp_test_utils which is allowed to rely on rtp_rtcp.

R=andrew@webrtc.org
BUG=

Review URL: https://webrtc-codereview.appspot.com/24979004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7536 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org 2014-10-27 18:01:03 +00:00
parent b787f4c593
commit aca5803b19
3 changed files with 6 additions and 5 deletions

View File

@ -98,9 +98,9 @@
'<(webrtc_root)/modules/modules.gyp:video_capture_module_impl',
'<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8',
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
'<(webrtc_root)/test/test.gyp:test_support_main',
'<(webrtc_root)/test/test.gyp:frame_generator',
'<(webrtc_root)/test/test.gyp:rtcp_packet_parser',
'<(webrtc_root)/test/test.gyp:rtp_test_utils',
'<(webrtc_root)/test/test.gyp:test_support_main',
],
'sources': [
'audio_coding/main/acm2/acm_opus_unittest.cc',

View File

@ -53,11 +53,13 @@
],
},
{
'target_name': 'rtcp_packet_parser',
'target_name': 'rtp_test_utils',
'type': 'static_library',
'sources': [
'rtcp_packet_parser.cc',
'rtcp_packet_parser.h',
'rtp_file_reader.cc',
'rtp_file_reader.h',
],
'dependencies': [
'<(webrtc_root)/modules/modules.gyp:rtp_rtcp',

View File

@ -35,8 +35,6 @@
'mock_transport.h',
'null_transport.cc',
'null_transport.h',
'rtp_file_reader.cc',
'rtp_file_reader.h',
'rtp_rtcp_observer.h',
'run_loop.cc',
'run_loop.h',
@ -63,6 +61,7 @@
'<(webrtc_root)/modules/modules.gyp:video_render_module_impl',
'<(webrtc_root)/test/test.gyp:frame_generator',
'<(webrtc_root)/test/test.gyp:test_support',
'<(webrtc_root)/test/test.gyp:rtp_test_utils',
'<(webrtc_root)/webrtc.gyp:webrtc',
],
},