Disable accessible touch exploration by default.
[chromium-blink-merge.git] / media / cast / cast.gyp
blobeb008557d7a8ae6af31a0a60f2b59acfc3b1aa75
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)/crypto/crypto.gyp:crypto',
26         '<(DEPTH)/net/net.gyp:net',
27       ],
28       'export_dependent_settings': [
29         'cast_logging_proto',
30       ],
31       'sources': [
32         'cast_config.cc',
33         'cast_config.h',
34         'cast_defines.h',
35         'cast_environment.cc',
36         'cast_environment.h',
37         'common/clock_drift_smoother.cc',
38         'common/clock_drift_smoother.h',
39         'common/transport_encryption_handler.cc',
40         'common/transport_encryption_handler.h',
41         'logging/encoding_event_subscriber.cc',
42         'logging/encoding_event_subscriber.h',
43         'logging/log_deserializer.cc',
44         'logging/log_deserializer.h',
45         'logging/log_serializer.cc',
46         'logging/log_serializer.h',
47         'logging/logging_defines.cc',
48         'logging/logging_defines.h',
49         'logging/logging_impl.cc',
50         'logging/logging_impl.h',
51         'logging/logging_raw.cc',
52         'logging/logging_raw.h',
53         'logging/raw_event_subscriber.h',
54         'logging/raw_event_subscriber_bundle.cc',
55         'logging/raw_event_subscriber_bundle.h',
56         'logging/receiver_time_offset_estimator.h',
57         'logging/receiver_time_offset_estimator_impl.cc',
58         'logging/receiver_time_offset_estimator_impl.h',
59         'logging/simple_event_subscriber.cc',
60         'logging/simple_event_subscriber.h',
61         'logging/stats_event_subscriber.cc',
62         'logging/stats_event_subscriber.h',
63       ], # source
64     },
65     {
66       # GN version: //media/cast/logging/proto
67       'target_name': 'cast_logging_proto',
68       'type': 'static_library',
69       'include_dirs': [
70         '<(DEPTH)/',
71       ],
72       'sources': [
73         'logging/proto/proto_utils.cc',
74         'logging/proto/raw_events.proto',
75       ],
76       'variables': {
77         'proto_in_dir': 'logging/proto',
78         'proto_out_dir': 'media/cast/logging/proto',
79       },
80       'includes': ['../../build/protoc.gypi'],
81     },
82     {
83       'target_name': 'cast_receiver',
84       'type': 'static_library',
85       'include_dirs': [
86         '<(DEPTH)/',
87       ],
88       'dependencies': [
89         'cast_base',
90         'cast_net',
91         '<(DEPTH)/base/base.gyp:base',
92         '<(DEPTH)/media/media.gyp:media',
93         '<(DEPTH)/media/media.gyp:shared_memory_support',
94         '<(DEPTH)/third_party/opus/opus.gyp:opus',
95         '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
96         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
97       ],
98       'sources': [
99         'cast_receiver.h',
100         'receiver/audio_decoder.cc',
101         'receiver/audio_decoder.h',
102         'receiver/cast_receiver_impl.cc',
103         'receiver/cast_receiver_impl.h',
104         'receiver/frame_receiver.cc',
105         'receiver/frame_receiver.h',
106         'receiver/video_decoder.cc',
107         'receiver/video_decoder.h',
108         'net/rtp/cast_message_builder.cc',
109         'net/rtp/cast_message_builder.h',
110         'net/rtp/frame_buffer.cc',
111         'net/rtp/frame_buffer.h',
112         'net/rtp/frame_id_map.cc',
113         'net/rtp/frame_id_map.h',
114         'net/rtp/framer.cc',
115         'net/rtp/framer.h',
116         'net/rtp/receiver_stats.cc',
117         'net/rtp/receiver_stats.h',
118         'net/rtp/rtp_parser.cc',
119         'net/rtp/rtp_parser.h',
120         'net/rtp/rtp_receiver_defines.cc',
121         'net/rtp/rtp_receiver_defines.h',
122       ], # source
123     },
124     {
125       'target_name': 'cast_sender',
126       'type': 'static_library',
127       'include_dirs': [
128         '<(DEPTH)/',
129       ],
130       'dependencies': [
131         'cast_base',
132         'cast_net',
133         '<(DEPTH)/media/media.gyp:media',
134         '<(DEPTH)/media/media.gyp:shared_memory_support',
135         '<(DEPTH)/third_party/opus/opus.gyp:opus',
136         '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
137       ], # dependencies
138       'sources': [
139         'cast_sender.h',
140         'cast_sender_impl.cc',
141         'cast_sender_impl.h',
142         'sender/audio_encoder.h',
143         'sender/audio_encoder.cc',
144         'sender/audio_sender.h',
145         'sender/audio_sender.cc',
146         'sender/congestion_control.h',
147         'sender/congestion_control.cc',
148         'sender/external_video_encoder.h',
149         'sender/external_video_encoder.cc',
150         'sender/fake_software_video_encoder.h',
151         'sender/fake_software_video_encoder.cc',
152         'sender/frame_sender.cc',
153         'sender/frame_sender.h',
154         'sender/rtp_timestamp_helper.cc',
155         'sender/rtp_timestamp_helper.h',
156         'sender/software_video_encoder.h',
157         'sender/video_encoder.h',
158         'sender/video_encoder_impl.h',
159         'sender/video_encoder_impl.cc',
160         'sender/video_sender.h',
161         'sender/video_sender.cc',
162         'sender/vp8_encoder.cc',
163         'sender/vp8_encoder.h',
164       ], # source
165     },
166     {
167       'target_name': 'cast_net',
168       'type': 'static_library',
169       'include_dirs': [
170         '<(DEPTH)/',
171       ],
172       'dependencies': [
173         'cast_base',
174         '<(DEPTH)/base/base.gyp:base',
175         '<(DEPTH)/net/net.gyp:net',
176       ],
177       'sources': [
178         'net/cast_transport_config.cc',
179         'net/cast_transport_config.h',
180         'net/cast_transport_defines.h',
181         'net/cast_transport_sender.h',
182         'net/cast_transport_sender_impl.cc',
183         'net/cast_transport_sender_impl.h',
184         'net/pacing/paced_sender.cc',
185         'net/pacing/paced_sender.h',
186         'net/rtcp/receiver_rtcp_event_subscriber.cc',
187         'net/rtcp/rtcp_defines.cc',
188         'net/rtcp/rtcp_defines.h',
189         'net/rtcp/rtcp.h',
190         'net/rtcp/rtcp.cc',
191         'net/rtcp/rtcp_receiver.cc',
192         'net/rtcp/rtcp_receiver.h',
193         'net/rtcp/rtcp_sender.cc',
194         'net/rtcp/rtcp_sender.h',
195         'net/rtcp/rtcp_utility.cc',
196         'net/rtcp/rtcp_utility.h',
197         'net/rtp/packet_storage.cc',
198         'net/rtp/packet_storage.h',
199         'net/rtp/rtp_packetizer.cc',
200         'net/rtp/rtp_packetizer.h',
201         'net/rtp/rtp_sender.cc',
202         'net/rtp/rtp_sender.h',
203         'net/udp_transport.cc',
204         'net/udp_transport.h',
205       ], # source
206     },
207   ],