kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # 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 | |
mbonadei | 9aa3f0a | 2017-01-24 06:58:22 -0800 | [diff] [blame] | 9 | import("../../webrtc.gni") |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 10 | |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 11 | rtc_source_set("rtp_rtcp_format") { |
Karl Wiberg | 92d9dd0 | 2017-09-20 21:46:54 +0200 | [diff] [blame] | 12 | public = [ |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 13 | "include/rtp_cvo.h", |
| 14 | "include/rtp_header_extension_map.h", |
| 15 | "include/rtp_rtcp_defines.h", |
| 16 | "source/byte_io.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 17 | "source/rtcp_packet.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 18 | "source/rtcp_packet/app.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 19 | "source/rtcp_packet/bye.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 20 | "source/rtcp_packet/common_header.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 21 | "source/rtcp_packet/compound_packet.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 22 | "source/rtcp_packet/dlrr.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 23 | "source/rtcp_packet/extended_jitter_report.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 24 | "source/rtcp_packet/extended_reports.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 25 | "source/rtcp_packet/fir.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 26 | "source/rtcp_packet/nack.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 27 | "source/rtcp_packet/pli.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 28 | "source/rtcp_packet/psfb.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 29 | "source/rtcp_packet/rapid_resync_request.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 30 | "source/rtcp_packet/receiver_report.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 31 | "source/rtcp_packet/remb.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 32 | "source/rtcp_packet/report_block.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 33 | "source/rtcp_packet/rrtr.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 34 | "source/rtcp_packet/rtpfb.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 35 | "source/rtcp_packet/sdes.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 36 | "source/rtcp_packet/sender_report.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 37 | "source/rtcp_packet/target_bitrate.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 38 | "source/rtcp_packet/tmmb_item.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 39 | "source/rtcp_packet/tmmbn.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 40 | "source/rtcp_packet/tmmbr.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 41 | "source/rtcp_packet/transport_feedback.h", |
Danil Chapovalov | 6c17057 | 2017-09-15 16:48:14 +0200 | [diff] [blame] | 42 | "source/rtcp_packet/voip_metric.h", |
Karl Wiberg | 92d9dd0 | 2017-09-20 21:46:54 +0200 | [diff] [blame] | 43 | "source/rtp_header_extensions.h", |
Elad Alon | c545daf | 2017-10-02 13:10:01 +0200 | [diff] [blame] | 44 | "source/rtp_packet.h", |
Karl Wiberg | 92d9dd0 | 2017-09-20 21:46:54 +0200 | [diff] [blame] | 45 | "source/rtp_packet_received.h", |
| 46 | "source/rtp_packet_to_send.h", |
| 47 | ] |
| 48 | sources = [ |
Karl Wiberg | 884e49f | 2017-10-02 09:54:48 +0200 | [diff] [blame] | 49 | "include/rtp_rtcp_defines.cc", |
Karl Wiberg | 92d9dd0 | 2017-09-20 21:46:54 +0200 | [diff] [blame] | 50 | "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", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 76 | "source/rtp_header_extension_map.cc", |
| 77 | "source/rtp_header_extensions.cc", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 78 | "source/rtp_packet.cc", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 79 | "source/rtp_packet_received.cc", |
Dino Radaković | 1807d57 | 2018-02-22 14:18:06 +0100 | [diff] [blame] | 80 | "source/rtp_packet_to_send.cc", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 81 | ] |
| 82 | |
| 83 | deps = [ |
| 84 | "..:module_api", |
| 85 | "../..:webrtc_common", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 86 | "../../:typedefs", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 87 | "../../api:array_view", |
| 88 | "../../api:libjingle_peerconnection_api", |
| 89 | "../../api:optional", |
Karl Wiberg | c62f6c7 | 2017-10-04 12:38:53 +0200 | [diff] [blame] | 90 | "../../api/audio_codecs:audio_codecs_api", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame^] | 91 | "../../api/video:video_frame", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 92 | "../../common_video", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 93 | "../../rtc_base:checks", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 94 | "../../rtc_base:deprecation", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 95 | "../../rtc_base:rtc_base_approved", |
| 96 | "../../system_wrappers", |
| 97 | ] |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 98 | } |
| 99 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 100 | rtc_static_library("rtp_rtcp") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 101 | visibility = [ "*" ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 102 | sources = [ |
brandtr | a8b3855 | 2016-10-10 16:44:57 -0700 | [diff] [blame] | 103 | "include/flexfec_receiver.h", |
brandtr | c295e00 | 2016-11-03 09:22:33 -0700 | [diff] [blame] | 104 | "include/flexfec_sender.h", |
Henrik Kjellander | ff761fb | 2015-11-04 08:31:52 +0100 | [diff] [blame] | 105 | "include/receive_statistics.h", |
| 106 | "include/remote_ntp_time_estimator.h", |
| 107 | "include/rtp_header_parser.h", |
| 108 | "include/rtp_payload_registry.h", |
| 109 | "include/rtp_receiver.h", |
| 110 | "include/rtp_rtcp.h", |
brandtr | d55c3f6 | 2016-10-31 04:51:33 -0700 | [diff] [blame] | 111 | "include/ulpfec_receiver.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 112 | "source/dtmf_queue.cc", |
| 113 | "source/dtmf_queue.h", |
Tommi | f7132b5 | 2018-04-04 13:48:17 +0200 | [diff] [blame] | 114 | "source/fec_private_tables_bursty.cc", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 115 | "source/fec_private_tables_bursty.h", |
Tommi | f7132b5 | 2018-04-04 13:48:17 +0200 | [diff] [blame] | 116 | "source/fec_private_tables_random.cc", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 117 | "source/fec_private_tables_random.h", |
brandtr | 0496de2 | 2016-10-03 00:43:25 -0700 | [diff] [blame] | 118 | "source/flexfec_header_reader_writer.cc", |
| 119 | "source/flexfec_header_reader_writer.h", |
brandtr | 0a4c161 | 2016-11-03 08:18:27 -0700 | [diff] [blame] | 120 | "source/flexfec_receiver.cc", |
brandtr | c295e00 | 2016-11-03 09:22:33 -0700 | [diff] [blame] | 121 | "source/flexfec_sender.cc", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 122 | "source/forward_error_correction.cc", |
| 123 | "source/forward_error_correction.h", |
| 124 | "source/forward_error_correction_internal.cc", |
| 125 | "source/forward_error_correction_internal.h", |
bcornell | 30409b4 | 2015-07-10 18:10:05 -0700 | [diff] [blame] | 126 | "source/packet_loss_stats.cc", |
| 127 | "source/packet_loss_stats.h", |
isheriff | 6b4b5f3 | 2016-06-08 00:24:21 -0700 | [diff] [blame] | 128 | "source/playout_delay_oracle.cc", |
| 129 | "source/playout_delay_oracle.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 130 | "source/receive_statistics_impl.cc", |
| 131 | "source/receive_statistics_impl.h", |
| 132 | "source/remote_ntp_time_estimator.cc", |
danilchap | 8443238 | 2017-02-09 05:21:42 -0800 | [diff] [blame] | 133 | "source/rtcp_nack_stats.cc", |
| 134 | "source/rtcp_nack_stats.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 135 | "source/rtcp_receiver.cc", |
| 136 | "source/rtcp_receiver.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 137 | "source/rtcp_sender.cc", |
| 138 | "source/rtcp_sender.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 139 | "source/rtp_format.cc", |
| 140 | "source/rtp_format.h", |
| 141 | "source/rtp_format_h264.cc", |
| 142 | "source/rtp_format_h264.h", |
| 143 | "source/rtp_format_video_generic.cc", |
| 144 | "source/rtp_format_video_generic.h", |
| 145 | "source/rtp_format_vp8.cc", |
| 146 | "source/rtp_format_vp8.h", |
asapersson | f38ea3c | 2015-07-28 04:02:54 -0700 | [diff] [blame] | 147 | "source/rtp_format_vp9.cc", |
| 148 | "source/rtp_format_vp9.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 149 | "source/rtp_header_parser.cc", |
| 150 | "source/rtp_packet_history.cc", |
| 151 | "source/rtp_packet_history.h", |
| 152 | "source/rtp_payload_registry.cc", |
| 153 | "source/rtp_receiver_audio.cc", |
| 154 | "source/rtp_receiver_audio.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 155 | "source/rtp_receiver_impl.cc", |
| 156 | "source/rtp_receiver_impl.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 157 | "source/rtp_receiver_strategy.cc", |
| 158 | "source/rtp_receiver_strategy.h", |
| 159 | "source/rtp_receiver_video.cc", |
| 160 | "source/rtp_receiver_video.h", |
| 161 | "source/rtp_rtcp_config.h", |
| 162 | "source/rtp_rtcp_impl.cc", |
| 163 | "source/rtp_rtcp_impl.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 164 | "source/rtp_sender.cc", |
| 165 | "source/rtp_sender.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 166 | "source/rtp_sender_audio.cc", |
| 167 | "source/rtp_sender_audio.h", |
| 168 | "source/rtp_sender_video.cc", |
| 169 | "source/rtp_sender_video.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 170 | "source/rtp_utility.cc", |
| 171 | "source/rtp_utility.h", |
Danil Chapovalov | c1e55c7 | 2016-03-09 15:14:35 +0100 | [diff] [blame] | 172 | "source/time_util.cc", |
| 173 | "source/time_util.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 174 | "source/tmmbr_help.cc", |
| 175 | "source/tmmbr_help.h", |
brandtr | 869e7cd | 2016-10-31 05:27:07 -0700 | [diff] [blame] | 176 | "source/ulpfec_generator.cc", |
| 177 | "source/ulpfec_generator.h", |
Rasmus Brandt | 78db158 | 2016-09-21 09:19:34 +0200 | [diff] [blame] | 178 | "source/ulpfec_header_reader_writer.cc", |
| 179 | "source/ulpfec_header_reader_writer.h", |
brandtr | d55c3f6 | 2016-10-31 04:51:33 -0700 | [diff] [blame] | 180 | "source/ulpfec_receiver_impl.cc", |
| 181 | "source/ulpfec_receiver_impl.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 182 | ] |
| 183 | |
gaetano.carlucci | 52a5703 | 2016-09-14 05:04:36 -0700 | [diff] [blame] | 184 | if (rtc_enable_bwe_test_logging) { |
| 185 | defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 186 | } else { |
| 187 | defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 188 | } |
| 189 | |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 190 | deps = [ |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 191 | ":rtp_rtcp_format", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 192 | "..:module_api", |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 193 | "../..:webrtc_common", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 194 | "../../:typedefs", |
kwiberg | 529662a | 2017-09-04 05:43:17 -0700 | [diff] [blame] | 195 | "../../api:array_view", |
hbos | 8d609f6 | 2017-04-10 07:39:05 -0700 | [diff] [blame] | 196 | "../../api:libjingle_peerconnection_api", |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 197 | "../../api:optional", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 198 | "../../api:transport_api", |
kwiberg | 1c07c70 | 2017-03-27 07:15:49 -0700 | [diff] [blame] | 199 | "../../api/audio_codecs:audio_codecs_api", |
sprang | 52033d6 | 2016-06-02 02:43:32 -0700 | [diff] [blame] | 200 | "../../common_video", |
Qingsi Wang | 970b088 | 2018-02-01 11:04:46 -0800 | [diff] [blame] | 201 | "../../logging:rtc_event_audio", |
mbonadei | ebafdc8 | 2016-12-22 07:35:39 -0800 | [diff] [blame] | 202 | "../../logging:rtc_event_log_api", |
Qingsi Wang | 970b088 | 2018-02-01 11:04:46 -0800 | [diff] [blame] | 203 | "../../logging:rtc_event_rtp_rtcp", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 204 | "../../rtc_base:checks", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 205 | "../../rtc_base:deprecation", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 206 | "../../rtc_base:gtest_prod", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 207 | "../../rtc_base:rate_limiter", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 208 | "../../rtc_base:rtc_base_approved", |
Ilya Nikolaevskiy | 8b64fd8 | 2017-11-15 16:48:04 +0000 | [diff] [blame] | 209 | "../../rtc_base:rtc_numerics", |
Karl Wiberg | 12edf4c | 2018-03-07 14:18:56 +0100 | [diff] [blame] | 210 | "../../rtc_base:safe_minmax", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 211 | "../../rtc_base:sequenced_task_checker", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 212 | "../../rtc_base:stringutils", |
Karl Wiberg | 80ba333 | 2018-02-05 10:33:35 +0100 | [diff] [blame] | 213 | "../../rtc_base/system:fallthrough", |
Karl Wiberg | 76b7f51 | 2018-03-22 15:29:03 +0100 | [diff] [blame] | 214 | "../../rtc_base/time:timestamp_extrapolator", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 215 | "../../system_wrappers", |
Mirko Bonadei | a498ae8 | 2017-12-06 09:17:14 +0100 | [diff] [blame] | 216 | "../../system_wrappers:field_trial_api", |
| 217 | "../../system_wrappers:metrics_api", |
kwiberg | 1c07c70 | 2017-03-27 07:15:49 -0700 | [diff] [blame] | 218 | "../audio_coding:audio_format_conversion", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 219 | "../remote_bitrate_estimator", |
| 220 | ] |
| 221 | |
kjellander | 8f4419b | 2016-06-02 02:09:52 -0700 | [diff] [blame] | 222 | # TODO(jschuh): Bug 1348: fix this warning. |
| 223 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 224 | } |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 225 | |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 226 | rtc_source_set("rtcp_transceiver") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 227 | visibility = [ "*" ] |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 228 | public = [ |
Danil Chapovalov | c0fd5f9 | 2017-11-16 14:35:32 +0100 | [diff] [blame] | 229 | "source/rtcp_transceiver.h", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 230 | "source/rtcp_transceiver_config.h", |
| 231 | "source/rtcp_transceiver_impl.h", |
| 232 | ] |
| 233 | sources = [ |
Danil Chapovalov | c0fd5f9 | 2017-11-16 14:35:32 +0100 | [diff] [blame] | 234 | "source/rtcp_transceiver.cc", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 235 | "source/rtcp_transceiver_config.cc", |
| 236 | "source/rtcp_transceiver_impl.cc", |
| 237 | ] |
| 238 | deps = [ |
| 239 | ":rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 240 | ":rtp_rtcp_format", |
Danil Chapovalov | 7ca9ae2 | 2017-12-13 12:26:17 +0100 | [diff] [blame] | 241 | "../../:webrtc_common", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 242 | "../../api:array_view", |
Danil Chapovalov | d328229 | 2017-11-13 13:46:02 +0100 | [diff] [blame] | 243 | "../../api:optional", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 244 | "../../api:transport_api", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 245 | "../../rtc_base:checks", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 246 | "../../rtc_base:rtc_base_approved", |
Danil Chapovalov | 8c8d49e | 2017-10-30 15:21:41 +0100 | [diff] [blame] | 247 | "../../rtc_base:rtc_task_queue", |
| 248 | "../../rtc_base:weak_ptr", |
Mirko Bonadei | a498ae8 | 2017-12-06 09:17:14 +0100 | [diff] [blame] | 249 | "../../system_wrappers", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 250 | ] |
| 251 | } |
| 252 | |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 253 | rtc_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 Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 261 | ":rtp_rtcp_format", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 262 | "..:module_api", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 263 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 264 | "../../rtc_base:rtc_base_approved", |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 265 | ] |
| 266 | |
| 267 | # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
| 268 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 269 | } |
| 270 | |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 271 | rtc_source_set("mock_rtp_rtcp") { |
| 272 | testonly = true |
| 273 | sources = [ |
Danil Chapovalov | dd7e284 | 2018-03-09 15:37:03 +0000 | [diff] [blame] | 274 | "mocks/mock_recovered_packet_receiver.cc", |
| 275 | "mocks/mock_rtcp_bandwidth_observer.cc", |
| 276 | "mocks/mock_rtcp_rtt_stats.cc", |
| 277 | "mocks/mock_rtp_rtcp.cc", |
| 278 | ] |
| 279 | public = [ |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 280 | "mocks/mock_recovered_packet_receiver.h", |
Sebastian Jansson | ef9daee | 2018-02-22 14:49:02 +0100 | [diff] [blame] | 281 | "mocks/mock_rtcp_bandwidth_observer.h", |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 282 | "mocks/mock_rtcp_rtt_stats.h", |
| 283 | "mocks/mock_rtp_rtcp.h", |
| 284 | ] |
| 285 | deps = [ |
| 286 | ":rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 287 | ":rtp_rtcp_format", |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 288 | "..:module_api", |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 289 | "../../api:optional", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 290 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 291 | "../../rtc_base:rtc_base_approved", |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 292 | "../../test:test_support", |
| 293 | ] |
| 294 | } |
| 295 | |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 296 | if (rtc_include_tests) { |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 297 | rtc_executable("test_packet_masks_metrics") { |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 298 | testonly = true |
| 299 | |
| 300 | sources = [ |
| 301 | "test/testFec/average_residual_loss_xor_codes.h", |
| 302 | "test/testFec/test_packet_masks_metrics.cc", |
| 303 | ] |
| 304 | |
| 305 | deps = [ |
| 306 | ":rtp_rtcp", |
Patrik Höglund | 7696bef | 2018-03-15 15:05:39 +0100 | [diff] [blame] | 307 | "../../test:fileutils", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 308 | "../../test:test_main", |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 309 | "//testing/gtest", |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 310 | ] |
| 311 | } # test_packet_masks_metrics |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 312 | |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 313 | rtc_source_set("rtp_rtcp_modules_tests") { |
| 314 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 315 | |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 316 | sources = [ |
| 317 | "test/testFec/test_fec.cc", |
| 318 | ] |
| 319 | deps = [ |
| 320 | ":rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 321 | ":rtp_rtcp_format", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 322 | "../../rtc_base:rtc_base_approved", |
Patrik Höglund | 7696bef | 2018-03-15 15:05:39 +0100 | [diff] [blame] | 323 | "../../test:fileutils", |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 324 | "../../test:test_support", |
| 325 | ] |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 326 | } |
| 327 | |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 328 | rtc_source_set("rtp_rtcp_unittests") { |
| 329 | testonly = true |
| 330 | |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 331 | sources = [ |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 332 | "source/byte_io_unittest.cc", |
Tommi | f7132b5 | 2018-04-04 13:48:17 +0200 | [diff] [blame] | 333 | "source/fec_private_tables_bursty_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 334 | "source/flexfec_header_reader_writer_unittest.cc", |
| 335 | "source/flexfec_receiver_unittest.cc", |
| 336 | "source/flexfec_sender_unittest.cc", |
| 337 | "source/nack_rtx_unittest.cc", |
| 338 | "source/packet_loss_stats_unittest.cc", |
| 339 | "source/playout_delay_oracle_unittest.cc", |
| 340 | "source/receive_statistics_unittest.cc", |
| 341 | "source/remote_ntp_time_estimator_unittest.cc", |
danilchap | 8443238 | 2017-02-09 05:21:42 -0800 | [diff] [blame] | 342 | "source/rtcp_nack_stats_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 343 | "source/rtcp_packet/app_unittest.cc", |
| 344 | "source/rtcp_packet/bye_unittest.cc", |
| 345 | "source/rtcp_packet/common_header_unittest.cc", |
| 346 | "source/rtcp_packet/compound_packet_unittest.cc", |
| 347 | "source/rtcp_packet/dlrr_unittest.cc", |
| 348 | "source/rtcp_packet/extended_jitter_report_unittest.cc", |
| 349 | "source/rtcp_packet/extended_reports_unittest.cc", |
| 350 | "source/rtcp_packet/fir_unittest.cc", |
| 351 | "source/rtcp_packet/nack_unittest.cc", |
| 352 | "source/rtcp_packet/pli_unittest.cc", |
| 353 | "source/rtcp_packet/rapid_resync_request_unittest.cc", |
| 354 | "source/rtcp_packet/receiver_report_unittest.cc", |
| 355 | "source/rtcp_packet/remb_unittest.cc", |
| 356 | "source/rtcp_packet/report_block_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 357 | "source/rtcp_packet/rrtr_unittest.cc", |
| 358 | "source/rtcp_packet/sdes_unittest.cc", |
| 359 | "source/rtcp_packet/sender_report_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 360 | "source/rtcp_packet/target_bitrate_unittest.cc", |
| 361 | "source/rtcp_packet/tmmbn_unittest.cc", |
| 362 | "source/rtcp_packet/tmmbr_unittest.cc", |
| 363 | "source/rtcp_packet/transport_feedback_unittest.cc", |
| 364 | "source/rtcp_packet/voip_metric_unittest.cc", |
| 365 | "source/rtcp_packet_unittest.cc", |
| 366 | "source/rtcp_receiver_unittest.cc", |
| 367 | "source/rtcp_sender_unittest.cc", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 368 | "source/rtcp_transceiver_impl_unittest.cc", |
Danil Chapovalov | c0fd5f9 | 2017-11-16 14:35:32 +0100 | [diff] [blame] | 369 | "source/rtcp_transceiver_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 370 | "source/rtp_fec_unittest.cc", |
| 371 | "source/rtp_format_h264_unittest.cc", |
ilnik | 7a3006b | 2017-05-23 09:34:21 -0700 | [diff] [blame] | 372 | "source/rtp_format_video_generic_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 373 | "source/rtp_format_vp8_test_helper.cc", |
| 374 | "source/rtp_format_vp8_test_helper.h", |
| 375 | "source/rtp_format_vp8_unittest.cc", |
| 376 | "source/rtp_format_vp9_unittest.cc", |
Danil Chapovalov | 07633bd | 2017-06-01 17:10:51 +0200 | [diff] [blame] | 377 | "source/rtp_header_extension_map_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 378 | "source/rtp_packet_history_unittest.cc", |
| 379 | "source/rtp_packet_unittest.cc", |
| 380 | "source/rtp_payload_registry_unittest.cc", |
hbos | 8d609f6 | 2017-04-10 07:39:05 -0700 | [diff] [blame] | 381 | "source/rtp_receiver_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 382 | "source/rtp_rtcp_impl_unittest.cc", |
| 383 | "source/rtp_sender_unittest.cc", |
| 384 | "source/rtp_utility_unittest.cc", |
| 385 | "source/time_util_unittest.cc", |
| 386 | "source/ulpfec_generator_unittest.cc", |
| 387 | "source/ulpfec_header_reader_writer_unittest.cc", |
| 388 | "source/ulpfec_receiver_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 389 | "test/testAPI/test_api.cc", |
| 390 | "test/testAPI/test_api.h", |
| 391 | "test/testAPI/test_api_audio.cc", |
| 392 | "test/testAPI/test_api_rtcp.cc", |
| 393 | "test/testAPI/test_api_video.cc", |
| 394 | ] |
| 395 | deps = [ |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 396 | ":fec_test_helper", |
| 397 | ":mock_rtp_rtcp", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 398 | ":rtcp_transceiver", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 399 | ":rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 400 | ":rtp_rtcp_format", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 401 | "..:module_api", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 402 | "../..:webrtc_common", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 403 | "../../:typedefs", |
kwiberg | 529662a | 2017-09-04 05:43:17 -0700 | [diff] [blame] | 404 | "../../api:array_view", |
Stefan Holmer | 1acbd68 | 2017-09-01 15:29:28 +0200 | [diff] [blame] | 405 | "../../api:libjingle_peerconnection_api", |
Danil Chapovalov | 8c8d49e | 2017-10-30 15:21:41 +0100 | [diff] [blame] | 406 | "../../api:optional", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 407 | "../../api:transport_api", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame^] | 408 | "../../api/video:video_frame", |
nisse | f54573b | 2017-09-13 07:13:57 -0700 | [diff] [blame] | 409 | "../../call:rtp_receiver", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 410 | "../../common_video:common_video", |
Patrik Höglund | 731082c | 2018-01-03 09:08:20 +0100 | [diff] [blame] | 411 | "../../logging:mocks", |
Elad Alon | 4a87e1c | 2017-10-03 16:11:34 +0200 | [diff] [blame] | 412 | "../../logging:rtc_event_log_api", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 413 | "../../rtc_base:checks", |
| 414 | "../../rtc_base:rate_limiter", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 415 | "../../rtc_base:rtc_base_approved", |
Danil Chapovalov | d2f37d8 | 2017-11-09 15:42:28 +0100 | [diff] [blame] | 416 | "../../rtc_base:rtc_base_tests_utils", |
Danil Chapovalov | 8c8d49e | 2017-10-30 15:21:41 +0100 | [diff] [blame] | 417 | "../../rtc_base:rtc_task_queue", |
Mirko Bonadei | a498ae8 | 2017-12-06 09:17:14 +0100 | [diff] [blame] | 418 | "../../system_wrappers", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 419 | "../../test:field_trial", |
| 420 | "../../test:rtp_test_utils", |
| 421 | "../../test:test_common", |
| 422 | "../../test:test_support", |
Karl Wiberg | c62f6c7 | 2017-10-04 12:38:53 +0200 | [diff] [blame] | 423 | "../audio_coding:audio_format_conversion", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 424 | ] |
| 425 | |
| 426 | # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
| 427 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 428 | } |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 429 | } |