blob: 7180d50f849fb077f7d7e3c956b00013ea5718ec [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
mbonadei9aa3f0a2017-01-24 06:58:22 -08009import("../../webrtc.gni")
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000010
danilchap09f44812017-09-12 09:23:24 -070011rtc_source_set("rtp_rtcp_format") {
Karl Wiberg92d9dd02017-09-20 21:46:54 +020012 public = [
danilchap09f44812017-09-12 09:23:24 -070013 "include/rtp_cvo.h",
14 "include/rtp_header_extension_map.h",
15 "include/rtp_rtcp_defines.h",
16 "source/byte_io.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020017 "source/rtcp_packet.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020018 "source/rtcp_packet/app.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020019 "source/rtcp_packet/bye.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020020 "source/rtcp_packet/common_header.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020021 "source/rtcp_packet/compound_packet.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020022 "source/rtcp_packet/dlrr.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020023 "source/rtcp_packet/extended_jitter_report.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020024 "source/rtcp_packet/extended_reports.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020025 "source/rtcp_packet/fir.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020026 "source/rtcp_packet/nack.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020027 "source/rtcp_packet/pli.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020028 "source/rtcp_packet/psfb.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020029 "source/rtcp_packet/rapid_resync_request.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020030 "source/rtcp_packet/receiver_report.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020031 "source/rtcp_packet/remb.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020032 "source/rtcp_packet/report_block.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020033 "source/rtcp_packet/rrtr.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020034 "source/rtcp_packet/rtpfb.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020035 "source/rtcp_packet/sdes.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020036 "source/rtcp_packet/sender_report.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020037 "source/rtcp_packet/target_bitrate.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020038 "source/rtcp_packet/tmmb_item.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020039 "source/rtcp_packet/tmmbn.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020040 "source/rtcp_packet/tmmbr.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020041 "source/rtcp_packet/transport_feedback.h",
Danil Chapovalov6c170572017-09-15 16:48:14 +020042 "source/rtcp_packet/voip_metric.h",
Karl Wiberg92d9dd02017-09-20 21:46:54 +020043 "source/rtp_header_extensions.h",
Elad Alonc545daf2017-10-02 13:10:01 +020044 "source/rtp_packet.h",
Karl Wiberg92d9dd02017-09-20 21:46:54 +020045 "source/rtp_packet_received.h",
46 "source/rtp_packet_to_send.h",
47 ]
48 sources = [
Karl Wiberg884e49f2017-10-02 09:54:48 +020049 "include/rtp_rtcp_defines.cc",
Karl Wiberg92d9dd02017-09-20 21:46:54 +020050 "source/rtcp_packet.cc",
51 "source/rtcp_packet/app.cc",
52 "source/rtcp_packet/bye.cc",
53 "source/rtcp_packet/common_header.cc",
54 "source/rtcp_packet/compound_packet.cc",
55 "source/rtcp_packet/dlrr.cc",
56 "source/rtcp_packet/extended_jitter_report.cc",
57 "source/rtcp_packet/extended_reports.cc",
58 "source/rtcp_packet/fir.cc",
59 "source/rtcp_packet/nack.cc",
60 "source/rtcp_packet/pli.cc",
61 "source/rtcp_packet/psfb.cc",
62 "source/rtcp_packet/rapid_resync_request.cc",
63 "source/rtcp_packet/receiver_report.cc",
64 "source/rtcp_packet/remb.cc",
65 "source/rtcp_packet/report_block.cc",
66 "source/rtcp_packet/rrtr.cc",
67 "source/rtcp_packet/rtpfb.cc",
68 "source/rtcp_packet/sdes.cc",
69 "source/rtcp_packet/sender_report.cc",
70 "source/rtcp_packet/target_bitrate.cc",
71 "source/rtcp_packet/tmmb_item.cc",
72 "source/rtcp_packet/tmmbn.cc",
73 "source/rtcp_packet/tmmbr.cc",
74 "source/rtcp_packet/transport_feedback.cc",
75 "source/rtcp_packet/voip_metric.cc",
danilchap09f44812017-09-12 09:23:24 -070076 "source/rtp_header_extension_map.cc",
77 "source/rtp_header_extensions.cc",
danilchap09f44812017-09-12 09:23:24 -070078 "source/rtp_packet.cc",
danilchap09f44812017-09-12 09:23:24 -070079 "source/rtp_packet_received.cc",
danilchap09f44812017-09-12 09:23:24 -070080 ]
81
82 deps = [
83 "..:module_api",
84 "../..:webrtc_common",
Patrik Höglund3e113432017-12-15 14:40:10 +010085 "../../:typedefs",
danilchap09f44812017-09-12 09:23:24 -070086 "../../api:array_view",
87 "../../api:libjingle_peerconnection_api",
88 "../../api:optional",
Mirko Bonadei0594a7c2017-12-18 11:42:48 +010089 "../../api:video_frame_api",
Karl Wibergc62f6c72017-10-04 12:38:53 +020090 "../../api/audio_codecs:audio_codecs_api",
danilchap09f44812017-09-12 09:23:24 -070091 "../../common_video",
Patrik Höglunda8005cf2017-12-13 16:05:42 +010092 "../../rtc_base:checks",
Patrik Höglund3e113432017-12-15 14:40:10 +010093 "../../rtc_base:deprecation",
danilchap09f44812017-09-12 09:23:24 -070094 "../../rtc_base:rtc_base_approved",
95 "../../system_wrappers",
96 ]
danilchap09f44812017-09-12 09:23:24 -070097}
98
kjellanderb62dbbe2016-09-23 00:38:52 -070099rtc_static_library("rtp_rtcp") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000100 visibility = [ "*" ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000101 sources = [
brandtra8b38552016-10-10 16:44:57 -0700102 "include/flexfec_receiver.h",
brandtrc295e002016-11-03 09:22:33 -0700103 "include/flexfec_sender.h",
Henrik Kjellanderff761fb2015-11-04 08:31:52 +0100104 "include/receive_statistics.h",
105 "include/remote_ntp_time_estimator.h",
106 "include/rtp_header_parser.h",
107 "include/rtp_payload_registry.h",
108 "include/rtp_receiver.h",
109 "include/rtp_rtcp.h",
brandtrd55c3f62016-10-31 04:51:33 -0700110 "include/ulpfec_receiver.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200111 "source/dtmf_queue.cc",
112 "source/dtmf_queue.h",
113 "source/fec_private_tables_bursty.h",
114 "source/fec_private_tables_random.h",
brandtr0496de22016-10-03 00:43:25 -0700115 "source/flexfec_header_reader_writer.cc",
116 "source/flexfec_header_reader_writer.h",
brandtr0a4c1612016-11-03 08:18:27 -0700117 "source/flexfec_receiver.cc",
brandtrc295e002016-11-03 09:22:33 -0700118 "source/flexfec_sender.cc",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200119 "source/forward_error_correction.cc",
120 "source/forward_error_correction.h",
121 "source/forward_error_correction_internal.cc",
122 "source/forward_error_correction_internal.h",
bcornell30409b42015-07-10 18:10:05 -0700123 "source/packet_loss_stats.cc",
124 "source/packet_loss_stats.h",
isheriff6b4b5f32016-06-08 00:24:21 -0700125 "source/playout_delay_oracle.cc",
126 "source/playout_delay_oracle.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000127 "source/receive_statistics_impl.cc",
128 "source/receive_statistics_impl.h",
129 "source/remote_ntp_time_estimator.cc",
danilchap84432382017-02-09 05:21:42 -0800130 "source/rtcp_nack_stats.cc",
131 "source/rtcp_nack_stats.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000132 "source/rtcp_receiver.cc",
133 "source/rtcp_receiver.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000134 "source/rtcp_sender.cc",
135 "source/rtcp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200136 "source/rtp_format.cc",
137 "source/rtp_format.h",
138 "source/rtp_format_h264.cc",
139 "source/rtp_format_h264.h",
140 "source/rtp_format_video_generic.cc",
141 "source/rtp_format_video_generic.h",
142 "source/rtp_format_vp8.cc",
143 "source/rtp_format_vp8.h",
asaperssonf38ea3c2015-07-28 04:02:54 -0700144 "source/rtp_format_vp9.cc",
145 "source/rtp_format_vp9.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200146 "source/rtp_header_parser.cc",
147 "source/rtp_packet_history.cc",
148 "source/rtp_packet_history.h",
149 "source/rtp_payload_registry.cc",
150 "source/rtp_receiver_audio.cc",
151 "source/rtp_receiver_audio.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000152 "source/rtp_receiver_impl.cc",
153 "source/rtp_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200154 "source/rtp_receiver_strategy.cc",
155 "source/rtp_receiver_strategy.h",
156 "source/rtp_receiver_video.cc",
157 "source/rtp_receiver_video.h",
158 "source/rtp_rtcp_config.h",
159 "source/rtp_rtcp_impl.cc",
160 "source/rtp_rtcp_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000161 "source/rtp_sender.cc",
162 "source/rtp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200163 "source/rtp_sender_audio.cc",
164 "source/rtp_sender_audio.h",
165 "source/rtp_sender_video.cc",
166 "source/rtp_sender_video.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000167 "source/rtp_utility.cc",
168 "source/rtp_utility.h",
Danil Chapovalovc1e55c72016-03-09 15:14:35 +0100169 "source/time_util.cc",
170 "source/time_util.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000171 "source/tmmbr_help.cc",
172 "source/tmmbr_help.h",
brandtr869e7cd2016-10-31 05:27:07 -0700173 "source/ulpfec_generator.cc",
174 "source/ulpfec_generator.h",
Rasmus Brandt78db1582016-09-21 09:19:34 +0200175 "source/ulpfec_header_reader_writer.cc",
176 "source/ulpfec_header_reader_writer.h",
brandtrd55c3f62016-10-31 04:51:33 -0700177 "source/ulpfec_receiver_impl.cc",
178 "source/ulpfec_receiver_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000179 "source/video_codec_information.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000180 ]
181
gaetano.carlucci52a57032016-09-14 05:04:36 -0700182 if (rtc_enable_bwe_test_logging) {
183 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
184 } else {
185 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
186 }
187
kjellandere40a7ee2016-10-16 23:56:12 -0700188 if (!build_with_chromium && is_clang) {
189 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -0700190 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +0000191 }
192
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000193 deps = [
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100194 ":rtp_rtcp_format",
mbonadei1140f972017-04-26 03:38:35 -0700195 "..:module_api",
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000196 "../..:webrtc_common",
Patrik Höglund3e113432017-12-15 14:40:10 +0100197 "../../:typedefs",
kwiberg529662a2017-09-04 05:43:17 -0700198 "../../api:array_view",
hbos8d609f62017-04-10 07:39:05 -0700199 "../../api:libjingle_peerconnection_api",
kwiberg84f6a3f2017-09-05 08:43:13 -0700200 "../../api:optional",
aleloia8eb7562016-11-28 07:02:13 -0800201 "../../api:transport_api",
kwiberg1c07c702017-03-27 07:15:49 -0700202 "../../api/audio_codecs:audio_codecs_api",
sprang52033d62016-06-02 02:43:32 -0700203 "../../common_video",
Qingsi Wang970b0882018-02-01 11:04:46 -0800204 "../../logging:rtc_event_audio",
mbonadeiebafdc82016-12-22 07:35:39 -0800205 "../../logging:rtc_event_log_api",
Qingsi Wang970b0882018-02-01 11:04:46 -0800206 "../../logging:rtc_event_rtp_rtcp",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100207 "../../rtc_base:checks",
Patrik Höglund3e113432017-12-15 14:40:10 +0100208 "../../rtc_base:deprecation",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700209 "../../rtc_base:gtest_prod",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100210 "../../rtc_base:rate_limiter",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700211 "../../rtc_base:rtc_base_approved",
Ilya Nikolaevskiy8b64fd82017-11-15 16:48:04 +0000212 "../../rtc_base:rtc_numerics",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700213 "../../rtc_base:sequenced_task_checker",
Patrik Höglund3e113432017-12-15 14:40:10 +0100214 "../../rtc_base:stringutils",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000215 "../../system_wrappers",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100216 "../../system_wrappers:field_trial_api",
217 "../../system_wrappers:metrics_api",
kwiberg1c07c702017-03-27 07:15:49 -0700218 "../audio_coding:audio_format_conversion",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000219 "../remote_bitrate_estimator",
220 ]
221
kjellander8f4419b2016-06-02 02:09:52 -0700222 # TODO(jschuh): Bug 1348: fix this warning.
223 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000224}
brandtr03bc3cf2016-08-08 08:08:53 -0700225
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200226rtc_source_set("rtcp_transceiver") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000227 visibility = [ "*" ]
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200228 public = [
Danil Chapovalovc0fd5f92017-11-16 14:35:32 +0100229 "source/rtcp_transceiver.h",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200230 "source/rtcp_transceiver_config.h",
231 "source/rtcp_transceiver_impl.h",
232 ]
233 sources = [
Danil Chapovalovc0fd5f92017-11-16 14:35:32 +0100234 "source/rtcp_transceiver.cc",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200235 "source/rtcp_transceiver_config.cc",
236 "source/rtcp_transceiver_impl.cc",
237 ]
238 deps = [
239 ":rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100240 ":rtp_rtcp_format",
Danil Chapovalov7ca9ae22017-12-13 12:26:17 +0100241 "../../:webrtc_common",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200242 "../../api:array_view",
Danil Chapovalovd3282292017-11-13 13:46:02 +0100243 "../../api:optional",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200244 "../../api:transport_api",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100245 "../../rtc_base:checks",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200246 "../../rtc_base:rtc_base_approved",
Danil Chapovalov8c8d49e2017-10-30 15:21:41 +0100247 "../../rtc_base:rtc_task_queue",
248 "../../rtc_base:weak_ptr",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100249 "../../system_wrappers",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200250 ]
251}
252
kjellandere0629c02017-04-25 04:04:50 -0700253rtc_source_set("fec_test_helper") {
254 testonly = true
255 sources = [
256 "source/fec_test_helper.cc",
257 "source/fec_test_helper.h",
258 ]
259 deps = [
260 ":rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100261 ":rtp_rtcp_format",
mbonadei1140f972017-04-26 03:38:35 -0700262 "..:module_api",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100263 "../../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700264 "../../rtc_base:rtc_base_approved",
kjellandere0629c02017-04-25 04:04:50 -0700265 ]
266
267 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
268 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
269 if (!build_with_chromium && is_clang) {
270 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
271 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
272 }
273}
274
mbonadei3edccb92017-06-01 04:47:20 -0700275rtc_source_set("mock_rtp_rtcp") {
276 testonly = true
277 sources = [
278 "mocks/mock_recovered_packet_receiver.h",
279 "mocks/mock_rtcp_rtt_stats.h",
280 "mocks/mock_rtp_rtcp.h",
281 ]
282 deps = [
283 ":rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100284 ":rtp_rtcp_format",
mbonadei3edccb92017-06-01 04:47:20 -0700285 "..:module_api",
kwiberg84f6a3f2017-09-05 08:43:13 -0700286 "../../api:optional",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100287 "../../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700288 "../../rtc_base:rtc_base_approved",
mbonadei3edccb92017-06-01 04:47:20 -0700289 "../../test:test_support",
290 ]
291}
292
brandtr03bc3cf2016-08-08 08:08:53 -0700293if (rtc_include_tests) {
ehmaldonado38a21322016-09-02 04:10:34 -0700294 rtc_executable("test_packet_masks_metrics") {
brandtr03bc3cf2016-08-08 08:08:53 -0700295 testonly = true
296
297 sources = [
298 "test/testFec/average_residual_loss_xor_codes.h",
299 "test/testFec/test_packet_masks_metrics.cc",
300 ]
301
302 deps = [
303 ":rtp_rtcp",
jianjun.zhuc0247402017-07-11 06:20:45 -0700304 "../../test:test_main",
brandtr03bc3cf2016-08-08 08:08:53 -0700305 "//testing/gtest",
brandtr03bc3cf2016-08-08 08:08:53 -0700306 ]
307 } # test_packet_masks_metrics
ehmaldonado36268652017-01-19 08:27:11 -0800308
ehmaldonado9cbb0a12017-01-30 03:07:03 -0800309 rtc_source_set("rtp_rtcp_modules_tests") {
310 testonly = true
kjellandere0629c02017-04-25 04:04:50 -0700311
ehmaldonado9cbb0a12017-01-30 03:07:03 -0800312 sources = [
313 "test/testFec/test_fec.cc",
314 ]
315 deps = [
316 ":rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100317 ":rtp_rtcp_format",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700318 "../../rtc_base:rtc_base_approved",
ehmaldonado9cbb0a12017-01-30 03:07:03 -0800319 "../../test:test_support",
320 ]
321 if (!build_with_chromium && is_clang) {
322 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
323 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
324 }
325 }
326
kjellandere0629c02017-04-25 04:04:50 -0700327 rtc_source_set("rtp_rtcp_unittests") {
328 testonly = true
329
kjellandere0629c02017-04-25 04:04:50 -0700330 sources = [
ehmaldonado36268652017-01-19 08:27:11 -0800331 "source/byte_io_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800332 "source/flexfec_header_reader_writer_unittest.cc",
333 "source/flexfec_receiver_unittest.cc",
334 "source/flexfec_sender_unittest.cc",
335 "source/nack_rtx_unittest.cc",
336 "source/packet_loss_stats_unittest.cc",
337 "source/playout_delay_oracle_unittest.cc",
338 "source/receive_statistics_unittest.cc",
339 "source/remote_ntp_time_estimator_unittest.cc",
danilchap84432382017-02-09 05:21:42 -0800340 "source/rtcp_nack_stats_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800341 "source/rtcp_packet/app_unittest.cc",
342 "source/rtcp_packet/bye_unittest.cc",
343 "source/rtcp_packet/common_header_unittest.cc",
344 "source/rtcp_packet/compound_packet_unittest.cc",
345 "source/rtcp_packet/dlrr_unittest.cc",
346 "source/rtcp_packet/extended_jitter_report_unittest.cc",
347 "source/rtcp_packet/extended_reports_unittest.cc",
348 "source/rtcp_packet/fir_unittest.cc",
349 "source/rtcp_packet/nack_unittest.cc",
350 "source/rtcp_packet/pli_unittest.cc",
351 "source/rtcp_packet/rapid_resync_request_unittest.cc",
352 "source/rtcp_packet/receiver_report_unittest.cc",
353 "source/rtcp_packet/remb_unittest.cc",
354 "source/rtcp_packet/report_block_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800355 "source/rtcp_packet/rrtr_unittest.cc",
356 "source/rtcp_packet/sdes_unittest.cc",
357 "source/rtcp_packet/sender_report_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800358 "source/rtcp_packet/target_bitrate_unittest.cc",
359 "source/rtcp_packet/tmmbn_unittest.cc",
360 "source/rtcp_packet/tmmbr_unittest.cc",
361 "source/rtcp_packet/transport_feedback_unittest.cc",
362 "source/rtcp_packet/voip_metric_unittest.cc",
363 "source/rtcp_packet_unittest.cc",
364 "source/rtcp_receiver_unittest.cc",
365 "source/rtcp_sender_unittest.cc",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200366 "source/rtcp_transceiver_impl_unittest.cc",
Danil Chapovalovc0fd5f92017-11-16 14:35:32 +0100367 "source/rtcp_transceiver_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800368 "source/rtp_fec_unittest.cc",
369 "source/rtp_format_h264_unittest.cc",
ilnik7a3006b2017-05-23 09:34:21 -0700370 "source/rtp_format_video_generic_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800371 "source/rtp_format_vp8_test_helper.cc",
372 "source/rtp_format_vp8_test_helper.h",
373 "source/rtp_format_vp8_unittest.cc",
374 "source/rtp_format_vp9_unittest.cc",
Danil Chapovalov07633bd2017-06-01 17:10:51 +0200375 "source/rtp_header_extension_map_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800376 "source/rtp_packet_history_unittest.cc",
377 "source/rtp_packet_unittest.cc",
378 "source/rtp_payload_registry_unittest.cc",
hbos8d609f62017-04-10 07:39:05 -0700379 "source/rtp_receiver_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800380 "source/rtp_rtcp_impl_unittest.cc",
381 "source/rtp_sender_unittest.cc",
382 "source/rtp_utility_unittest.cc",
383 "source/time_util_unittest.cc",
384 "source/ulpfec_generator_unittest.cc",
385 "source/ulpfec_header_reader_writer_unittest.cc",
386 "source/ulpfec_receiver_unittest.cc",
ehmaldonado36268652017-01-19 08:27:11 -0800387 "test/testAPI/test_api.cc",
388 "test/testAPI/test_api.h",
389 "test/testAPI/test_api_audio.cc",
390 "test/testAPI/test_api_rtcp.cc",
391 "test/testAPI/test_api_video.cc",
392 ]
393 deps = [
kjellandere0629c02017-04-25 04:04:50 -0700394 ":fec_test_helper",
395 ":mock_rtp_rtcp",
Danil Chapovalov398a7c62017-10-24 17:07:05 +0200396 ":rtcp_transceiver",
ehmaldonado36268652017-01-19 08:27:11 -0800397 ":rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100398 ":rtp_rtcp_format",
mbonadei1140f972017-04-26 03:38:35 -0700399 "..:module_api",
ehmaldonado36268652017-01-19 08:27:11 -0800400 "../..:webrtc_common",
Patrik Höglund3e113432017-12-15 14:40:10 +0100401 "../../:typedefs",
kwiberg529662a2017-09-04 05:43:17 -0700402 "../../api:array_view",
Stefan Holmer1acbd682017-09-01 15:29:28 +0200403 "../../api:libjingle_peerconnection_api",
Danil Chapovalov8c8d49e2017-10-30 15:21:41 +0100404 "../../api:optional",
ehmaldonado36268652017-01-19 08:27:11 -0800405 "../../api:transport_api",
Mirko Bonadei0594a7c2017-12-18 11:42:48 +0100406 "../../api:video_frame_api",
nissef54573b2017-09-13 07:13:57 -0700407 "../../call:rtp_receiver",
ehmaldonado36268652017-01-19 08:27:11 -0800408 "../../common_video:common_video",
Patrik Höglund731082c2018-01-03 09:08:20 +0100409 "../../logging:mocks",
Elad Alon4a87e1c2017-10-03 16:11:34 +0200410 "../../logging:rtc_event_log_api",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100411 "../../rtc_base:checks",
412 "../../rtc_base:rate_limiter",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700413 "../../rtc_base:rtc_base_approved",
Danil Chapovalovd2f37d82017-11-09 15:42:28 +0100414 "../../rtc_base:rtc_base_tests_utils",
Danil Chapovalov8c8d49e2017-10-30 15:21:41 +0100415 "../../rtc_base:rtc_task_queue",
Mirko Bonadeia498ae82017-12-06 09:17:14 +0100416 "../../system_wrappers",
ehmaldonado36268652017-01-19 08:27:11 -0800417 "../../test:field_trial",
418 "../../test:rtp_test_utils",
419 "../../test:test_common",
420 "../../test:test_support",
Karl Wibergc62f6c72017-10-04 12:38:53 +0200421 "../audio_coding:audio_format_conversion",
ehmaldonado36268652017-01-19 08:27:11 -0800422 ]
423
424 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
425 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
426 if (!build_with_chromium && is_clang) {
427 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
428 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
429 }
430 }
brandtr03bc3cf2016-08-08 08:08:53 -0700431}