Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: media/cast/cast_testing.gypi

Issue 248083005: Reland: [Cast] Consolidate plethora of GYP files into cast.gyp and cast_testing.gypi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes to problems exposed by r265481. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/cast_sender.gyp ('k') | media/cast/congestion_control/congestion_control.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
6 'variables': {
7 'include_cast_utility_apps%': 0,
8 },
9 'targets': [
10 {
11 'target_name': 'cast_test_utility',
12 'type': 'static_library',
13 'include_dirs': [
14 '<(DEPTH)/',
15 ],
16 'dependencies': [
17 'cast_receiver',
18 'cast_transport',
19 '<(DEPTH)/testing/gtest.gyp:gtest',
20 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
22 ],
23 'sources': [
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',
42 ], # source
43 },
44 {
45 'target_name': 'cast_unittests',
46 'type': '<(gtest_target_type)',
47 'include_dirs': [
48 '<(DEPTH)/',
49 # TODO(miu): Remove WebRTC dependency (RtpHeader), and then these two deps:
50 '<(DEPTH)/third_party/',
51 '<(DEPTH)/third_party/webrtc/',
52 ],
53 'dependencies': [
54 'cast_base',
55 'cast_receiver',
56 'cast_rtcp',
57 'cast_sender',
58 'cast_test_utility',
59 'cast_transport',
60 '<(DEPTH)/base/base.gyp:test_support_base',
61 '<(DEPTH)/net/net.gyp:net',
62 '<(DEPTH)/testing/gmock.gyp:gmock',
63 '<(DEPTH)/testing/gtest.gyp:gtest',
64 ],
65 'sources': [
66 '<(DEPTH)/media/base/run_all_unittests.cc',
67 'audio_receiver/audio_decoder_unittest.cc',
68 'audio_receiver/audio_receiver_unittest.cc',
69 'audio_sender/audio_encoder_unittest.cc',
70 'audio_sender/audio_sender_unittest.cc',
71 'congestion_control/congestion_control_unittest.cc',
72 'framer/cast_message_builder_unittest.cc',
73 'framer/frame_buffer_unittest.cc',
74 'framer/framer_unittest.cc',
75 'logging/encoding_event_subscriber_unittest.cc',
76 'logging/serialize_deserialize_test.cc',
77 'logging/logging_impl_unittest.cc',
78 'logging/logging_raw_unittest.cc',
79 'logging/simple_event_subscriber_unittest.cc',
80 'logging/stats_event_subscriber_unittest.cc',
81 'rtcp/mock_rtcp_receiver_feedback.cc',
82 'rtcp/mock_rtcp_receiver_feedback.h',
83 'rtcp/mock_rtcp_sender_feedback.cc',
84 'rtcp/mock_rtcp_sender_feedback.h',
85 'rtcp/rtcp_receiver_unittest.cc',
86 'rtcp/rtcp_sender_unittest.cc',
87 'rtcp/rtcp_unittest.cc',
88 'rtcp/receiver_rtcp_event_subscriber_unittest.cc',
89 'rtcp/sender_rtcp_event_subscriber_unittest.cc',
90 # TODO(miu): The following two are test utility modules. Rename/move the files.
91 'rtcp/test_rtcp_packet_builder.cc',
92 'rtcp/test_rtcp_packet_builder.h',
93 'rtp_receiver/rtp_receiver_defines.h',
94 'rtp_receiver/mock_rtp_payload_feedback.cc',
95 'rtp_receiver/mock_rtp_payload_feedback.h',
96 'rtp_receiver/receiver_stats_unittest.cc',
97 'rtp_receiver/rtp_parser/test/rtp_packet_builder.cc',
98 'rtp_receiver/rtp_parser/rtp_parser_unittest.cc',
99 'test/end2end_unittest.cc',
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',
120 ], # source
121 },
122 ], # targets
123 'conditions': [
124 ['include_cast_utility_apps==1', {
125 'targets': [
126 {
127 'target_name': 'cast_receiver_app',
128 'type': 'executable',
129 'include_dirs': [
130 '<(DEPTH)/',
131 ],
132 'dependencies': [
133 'cast_base',
134 'cast_receiver',
135 'cast_test_utility',
136 'cast_transport',
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',
141 ],
142 'sources': [
143 '<(DEPTH)/media/cast/test/receiver.cc',
144 ],
145 'conditions': [
146 ['OS == "linux" and use_x11==1', {
147 'dependencies': [
148 '<(DEPTH)/build/linux/system.gyp:x11',
149 '<(DEPTH)/build/linux/system.gyp:xext',
150 ],
151 'sources': [
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',
155 ],
156 }],
157 ],
158 },
159 {
160 'target_name': 'cast_sender_app',
161 'type': 'executable',
162 'include_dirs': [
163 '<(DEPTH)/',
164 ],
165 'dependencies': [
166 'cast_base',
167 'cast_sender',
168 'cast_test_utility',
169 'cast_transport',
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',
176 ],
177 'sources': [
178 '<(DEPTH)/media/cast/test/sender.cc',
179 ],
180 },
181 {
182 'target_name': 'generate_barcode_video',
183 'type': 'executable',
184 'include_dirs': [
185 '<(DEPTH)/',
186 ],
187 'dependencies': [
188 'cast_test_utility',
189 '<(DEPTH)/base/base.gyp:base',
190 '<(DEPTH)/media/media.gyp:media',
191 ],
192 'sources': [
193 'test/utility/generate_barcode_video.cc',
194 ],
195 },
196 {
197 'target_name': 'generate_timecode_audio',
198 'type': 'executable',
199 'include_dirs': [
200 '<(DEPTH)/',
201 ],
202 'dependencies': [
203 'cast_base',
204 'cast_test_utility',
205 'cast_transport',
206 '<(DEPTH)/base/base.gyp:base',
207 '<(DEPTH)/media/media.gyp:media',
208 ],
209 'sources': [
210 'test/utility/generate_timecode_audio.cc',
211 ],
212 },
213 {
214 'target_name': 'udp_proxy',
215 'type': 'executable',
216 'include_dirs': [
217 '<(DEPTH)/',
218 ],
219 'dependencies': [
220 'cast_test_utility',
221 '<(DEPTH)/base/base.gyp:base',
222 '<(DEPTH)/media/media.gyp:media',
223 ],
224 'sources': [
225 'test/utility/udp_proxy_main.cc',
226 ],
227 },
228 ], # targets
229 }],
230 ], # conditions
231 }
OLDNEW
« no previous file with comments | « media/cast/cast_sender.gyp ('k') | media/cast/congestion_control/congestion_control.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698