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.
7 'include_cast_utility_apps%': 0,
11 'target_name': 'cast_test_utility',
12 'type': 'static_library',
19 '<(DEPTH)/testing/gtest.gyp:gtest',
20 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
24 'test/fake_single_thread_task_runner.cc',
25 'test/fake_single_thread_task_runner.h',
26 'test/utility/audio_utility.cc',
27 'test/utility/audio_utility.h',
28 'test/utility/barcode.cc',
29 'test/utility/barcode.h',
30 'test/utility/default_config.cc',
31 'test/utility/default_config.h',
32 'test/utility/in_process_receiver.cc',
33 'test/utility/in_process_receiver.h',
34 'test/utility/input_builder.cc',
35 'test/utility/input_builder.h',
36 'test/utility/standalone_cast_environment.cc',
37 'test/utility/standalone_cast_environment.h',
38 'test/utility/video_utility.cc',
39 'test/utility/video_utility.h',
40 'test/utility/udp_proxy.cc',
41 'test/utility/udp_proxy.h',
45 'target_name': 'cast_unittests',
46 'type': '<(gtest_target_type)',
57 '<(DEPTH)/base/base.gyp:test_support_base',
58 '<(DEPTH)/net/net.gyp:net',
59 '<(DEPTH)/testing/gmock.gyp:gmock',
60 '<(DEPTH)/testing/gtest.gyp:gtest',
63 '<(DEPTH)/media/base/run_all_unittests.cc',
64 'audio_receiver/audio_decoder_unittest.cc',
65 'audio_receiver/audio_receiver_unittest.cc',
66 'audio_sender/audio_encoder_unittest.cc',
67 'audio_sender/audio_sender_unittest.cc',
68 'congestion_control/congestion_control_unittest.cc',
69 'framer/cast_message_builder_unittest.cc',
70 'framer/frame_buffer_unittest.cc',
71 'framer/framer_unittest.cc',
72 'logging/encoding_event_subscriber_unittest.cc',
73 'logging/serialize_deserialize_test.cc',
74 'logging/logging_impl_unittest.cc',
75 'logging/logging_raw_unittest.cc',
76 'logging/receiver_time_offset_estimator_impl_unittest.cc',
77 'logging/simple_event_subscriber_unittest.cc',
78 'logging/stats_event_subscriber_unittest.cc',
79 'rtcp/mock_rtcp_receiver_feedback.cc',
80 'rtcp/mock_rtcp_receiver_feedback.h',
81 'rtcp/mock_rtcp_sender_feedback.cc',
82 'rtcp/mock_rtcp_sender_feedback.h',
83 'rtcp/rtcp_receiver_unittest.cc',
84 'rtcp/rtcp_sender_unittest.cc',
85 'rtcp/rtcp_unittest.cc',
86 'rtcp/receiver_rtcp_event_subscriber_unittest.cc',
87 'rtcp/sender_rtcp_event_subscriber_unittest.cc',
88 # TODO(miu): The following two are test utility modules. Rename/move the files.
89 'rtcp/test_rtcp_packet_builder.cc',
90 'rtcp/test_rtcp_packet_builder.h',
91 'rtp_receiver/rtp_receiver_defines.h',
92 'rtp_receiver/mock_rtp_payload_feedback.cc',
93 'rtp_receiver/mock_rtp_payload_feedback.h',
94 'rtp_receiver/receiver_stats_unittest.cc',
95 'rtp_receiver/rtp_parser/test/rtp_packet_builder.cc',
96 'rtp_receiver/rtp_parser/rtp_parser_unittest.cc',
97 'test/end2end_unittest.cc',
98 'test/fake_receiver_time_offset_estimator.cc',
99 'test/fake_receiver_time_offset_estimator.h',
100 'test/fake_single_thread_task_runner.cc',
101 'test/fake_single_thread_task_runner.h',
102 'test/fake_video_encode_accelerator.cc',
103 'test/fake_video_encode_accelerator.h',
104 'test/utility/audio_utility_unittest.cc',
105 'test/utility/barcode_unittest.cc',
106 'transport/cast_transport_sender_impl_unittest.cc',
107 'transport/pacing/mock_paced_packet_sender.cc',
108 'transport/pacing/mock_paced_packet_sender.h',
109 'transport/pacing/paced_sender_unittest.cc',
110 'transport/rtp_sender/packet_storage/packet_storage_unittest.cc',
111 'transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc',
112 'transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc',
113 'transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.h',
114 'transport/transport/udp_transport_unittest.cc',
115 'video_receiver/video_decoder_unittest.cc',
116 'video_receiver/video_receiver_unittest.cc',
117 'video_sender/external_video_encoder_unittest.cc',
118 'video_sender/video_encoder_impl_unittest.cc',
119 'video_sender/video_sender_unittest.cc',
124 ['include_cast_utility_apps==1', {
127 'target_name': 'cast_receiver_app',
128 'type': 'executable',
137 '<(DEPTH)/net/net.gyp:net_test_support',
138 '<(DEPTH)/media/media.gyp:media',
139 '<(DEPTH)/testing/gtest.gyp:gtest',
140 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
143 '<(DEPTH)/media/cast/test/receiver.cc',
146 ['OS == "linux" and use_x11==1', {
148 '<(DEPTH)/build/linux/system.gyp:x11',
149 '<(DEPTH)/build/linux/system.gyp:xext',
152 '<(DEPTH)/media/cast/test/linux_output_window.cc',
153 '<(DEPTH)/media/cast/test/linux_output_window.h',
154 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
160 'target_name': 'cast_sender_app',
161 'type': 'executable',
170 '<(DEPTH)/net/net.gyp:net_test_support',
171 '<(DEPTH)/media/media.gyp:media',
172 '<(DEPTH)/testing/gtest.gyp:gtest',
173 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
174 '<(DEPTH)/third_party/opus/opus.gyp:opus',
175 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
178 '<(DEPTH)/media/cast/test/sender.cc',
182 'target_name': 'generate_barcode_video',
183 'type': 'executable',
189 '<(DEPTH)/base/base.gyp:base',
190 '<(DEPTH)/media/media.gyp:media',
193 'test/utility/generate_barcode_video.cc',
197 'target_name': 'generate_timecode_audio',
198 'type': 'executable',
206 '<(DEPTH)/base/base.gyp:base',
207 '<(DEPTH)/media/media.gyp:media',
210 'test/utility/generate_timecode_audio.cc',
214 'target_name': 'udp_proxy',
215 'type': 'executable',
221 '<(DEPTH)/base/base.gyp:base',
222 '<(DEPTH)/media/media.gyp:media',
225 'test/utility/udp_proxy_main.cc',