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 | |
| 9 | import("../../build/webrtc.gni") |
| 10 | |
| 11 | source_set("rtp_rtcp") { |
| 12 | sources = [ |
Henrik Kjellander | ff761fb | 2015-11-04 08:31:52 +0100 | [diff] [blame] | 13 | "include/fec_receiver.h", |
| 14 | "include/receive_statistics.h", |
| 15 | "include/remote_ntp_time_estimator.h", |
| 16 | "include/rtp_header_parser.h", |
| 17 | "include/rtp_payload_registry.h", |
| 18 | "include/rtp_receiver.h", |
| 19 | "include/rtp_rtcp.h", |
| 20 | "include/rtp_rtcp_defines.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 21 | "mocks/mock_rtp_rtcp.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 22 | "source/bitrate.cc", |
| 23 | "source/bitrate.h", |
| 24 | "source/byte_io.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 25 | "source/dtmf_queue.cc", |
| 26 | "source/dtmf_queue.h", |
| 27 | "source/fec_private_tables_bursty.h", |
| 28 | "source/fec_private_tables_random.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 29 | "source/fec_receiver_impl.cc", |
| 30 | "source/fec_receiver_impl.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 31 | "source/forward_error_correction.cc", |
| 32 | "source/forward_error_correction.h", |
| 33 | "source/forward_error_correction_internal.cc", |
| 34 | "source/forward_error_correction_internal.h", |
Peter Boström | 8c266e6 | 2015-09-24 15:06:50 +0200 | [diff] [blame] | 35 | "source/h264_bitstream_parser.cc", |
| 36 | "source/h264_bitstream_parser.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 37 | "source/h264_sps_parser.cc", |
| 38 | "source/h264_sps_parser.h", |
| 39 | "source/mock/mock_rtp_payload_strategy.h", |
bcornell | 30409b4 | 2015-07-10 18:10:05 -0700 | [diff] [blame] | 40 | "source/packet_loss_stats.cc", |
| 41 | "source/packet_loss_stats.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 42 | "source/producer_fec.cc", |
| 43 | "source/producer_fec.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 44 | "source/receive_statistics_impl.cc", |
| 45 | "source/receive_statistics_impl.h", |
| 46 | "source/remote_ntp_time_estimator.cc", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 47 | "source/rtcp_packet.cc", |
| 48 | "source/rtcp_packet.h", |
danilchap | 0219c9b | 2015-11-18 05:56:53 -0800 | [diff] [blame] | 49 | "source/rtcp_packet/app.cc", |
| 50 | "source/rtcp_packet/app.h", |
danilchap | 50c5136 | 2015-11-22 09:03:11 -0800 | [diff] [blame] | 51 | "source/rtcp_packet/bye.cc", |
| 52 | "source/rtcp_packet/bye.h", |
Danil Chapovalov | 7021b92 | 2016-03-15 17:39:32 +0100 | [diff] [blame] | 53 | "source/rtcp_packet/common_header.cc", |
| 54 | "source/rtcp_packet/common_header.h", |
danilchap | 2f7dea1 | 2016-01-13 02:03:04 -0800 | [diff] [blame] | 55 | "source/rtcp_packet/compound_packet.cc", |
| 56 | "source/rtcp_packet/compound_packet.h", |
danilchap | 54999d4 | 2015-12-16 01:56:20 -0800 | [diff] [blame] | 57 | "source/rtcp_packet/dlrr.cc", |
| 58 | "source/rtcp_packet/dlrr.h", |
danilchap | f8506cb | 2015-11-13 07:33:20 -0800 | [diff] [blame] | 59 | "source/rtcp_packet/extended_jitter_report.cc", |
| 60 | "source/rtcp_packet/extended_jitter_report.h", |
Danil Chapovalov | 256e5b2 | 2016-01-15 14:16:24 +0100 | [diff] [blame] | 61 | "source/rtcp_packet/extended_reports.cc", |
| 62 | "source/rtcp_packet/extended_reports.h", |
Danil Chapovalov | 5679da1 | 2016-01-15 13:19:53 +0100 | [diff] [blame] | 63 | "source/rtcp_packet/fir.cc", |
| 64 | "source/rtcp_packet/fir.h", |
danilchap | a8890a5 | 2015-12-22 03:43:04 -0800 | [diff] [blame] | 65 | "source/rtcp_packet/nack.cc", |
| 66 | "source/rtcp_packet/nack.h", |
danilchap | f8385ad | 2015-11-27 05:36:09 -0800 | [diff] [blame] | 67 | "source/rtcp_packet/pli.cc", |
| 68 | "source/rtcp_packet/pli.h", |
| 69 | "source/rtcp_packet/psfb.cc", |
| 70 | "source/rtcp_packet/psfb.h", |
danilchap | 09fef9e | 2016-02-09 05:57:51 -0800 | [diff] [blame] | 71 | "source/rtcp_packet/rapid_resync_request.cc", |
| 72 | "source/rtcp_packet/rapid_resync_request.h", |
Danil Chapovalov | 97f7e13 | 2015-12-04 16:13:30 +0100 | [diff] [blame] | 73 | "source/rtcp_packet/receiver_report.cc", |
| 74 | "source/rtcp_packet/receiver_report.h", |
Danil Chapovalov | a5eba6c | 2016-01-15 12:40:15 +0100 | [diff] [blame] | 75 | "source/rtcp_packet/remb.cc", |
| 76 | "source/rtcp_packet/remb.h", |
danilchap | df948f0 | 2015-11-13 03:03:13 -0800 | [diff] [blame] | 77 | "source/rtcp_packet/report_block.cc", |
| 78 | "source/rtcp_packet/report_block.h", |
Danil Chapovalov | 2c13297 | 2016-01-15 15:21:21 +0100 | [diff] [blame] | 79 | "source/rtcp_packet/rpsi.cc", |
| 80 | "source/rtcp_packet/rpsi.h", |
Danil Chapovalov | fc47ed6 | 2015-12-07 14:46:35 +0100 | [diff] [blame] | 81 | "source/rtcp_packet/rrtr.cc", |
| 82 | "source/rtcp_packet/rrtr.h", |
danilchap | a8890a5 | 2015-12-22 03:43:04 -0800 | [diff] [blame] | 83 | "source/rtcp_packet/rtpfb.cc", |
| 84 | "source/rtcp_packet/rtpfb.h", |
Danil Chapovalov | 1567d0b | 2016-01-15 17:34:27 +0100 | [diff] [blame] | 85 | "source/rtcp_packet/sdes.cc", |
| 86 | "source/rtcp_packet/sdes.h", |
danilchap | 34ed2b9 | 2016-01-18 02:43:32 -0800 | [diff] [blame] | 87 | "source/rtcp_packet/sender_report.cc", |
| 88 | "source/rtcp_packet/sender_report.h", |
danilchap | 92e677a | 2016-01-12 10:04:52 -0800 | [diff] [blame] | 89 | "source/rtcp_packet/sli.cc", |
| 90 | "source/rtcp_packet/sli.h", |
danilchap | a92d6be | 2016-02-04 07:33:39 -0800 | [diff] [blame] | 91 | "source/rtcp_packet/tmmb_item.cc", |
| 92 | "source/rtcp_packet/tmmb_item.h", |
danilchap | ef3d805 | 2016-01-11 03:31:08 -0800 | [diff] [blame] | 93 | "source/rtcp_packet/tmmbn.cc", |
| 94 | "source/rtcp_packet/tmmbn.h", |
danilchap | 7e8145f | 2016-01-11 11:49:19 -0800 | [diff] [blame] | 95 | "source/rtcp_packet/tmmbr.cc", |
| 96 | "source/rtcp_packet/tmmbr.h", |
Erik Språng | a3b8769 | 2015-07-29 10:46:54 +0200 | [diff] [blame] | 97 | "source/rtcp_packet/transport_feedback.cc", |
| 98 | "source/rtcp_packet/transport_feedback.h", |
danilchap | 91941ae | 2015-12-15 07:06:36 -0800 | [diff] [blame] | 99 | "source/rtcp_packet/voip_metric.cc", |
| 100 | "source/rtcp_packet/voip_metric.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 101 | "source/rtcp_receiver.cc", |
| 102 | "source/rtcp_receiver.h", |
| 103 | "source/rtcp_receiver_help.cc", |
| 104 | "source/rtcp_receiver_help.h", |
| 105 | "source/rtcp_sender.cc", |
| 106 | "source/rtcp_sender.h", |
| 107 | "source/rtcp_utility.cc", |
| 108 | "source/rtcp_utility.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 109 | "source/rtp_format.cc", |
| 110 | "source/rtp_format.h", |
| 111 | "source/rtp_format_h264.cc", |
| 112 | "source/rtp_format_h264.h", |
| 113 | "source/rtp_format_video_generic.cc", |
| 114 | "source/rtp_format_video_generic.h", |
| 115 | "source/rtp_format_vp8.cc", |
| 116 | "source/rtp_format_vp8.h", |
asapersson | f38ea3c | 2015-07-28 04:02:54 -0700 | [diff] [blame] | 117 | "source/rtp_format_vp9.cc", |
| 118 | "source/rtp_format_vp9.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 119 | "source/rtp_header_extension.cc", |
| 120 | "source/rtp_header_extension.h", |
danilchap | 1edb7ab | 2016-04-20 05:25:10 -0700 | [diff] [blame^] | 121 | "source/rtp_header_extensions.cc", |
| 122 | "source/rtp_header_extensions.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 123 | "source/rtp_header_parser.cc", |
danilchap | 1edb7ab | 2016-04-20 05:25:10 -0700 | [diff] [blame^] | 124 | "source/rtp_packet.cc", |
| 125 | "source/rtp_packet.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 126 | "source/rtp_packet_history.cc", |
| 127 | "source/rtp_packet_history.h", |
danilchap | 1edb7ab | 2016-04-20 05:25:10 -0700 | [diff] [blame^] | 128 | "source/rtp_packet_received.h", |
| 129 | "source/rtp_packet_to_send.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 130 | "source/rtp_payload_registry.cc", |
| 131 | "source/rtp_receiver_audio.cc", |
| 132 | "source/rtp_receiver_audio.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 133 | "source/rtp_receiver_impl.cc", |
| 134 | "source/rtp_receiver_impl.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 135 | "source/rtp_receiver_strategy.cc", |
| 136 | "source/rtp_receiver_strategy.h", |
| 137 | "source/rtp_receiver_video.cc", |
| 138 | "source/rtp_receiver_video.h", |
| 139 | "source/rtp_rtcp_config.h", |
| 140 | "source/rtp_rtcp_impl.cc", |
| 141 | "source/rtp_rtcp_impl.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 142 | "source/rtp_sender.cc", |
| 143 | "source/rtp_sender.h", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 144 | "source/rtp_sender_audio.cc", |
| 145 | "source/rtp_sender_audio.h", |
| 146 | "source/rtp_sender_video.cc", |
| 147 | "source/rtp_sender_video.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 148 | "source/rtp_utility.cc", |
| 149 | "source/rtp_utility.h", |
| 150 | "source/ssrc_database.cc", |
| 151 | "source/ssrc_database.h", |
Danil Chapovalov | c1e55c7 | 2016-03-09 15:14:35 +0100 | [diff] [blame] | 152 | "source/time_util.cc", |
| 153 | "source/time_util.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 154 | "source/tmmbr_help.cc", |
| 155 | "source/tmmbr_help.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 156 | "source/video_codec_information.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 157 | "source/vp8_partition_aggregator.cc", |
| 158 | "source/vp8_partition_aggregator.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 159 | ] |
| 160 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 161 | configs += [ "../..:common_config" ] |
| 162 | public_configs = [ "../..:common_inherited_config" ] |
| 163 | |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 164 | if (is_clang) { |
| 165 | # Suppress warnings from Chrome's Clang plugins. |
| 166 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 167 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 168 | } |
| 169 | |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 170 | deps = [ |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 171 | "../..:webrtc_common", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 172 | "../../system_wrappers", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 173 | "../remote_bitrate_estimator", |
| 174 | ] |
| 175 | |
| 176 | if (is_win) { |
| 177 | cflags = [ |
| 178 | # TODO(jschuh): Bug 1348: fix this warning. |
| 179 | "/wd4267", # size_t to int truncations |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 180 | |
kjellander@webrtc.org | 8649fed | 2015-01-08 21:22:01 +0000 | [diff] [blame] | 181 | # TODO(kjellander): Bug 261: fix this warning. |
| 182 | "/wd4373", # virtual function override. |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 183 | ] |
| 184 | } |
| 185 | } |