Disable Wow64 tests. These appear to be causing issues on a Vista bot.
[chromium-blink-merge.git] / media / cast / cast.gyp
blob4f0c2dd4a9d024fa199f3d1a8fac0b9c124890f8
1 # Copyright 2013 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.
6   'variables': {
7     'include_tests%': 1,
8     'chromium_code': 1,
9   },
10   'conditions': [
11     ['include_tests==1', {
12       'includes': [ 'cast_testing.gypi' ]
13     }],
14   ],
15   'targets': [
16     {
17       'target_name': 'cast_base',
18       'type': 'static_library',
19       'include_dirs': [
20         '<(DEPTH)/',
21       ],
22       'dependencies': [
23         'cast_logging_proto',
24         '<(DEPTH)/base/base.gyp:base',
25         '<(DEPTH)/net/net.gyp:net',
26       ],
27       'export_dependent_settings': [
28         'cast_logging_proto',
29       ],
30       'sources': [
31         'cast_config.cc',
32         'cast_config.h',
33         'cast_defines.h',
34         'cast_environment.cc',
35         'cast_environment.h',
36         'base/clock_drift_smoother.cc',
37         'base/clock_drift_smoother.h',
38         'logging/encoding_event_subscriber.cc',
39         'logging/encoding_event_subscriber.h',
40         'logging/log_deserializer.cc',
41         'logging/log_deserializer.h',
42         'logging/log_serializer.cc',
43         'logging/log_serializer.h',
44         'logging/logging_defines.cc',
45         'logging/logging_defines.h',
46         'logging/logging_impl.cc',
47         'logging/logging_impl.h',
48         'logging/logging_raw.cc',
49         'logging/logging_raw.h',
50         'logging/raw_event_subscriber.h',
51         'logging/raw_event_subscriber_bundle.cc',
52         'logging/raw_event_subscriber_bundle.h',
53         'logging/receiver_time_offset_estimator.h',
54         'logging/receiver_time_offset_estimator_impl.cc',
55         'logging/receiver_time_offset_estimator_impl.h',
56         'logging/simple_event_subscriber.cc',
57         'logging/simple_event_subscriber.h',
58         'logging/stats_event_subscriber.cc',
59         'logging/stats_event_subscriber.h',
60         'rtp_timestamp_helper.cc',
61         'rtp_timestamp_helper.h',
62         'transport/cast_transport_config.cc',
63         'transport/cast_transport_config.h',
64         'transport/cast_transport_defines.h',
65         'transport/cast_transport_sender.h',
66       ], # source
67     },
68     {
69       'target_name': 'cast_logging_proto',
70       'type': 'static_library',
71       'include_dirs': [
72         '<(DEPTH)/',
73       ],
74       'sources': [
75         'logging/proto/proto_utils.cc',
76         'logging/proto/raw_events.proto',
77       ],
78       'variables': {
79         'proto_in_dir': 'logging/proto',
80         'proto_out_dir': 'media/cast/logging/proto',
81       },
82       'includes': ['../../build/protoc.gypi'],
83     },
84     {
85       'target_name': 'cast_receiver',
86       'type': 'static_library',
87       'include_dirs': [
88         '<(DEPTH)/',
89       ],
90       'dependencies': [
91         'cast_base',
92         'cast_rtcp',
93         'cast_transport',
94         '<(DEPTH)/base/base.gyp:base',
95         '<(DEPTH)/media/media.gyp:media',
96         '<(DEPTH)/media/media.gyp:shared_memory_support',
97         '<(DEPTH)/third_party/opus/opus.gyp:opus',
98         '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
99         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
100       ],
101       'sources': [
102         'audio_receiver/audio_decoder.h',
103         'audio_receiver/audio_decoder.cc',
104         'audio_receiver/audio_receiver.h',
105         'audio_receiver/audio_receiver.cc',
106         'cast_receiver.h',
107         'cast_receiver_impl.cc',
108         'cast_receiver_impl.h',
109         'framer/cast_message_builder.cc',
110         'framer/cast_message_builder.h',
111         'framer/frame_buffer.cc',
112         'framer/frame_buffer.h',
113         'framer/frame_id_map.cc',
114         'framer/frame_id_map.h',
115         'framer/framer.cc',
116         'framer/framer.h',
117         'rtp_receiver/receiver_stats.cc',
118         'rtp_receiver/receiver_stats.h',
119         'rtp_receiver/rtp_receiver.cc',
120         'rtp_receiver/rtp_receiver.h',
121         'rtp_receiver/rtp_receiver_defines.cc',
122         'rtp_receiver/rtp_receiver_defines.h',
123         'rtp_receiver/rtp_parser/rtp_parser.cc',
124         'rtp_receiver/rtp_parser/rtp_parser.h',
125         'video_receiver/video_decoder.h',
126         'video_receiver/video_decoder.cc',
127         'video_receiver/video_receiver.h',
128         'video_receiver/video_receiver.cc',
129       ], # source
130     },
131     {
132       'target_name': 'cast_rtcp',
133       'type': 'static_library',
134       'include_dirs': [
135         '<(DEPTH)/',
136       ],
137       'dependencies': [
138         'cast_base',
139         'cast_transport',
140         '<(DEPTH)/base/base.gyp:base',
141         '<(DEPTH)/net/net.gyp:net',
142       ],
143       'sources': [
144         'rtcp/rtcp_defines.cc',
145         'rtcp/rtcp_defines.h',
146         'rtcp/rtcp.h',
147         'rtcp/rtcp.cc',
148         'rtcp/rtcp_receiver.cc',
149         'rtcp/rtcp_receiver.h',
150         'rtcp/rtcp_sender.cc',
151         'rtcp/rtcp_sender.h',
152         'rtcp/rtcp_utility.cc',
153         'rtcp/rtcp_utility.h',
154         'rtcp/receiver_rtcp_event_subscriber.cc',
155         'rtcp/receiver_rtcp_event_subscriber.cc',
156       ], # source
157     },
158     {
159       'target_name': 'cast_sender',
160       'type': 'static_library',
161       'include_dirs': [
162         '<(DEPTH)/',
163       ],
164       'dependencies': [
165         'cast_base',
166         'cast_rtcp',
167         'cast_transport',
168         '<(DEPTH)/media/media.gyp:media',
169         '<(DEPTH)/media/media.gyp:shared_memory_support',
170         '<(DEPTH)/third_party/opus/opus.gyp:opus',
171         '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
172       ], # dependencies
173       'sources': [
174         'audio_sender/audio_encoder.h',
175         'audio_sender/audio_encoder.cc',
176         'audio_sender/audio_sender.h',
177         'audio_sender/audio_sender.cc',
178         'cast_sender.h',
179         'cast_sender_impl.cc',
180         'cast_sender_impl.h',
181         'congestion_control/congestion_control.h',
182         'congestion_control/congestion_control.cc',
183         'video_sender/codecs/vp8/vp8_encoder.cc',
184         'video_sender/codecs/vp8/vp8_encoder.h',
185         'video_sender/external_video_encoder.h',
186         'video_sender/external_video_encoder.cc',
187         'video_sender/fake_software_video_encoder.h',
188         'video_sender/fake_software_video_encoder.cc',
189         'video_sender/software_video_encoder.h',
190         'video_sender/video_encoder.h',
191         'video_sender/video_encoder_impl.h',
192         'video_sender/video_encoder_impl.cc',
193         'video_sender/video_sender.h',
194         'video_sender/video_sender.cc',
195       ], # source
196     },
197     {
198       'target_name': 'cast_transport',
199       'type': 'static_library',
200       'include_dirs': [
201         '<(DEPTH)/',
202       ],
203       'dependencies': [
204         'cast_base',
205         '<(DEPTH)/base/base.gyp:base',
206         '<(DEPTH)/crypto/crypto.gyp:crypto',
207         '<(DEPTH)/net/net.gyp:net',
208       ],
209       'sources': [
210         'transport/cast_transport_sender_impl.cc',
211         'transport/cast_transport_sender_impl.h',
212         'transport/pacing/paced_sender.cc',
213         'transport/pacing/paced_sender.h',
214         'transport/rtcp/rtcp_builder.cc',
215         'transport/rtcp/rtcp_builder.h',
216         'transport/rtp_sender/packet_storage/packet_storage.cc',
217         'transport/rtp_sender/packet_storage/packet_storage.h',
218         'transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc',
219         'transport/rtp_sender/rtp_packetizer/rtp_packetizer.h',
220         'transport/rtp_sender/rtp_sender.cc',
221         'transport/rtp_sender/rtp_sender.h',
222         'transport/transport/udp_transport.cc',
223         'transport/transport/udp_transport.h',
224         'transport/transport_audio_sender.cc',
225         'transport/transport_audio_sender.h',
226         'transport/transport_video_sender.cc',
227         'transport/transport_video_sender.h',
228         'transport/utility/transport_encryption_handler.cc',
229         'transport/utility/transport_encryption_handler.h',
230       ], # source
231     },
232   ],