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", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 80 | ] |
| 81 | |
| 82 | deps = [ |
| 83 | "..:module_api", |
| 84 | "../..:webrtc_common", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 85 | "../../:typedefs", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 86 | "../../api:array_view", |
| 87 | "../../api:libjingle_peerconnection_api", |
| 88 | "../../api:optional", |
Mirko Bonadei | 0594a7c | 2017-12-18 11:42:48 +0100 | [diff] [blame] | 89 | "../../api:video_frame_api", |
Karl Wiberg | c62f6c7 | 2017-10-04 12:38:53 +0200 | [diff] [blame] | 90 | "../../api/audio_codecs:audio_codecs_api", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 91 | "../../common_video", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 92 | "../../rtc_base:checks", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 93 | "../../rtc_base:deprecation", |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 94 | "../../rtc_base:rtc_base_approved", |
| 95 | "../../system_wrappers", |
| 96 | ] |
danilchap | 09f4481 | 2017-09-12 09:23:24 -0700 | [diff] [blame] | 97 | } |
| 98 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 99 | rtc_static_library("rtp_rtcp") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 100 | visibility = [ "*" ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 101 | sources = [ |
brandtr | a8b3855 | 2016-10-10 16:44:57 -0700 | [diff] [blame] | 102 | "include/flexfec_receiver.h", |
brandtr | c295e00 | 2016-11-03 09:22:33 -0700 | [diff] [blame] | 103 | "include/flexfec_sender.h", |
Henrik Kjellander | ff761fb | 2015-11-04 08:31:52 +0100 | [diff] [blame] | 104 | "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", |
brandtr | d55c3f6 | 2016-10-31 04:51:33 -0700 | [diff] [blame] | 110 | "include/ulpfec_receiver.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 111 | "source/dtmf_queue.cc", |
| 112 | "source/dtmf_queue.h", |
| 113 | "source/fec_private_tables_bursty.h", |
| 114 | "source/fec_private_tables_random.h", |
brandtr | 0496de2 | 2016-10-03 00:43:25 -0700 | [diff] [blame] | 115 | "source/flexfec_header_reader_writer.cc", |
| 116 | "source/flexfec_header_reader_writer.h", |
brandtr | 0a4c161 | 2016-11-03 08:18:27 -0700 | [diff] [blame] | 117 | "source/flexfec_receiver.cc", |
brandtr | c295e00 | 2016-11-03 09:22:33 -0700 | [diff] [blame] | 118 | "source/flexfec_sender.cc", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 119 | "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", |
bcornell | 30409b4 | 2015-07-10 18:10:05 -0700 | [diff] [blame] | 123 | "source/packet_loss_stats.cc", |
| 124 | "source/packet_loss_stats.h", |
isheriff | 6b4b5f3 | 2016-06-08 00:24:21 -0700 | [diff] [blame] | 125 | "source/playout_delay_oracle.cc", |
| 126 | "source/playout_delay_oracle.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 127 | "source/receive_statistics_impl.cc", |
| 128 | "source/receive_statistics_impl.h", |
| 129 | "source/remote_ntp_time_estimator.cc", |
danilchap | 8443238 | 2017-02-09 05:21:42 -0800 | [diff] [blame] | 130 | "source/rtcp_nack_stats.cc", |
| 131 | "source/rtcp_nack_stats.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 132 | "source/rtcp_receiver.cc", |
| 133 | "source/rtcp_receiver.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 134 | "source/rtcp_sender.cc", |
| 135 | "source/rtcp_sender.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 136 | "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", |
asapersson | f38ea3c | 2015-07-28 04:02:54 -0700 | [diff] [blame] | 144 | "source/rtp_format_vp9.cc", |
| 145 | "source/rtp_format_vp9.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 146 | "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.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 152 | "source/rtp_receiver_impl.cc", |
| 153 | "source/rtp_receiver_impl.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 154 | "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.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 161 | "source/rtp_sender.cc", |
| 162 | "source/rtp_sender.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 163 | "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.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 167 | "source/rtp_utility.cc", |
| 168 | "source/rtp_utility.h", |
Danil Chapovalov | c1e55c7 | 2016-03-09 15:14:35 +0100 | [diff] [blame] | 169 | "source/time_util.cc", |
| 170 | "source/time_util.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 171 | "source/tmmbr_help.cc", |
| 172 | "source/tmmbr_help.h", |
brandtr | 869e7cd | 2016-10-31 05:27:07 -0700 | [diff] [blame] | 173 | "source/ulpfec_generator.cc", |
| 174 | "source/ulpfec_generator.h", |
Rasmus Brandt | 78db158 | 2016-09-21 09:19:34 +0200 | [diff] [blame] | 175 | "source/ulpfec_header_reader_writer.cc", |
| 176 | "source/ulpfec_header_reader_writer.h", |
brandtr | d55c3f6 | 2016-10-31 04:51:33 -0700 | [diff] [blame] | 177 | "source/ulpfec_receiver_impl.cc", |
| 178 | "source/ulpfec_receiver_impl.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 179 | "source/video_codec_information.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 180 | ] |
| 181 | |
gaetano.carlucci | 52a5703 | 2016-09-14 05:04:36 -0700 | [diff] [blame] | 182 | 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 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 188 | if (!build_with_chromium && is_clang) { |
| 189 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 190 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 191 | } |
| 192 | |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 193 | deps = [ |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 194 | ":rtp_rtcp_format", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 195 | "..:module_api", |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 196 | "../..:webrtc_common", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 197 | "../../:typedefs", |
kwiberg | 529662a | 2017-09-04 05:43:17 -0700 | [diff] [blame] | 198 | "../../api:array_view", |
hbos | 8d609f6 | 2017-04-10 07:39:05 -0700 | [diff] [blame] | 199 | "../../api:libjingle_peerconnection_api", |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 200 | "../../api:optional", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 201 | "../../api:transport_api", |
kwiberg | 1c07c70 | 2017-03-27 07:15:49 -0700 | [diff] [blame] | 202 | "../../api/audio_codecs:audio_codecs_api", |
sprang | 52033d6 | 2016-06-02 02:43:32 -0700 | [diff] [blame] | 203 | "../../common_video", |
Qingsi Wang | 970b088 | 2018-02-01 11:04:46 -0800 | [diff] [blame^] | 204 | "../../logging:rtc_event_audio", |
mbonadei | ebafdc8 | 2016-12-22 07:35:39 -0800 | [diff] [blame] | 205 | "../../logging:rtc_event_log_api", |
Qingsi Wang | 970b088 | 2018-02-01 11:04:46 -0800 | [diff] [blame^] | 206 | "../../logging:rtc_event_rtp_rtcp", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 207 | "../../rtc_base:checks", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 208 | "../../rtc_base:deprecation", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 209 | "../../rtc_base:gtest_prod", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 210 | "../../rtc_base:rate_limiter", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 211 | "../../rtc_base:rtc_base_approved", |
Ilya Nikolaevskiy | 8b64fd8 | 2017-11-15 16:48:04 +0000 | [diff] [blame] | 212 | "../../rtc_base:rtc_numerics", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 213 | "../../rtc_base:sequenced_task_checker", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 214 | "../../rtc_base:stringutils", |
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" ] |
| 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 | |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 275 | rtc_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 Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 284 | ":rtp_rtcp_format", |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 285 | "..:module_api", |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 286 | "../../api:optional", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 287 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 288 | "../../rtc_base:rtc_base_approved", |
mbonadei | 3edccb9 | 2017-06-01 04:47:20 -0700 | [diff] [blame] | 289 | "../../test:test_support", |
| 290 | ] |
| 291 | } |
| 292 | |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 293 | if (rtc_include_tests) { |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 294 | rtc_executable("test_packet_masks_metrics") { |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 295 | 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.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 304 | "../../test:test_main", |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 305 | "//testing/gtest", |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 306 | ] |
| 307 | } # test_packet_masks_metrics |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 308 | |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 309 | rtc_source_set("rtp_rtcp_modules_tests") { |
| 310 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 311 | |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 312 | sources = [ |
| 313 | "test/testFec/test_fec.cc", |
| 314 | ] |
| 315 | deps = [ |
| 316 | ":rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 317 | ":rtp_rtcp_format", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 318 | "../../rtc_base:rtc_base_approved", |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 319 | "../../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 | |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 327 | rtc_source_set("rtp_rtcp_unittests") { |
| 328 | testonly = true |
| 329 | |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 330 | sources = [ |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 331 | "source/byte_io_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 332 | "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", |
danilchap | 8443238 | 2017-02-09 05:21:42 -0800 | [diff] [blame] | 340 | "source/rtcp_nack_stats_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 341 | "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", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 355 | "source/rtcp_packet/rrtr_unittest.cc", |
| 356 | "source/rtcp_packet/sdes_unittest.cc", |
| 357 | "source/rtcp_packet/sender_report_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 358 | "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 Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 366 | "source/rtcp_transceiver_impl_unittest.cc", |
Danil Chapovalov | c0fd5f9 | 2017-11-16 14:35:32 +0100 | [diff] [blame] | 367 | "source/rtcp_transceiver_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 368 | "source/rtp_fec_unittest.cc", |
| 369 | "source/rtp_format_h264_unittest.cc", |
ilnik | 7a3006b | 2017-05-23 09:34:21 -0700 | [diff] [blame] | 370 | "source/rtp_format_video_generic_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 371 | "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 Chapovalov | 07633bd | 2017-06-01 17:10:51 +0200 | [diff] [blame] | 375 | "source/rtp_header_extension_map_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 376 | "source/rtp_packet_history_unittest.cc", |
| 377 | "source/rtp_packet_unittest.cc", |
| 378 | "source/rtp_payload_registry_unittest.cc", |
hbos | 8d609f6 | 2017-04-10 07:39:05 -0700 | [diff] [blame] | 379 | "source/rtp_receiver_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 380 | "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", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 387 | "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 = [ |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 394 | ":fec_test_helper", |
| 395 | ":mock_rtp_rtcp", |
Danil Chapovalov | 398a7c6 | 2017-10-24 17:07:05 +0200 | [diff] [blame] | 396 | ":rtcp_transceiver", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 397 | ":rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 398 | ":rtp_rtcp_format", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 399 | "..:module_api", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 400 | "../..:webrtc_common", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 401 | "../../:typedefs", |
kwiberg | 529662a | 2017-09-04 05:43:17 -0700 | [diff] [blame] | 402 | "../../api:array_view", |
Stefan Holmer | 1acbd68 | 2017-09-01 15:29:28 +0200 | [diff] [blame] | 403 | "../../api:libjingle_peerconnection_api", |
Danil Chapovalov | 8c8d49e | 2017-10-30 15:21:41 +0100 | [diff] [blame] | 404 | "../../api:optional", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 405 | "../../api:transport_api", |
Mirko Bonadei | 0594a7c | 2017-12-18 11:42:48 +0100 | [diff] [blame] | 406 | "../../api:video_frame_api", |
nisse | f54573b | 2017-09-13 07:13:57 -0700 | [diff] [blame] | 407 | "../../call:rtp_receiver", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 408 | "../../common_video:common_video", |
Patrik Höglund | 731082c | 2018-01-03 09:08:20 +0100 | [diff] [blame] | 409 | "../../logging:mocks", |
Elad Alon | 4a87e1c | 2017-10-03 16:11:34 +0200 | [diff] [blame] | 410 | "../../logging:rtc_event_log_api", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 411 | "../../rtc_base:checks", |
| 412 | "../../rtc_base:rate_limiter", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 413 | "../../rtc_base:rtc_base_approved", |
Danil Chapovalov | d2f37d8 | 2017-11-09 15:42:28 +0100 | [diff] [blame] | 414 | "../../rtc_base:rtc_base_tests_utils", |
Danil Chapovalov | 8c8d49e | 2017-10-30 15:21:41 +0100 | [diff] [blame] | 415 | "../../rtc_base:rtc_task_queue", |
Mirko Bonadei | a498ae8 | 2017-12-06 09:17:14 +0100 | [diff] [blame] | 416 | "../../system_wrappers", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 417 | "../../test:field_trial", |
| 418 | "../../test:rtp_test_utils", |
| 419 | "../../test:test_common", |
| 420 | "../../test:test_support", |
Karl Wiberg | c62f6c7 | 2017-10-04 12:38:53 +0200 | [diff] [blame] | 421 | "../audio_coding:audio_format_conversion", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 422 | ] |
| 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 | } |
brandtr | 03bc3cf | 2016-08-08 08:08:53 -0700 | [diff] [blame] | 431 | } |