1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 'target_name': 'cast_test_utility',
9 'type': 'static_library',
16 '<(DEPTH)/testing/gtest.gyp:gtest',
17 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
18 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
21 'test/fake_single_thread_task_runner.cc',
22 'test/fake_single_thread_task_runner.h',
23 'test/skewed_single_thread_task_runner.cc',
24 'test/skewed_single_thread_task_runner.h',
25 'test/skewed_tick_clock.cc',
26 'test/skewed_tick_clock.h',
27 'test/utility/audio_utility.cc',
28 'test/utility/audio_utility.h',
29 'test/utility/barcode.cc',
30 'test/utility/barcode.h',
31 'test/utility/default_config.cc',
32 'test/utility/default_config.h',
33 'test/utility/in_process_receiver.cc',
34 'test/utility/in_process_receiver.h',
35 'test/utility/input_builder.cc',
36 'test/utility/input_builder.h',
37 'test/utility/net_utility.cc',
38 'test/utility/net_utility.h',
39 'test/utility/standalone_cast_environment.cc',
40 'test/utility/standalone_cast_environment.h',
41 'test/utility/video_utility.cc',
42 'test/utility/video_utility.h',
43 'test/utility/udp_proxy.cc',
44 'test/utility/udp_proxy.h',
48 'target_name': 'cast_unittests',
49 'type': '<(gtest_target_type)',
59 # Not a true dependency. This is here to make sure the CQ can verify
60 # the tools compile correctly.
63 '<(DEPTH)/base/base.gyp:test_support_base',
64 '<(DEPTH)/net/net.gyp:net',
65 '<(DEPTH)/testing/gmock.gyp:gmock',
66 '<(DEPTH)/testing/gtest.gyp:gtest',
69 '<(DEPTH)/media/base/run_all_unittests.cc',
70 'audio_receiver/audio_decoder_unittest.cc',
71 'audio_receiver/audio_receiver_unittest.cc',
72 'audio_sender/audio_encoder_unittest.cc',
73 'audio_sender/audio_sender_unittest.cc',
74 'congestion_control/congestion_control_unittest.cc',
75 'framer/cast_message_builder_unittest.cc',
76 'framer/frame_buffer_unittest.cc',
77 'framer/framer_unittest.cc',
78 'logging/encoding_event_subscriber_unittest.cc',
79 'logging/serialize_deserialize_test.cc',
80 'logging/logging_impl_unittest.cc',
81 'logging/logging_raw_unittest.cc',
82 'logging/receiver_time_offset_estimator_impl_unittest.cc',
83 'logging/simple_event_subscriber_unittest.cc',
84 'logging/stats_event_subscriber_unittest.cc',
85 'rtcp/mock_rtcp_receiver_feedback.cc',
86 'rtcp/mock_rtcp_receiver_feedback.h',
87 'rtcp/mock_rtcp_sender_feedback.cc',
88 'rtcp/mock_rtcp_sender_feedback.h',
89 'rtcp/rtcp_receiver_unittest.cc',
90 'rtcp/rtcp_sender_unittest.cc',
91 'rtcp/rtcp_unittest.cc',
92 'rtcp/receiver_rtcp_event_subscriber_unittest.cc',
93 # TODO(miu): The following two are test utility modules. Rename/move the files.
94 'rtcp/test_rtcp_packet_builder.cc',
95 'rtcp/test_rtcp_packet_builder.h',
96 'rtp_receiver/rtp_receiver_defines.h',
97 'rtp_receiver/mock_rtp_payload_feedback.cc',
98 'rtp_receiver/mock_rtp_payload_feedback.h',
99 'rtp_receiver/receiver_stats_unittest.cc',
100 'rtp_receiver/rtp_parser/test/rtp_packet_builder.cc',
101 'rtp_receiver/rtp_parser/rtp_parser_unittest.cc',
102 'test/end2end_unittest.cc',
103 'test/fake_receiver_time_offset_estimator.cc',
104 'test/fake_receiver_time_offset_estimator.h',
105 'test/fake_single_thread_task_runner.cc',
106 'test/fake_single_thread_task_runner.h',
107 'test/fake_video_encode_accelerator.cc',
108 'test/fake_video_encode_accelerator.h',
109 'test/utility/audio_utility_unittest.cc',
110 'test/utility/barcode_unittest.cc',
111 'transport/cast_transport_sender_impl_unittest.cc',
112 'transport/pacing/mock_paced_packet_sender.cc',
113 'transport/pacing/mock_paced_packet_sender.h',
114 'transport/pacing/paced_sender_unittest.cc',
115 'transport/rtp_sender/packet_storage/packet_storage_unittest.cc',
116 'transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc',
117 'transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc',
118 'transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.h',
119 'transport/transport/udp_transport_unittest.cc',
120 'video_receiver/video_decoder_unittest.cc',
121 'video_receiver/video_receiver_unittest.cc',
122 'video_sender/external_video_encoder_unittest.cc',
123 'video_sender/video_encoder_impl_unittest.cc',
124 'video_sender/video_sender_unittest.cc',
128 # This is a target for the collection of cast development tools.
129 # They are built on bots but not shipped.
130 'target_name': 'cast_tools',
139 'target_name': 'cast_receiver_app',
140 'type': 'executable',
149 '<(DEPTH)/net/net.gyp:net_test_support',
150 '<(DEPTH)/media/media.gyp:media',
151 '<(DEPTH)/testing/gtest.gyp:gtest',
152 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
155 '<(DEPTH)/media/cast/test/receiver.cc',
158 ['OS == "linux" and use_x11==1', {
160 '<(DEPTH)/build/linux/system.gyp:x11',
161 '<(DEPTH)/build/linux/system.gyp:xext',
164 '<(DEPTH)/media/cast/test/linux_output_window.cc',
165 '<(DEPTH)/media/cast/test/linux_output_window.h',
166 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
172 'target_name': 'cast_sender_app',
173 'type': 'executable',
182 '<(DEPTH)/net/net.gyp:net_test_support',
183 '<(DEPTH)/media/media.gyp:media',
184 '<(DEPTH)/testing/gtest.gyp:gtest',
185 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
186 '<(DEPTH)/third_party/opus/opus.gyp:opus',
187 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
190 '<(DEPTH)/media/cast/test/sender.cc',
194 'target_name': 'generate_barcode_video',
195 'type': 'executable',
201 '<(DEPTH)/base/base.gyp:base',
202 '<(DEPTH)/media/media.gyp:media',
205 'test/utility/generate_barcode_video.cc',
209 'target_name': 'generate_timecode_audio',
210 'type': 'executable',
218 '<(DEPTH)/base/base.gyp:base',
219 '<(DEPTH)/media/media.gyp:media',
222 'test/utility/generate_timecode_audio.cc',
226 'target_name': 'udp_proxy',
227 'type': 'executable',
233 '<(DEPTH)/base/base.gyp:base',
234 '<(DEPTH)/media/media.gyp:media',
237 'test/utility/udp_proxy_main.cc',