blob: 0e8f07e6b2aa0007a00d7bae4fde2df25da7e9ea [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
9import("../../build/webrtc.gni")
10
11source_set("rtp_rtcp") {
12 sources = [
Henrik Kjellanderff761fb2015-11-04 08:31:52 +010013 "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 Kjellander57e5fd22015-05-25 12:55:39 +020021 "mocks/mock_rtp_rtcp.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000022 "source/bitrate.cc",
23 "source/bitrate.h",
24 "source/byte_io.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020025 "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.org1227ab82014-06-23 19:21:07 +000029 "source/fec_receiver_impl.cc",
30 "source/fec_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020031 "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öm8c266e62015-09-24 15:06:50 +020035 "source/h264_bitstream_parser.cc",
36 "source/h264_bitstream_parser.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020037 "source/h264_sps_parser.cc",
38 "source/h264_sps_parser.h",
39 "source/mock/mock_rtp_payload_strategy.h",
bcornell30409b42015-07-10 18:10:05 -070040 "source/packet_loss_stats.cc",
41 "source/packet_loss_stats.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020042 "source/producer_fec.cc",
43 "source/producer_fec.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000044 "source/receive_statistics_impl.cc",
45 "source/receive_statistics_impl.h",
46 "source/remote_ntp_time_estimator.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000047 "source/rtcp_packet.cc",
48 "source/rtcp_packet.h",
danilchap0219c9b2015-11-18 05:56:53 -080049 "source/rtcp_packet/app.cc",
50 "source/rtcp_packet/app.h",
danilchap50c51362015-11-22 09:03:11 -080051 "source/rtcp_packet/bye.cc",
52 "source/rtcp_packet/bye.h",
danilchap2f7dea12016-01-13 02:03:04 -080053 "source/rtcp_packet/compound_packet.cc",
54 "source/rtcp_packet/compound_packet.h",
danilchap54999d42015-12-16 01:56:20 -080055 "source/rtcp_packet/dlrr.cc",
56 "source/rtcp_packet/dlrr.h",
danilchapf8506cb2015-11-13 07:33:20 -080057 "source/rtcp_packet/extended_jitter_report.cc",
58 "source/rtcp_packet/extended_jitter_report.h",
Danil Chapovalov256e5b22016-01-15 14:16:24 +010059 "source/rtcp_packet/extended_reports.cc",
60 "source/rtcp_packet/extended_reports.h",
Danil Chapovalov5679da12016-01-15 13:19:53 +010061 "source/rtcp_packet/fir.cc",
62 "source/rtcp_packet/fir.h",
danilchapa8890a52015-12-22 03:43:04 -080063 "source/rtcp_packet/nack.cc",
64 "source/rtcp_packet/nack.h",
danilchapf8385ad2015-11-27 05:36:09 -080065 "source/rtcp_packet/pli.cc",
66 "source/rtcp_packet/pli.h",
67 "source/rtcp_packet/psfb.cc",
68 "source/rtcp_packet/psfb.h",
Danil Chapovalov97f7e132015-12-04 16:13:30 +010069 "source/rtcp_packet/receiver_report.cc",
70 "source/rtcp_packet/receiver_report.h",
Danil Chapovalova5eba6c2016-01-15 12:40:15 +010071 "source/rtcp_packet/remb.cc",
72 "source/rtcp_packet/remb.h",
danilchapdf948f02015-11-13 03:03:13 -080073 "source/rtcp_packet/report_block.cc",
74 "source/rtcp_packet/report_block.h",
Danil Chapovalov2c132972016-01-15 15:21:21 +010075 "source/rtcp_packet/rpsi.cc",
76 "source/rtcp_packet/rpsi.h",
Danil Chapovalovfc47ed62015-12-07 14:46:35 +010077 "source/rtcp_packet/rrtr.cc",
78 "source/rtcp_packet/rrtr.h",
danilchapa8890a52015-12-22 03:43:04 -080079 "source/rtcp_packet/rtpfb.cc",
80 "source/rtcp_packet/rtpfb.h",
danilchap92e677a2016-01-12 10:04:52 -080081 "source/rtcp_packet/sli.cc",
82 "source/rtcp_packet/sli.h",
danilchapef3d8052016-01-11 03:31:08 -080083 "source/rtcp_packet/tmmbn.cc",
84 "source/rtcp_packet/tmmbn.h",
danilchap7e8145f2016-01-11 11:49:19 -080085 "source/rtcp_packet/tmmbr.cc",
86 "source/rtcp_packet/tmmbr.h",
Erik Språnga3b87692015-07-29 10:46:54 +020087 "source/rtcp_packet/transport_feedback.cc",
88 "source/rtcp_packet/transport_feedback.h",
danilchap91941ae2015-12-15 07:06:36 -080089 "source/rtcp_packet/voip_metric.cc",
90 "source/rtcp_packet/voip_metric.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000091 "source/rtcp_receiver.cc",
92 "source/rtcp_receiver.h",
93 "source/rtcp_receiver_help.cc",
94 "source/rtcp_receiver_help.h",
95 "source/rtcp_sender.cc",
96 "source/rtcp_sender.h",
97 "source/rtcp_utility.cc",
98 "source/rtcp_utility.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020099 "source/rtp_format.cc",
100 "source/rtp_format.h",
101 "source/rtp_format_h264.cc",
102 "source/rtp_format_h264.h",
103 "source/rtp_format_video_generic.cc",
104 "source/rtp_format_video_generic.h",
105 "source/rtp_format_vp8.cc",
106 "source/rtp_format_vp8.h",
asaperssonf38ea3c2015-07-28 04:02:54 -0700107 "source/rtp_format_vp9.cc",
108 "source/rtp_format_vp9.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000109 "source/rtp_header_extension.cc",
110 "source/rtp_header_extension.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200111 "source/rtp_header_parser.cc",
112 "source/rtp_packet_history.cc",
113 "source/rtp_packet_history.h",
114 "source/rtp_payload_registry.cc",
115 "source/rtp_receiver_audio.cc",
116 "source/rtp_receiver_audio.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000117 "source/rtp_receiver_impl.cc",
118 "source/rtp_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200119 "source/rtp_receiver_strategy.cc",
120 "source/rtp_receiver_strategy.h",
121 "source/rtp_receiver_video.cc",
122 "source/rtp_receiver_video.h",
123 "source/rtp_rtcp_config.h",
124 "source/rtp_rtcp_impl.cc",
125 "source/rtp_rtcp_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000126 "source/rtp_sender.cc",
127 "source/rtp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200128 "source/rtp_sender_audio.cc",
129 "source/rtp_sender_audio.h",
130 "source/rtp_sender_video.cc",
131 "source/rtp_sender_video.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000132 "source/rtp_utility.cc",
133 "source/rtp_utility.h",
134 "source/ssrc_database.cc",
135 "source/ssrc_database.h",
136 "source/tmmbr_help.cc",
137 "source/tmmbr_help.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000138 "source/video_codec_information.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000139 "source/vp8_partition_aggregator.cc",
140 "source/vp8_partition_aggregator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000141 ]
142
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +0000143 configs += [ "../..:common_config" ]
144 public_configs = [ "../..:common_inherited_config" ]
145
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +0000146 if (is_clang) {
147 # Suppress warnings from Chrome's Clang plugins.
148 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
149 configs -= [ "//build/config/clang:find_bad_constructs" ]
150 }
151
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000152 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000153 "../..:webrtc_common",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000154 "../../system_wrappers",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000155 "../remote_bitrate_estimator",
156 ]
157
158 if (is_win) {
159 cflags = [
160 # TODO(jschuh): Bug 1348: fix this warning.
161 "/wd4267", # size_t to int truncations
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200162
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +0000163 # TODO(kjellander): Bug 261: fix this warning.
164 "/wd4373", # virtual function override.
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000165 ]
166 }
167}