blob: f7d887d14cc89a1697f037e3632edb4829ebbff1 [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",
danilchapf8506cb2015-11-13 07:33:20 -080051 "source/rtcp_packet/extended_jitter_report.cc",
52 "source/rtcp_packet/extended_jitter_report.h",
danilchapdf948f02015-11-13 03:03:13 -080053 "source/rtcp_packet/report_block.cc",
54 "source/rtcp_packet/report_block.h",
Erik Språnga3b87692015-07-29 10:46:54 +020055 "source/rtcp_packet/transport_feedback.cc",
56 "source/rtcp_packet/transport_feedback.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000057 "source/rtcp_receiver.cc",
58 "source/rtcp_receiver.h",
59 "source/rtcp_receiver_help.cc",
60 "source/rtcp_receiver_help.h",
61 "source/rtcp_sender.cc",
62 "source/rtcp_sender.h",
63 "source/rtcp_utility.cc",
64 "source/rtcp_utility.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020065 "source/rtp_format.cc",
66 "source/rtp_format.h",
67 "source/rtp_format_h264.cc",
68 "source/rtp_format_h264.h",
69 "source/rtp_format_video_generic.cc",
70 "source/rtp_format_video_generic.h",
71 "source/rtp_format_vp8.cc",
72 "source/rtp_format_vp8.h",
asaperssonf38ea3c2015-07-28 04:02:54 -070073 "source/rtp_format_vp9.cc",
74 "source/rtp_format_vp9.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000075 "source/rtp_header_extension.cc",
76 "source/rtp_header_extension.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020077 "source/rtp_header_parser.cc",
78 "source/rtp_packet_history.cc",
79 "source/rtp_packet_history.h",
80 "source/rtp_payload_registry.cc",
81 "source/rtp_receiver_audio.cc",
82 "source/rtp_receiver_audio.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000083 "source/rtp_receiver_impl.cc",
84 "source/rtp_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020085 "source/rtp_receiver_strategy.cc",
86 "source/rtp_receiver_strategy.h",
87 "source/rtp_receiver_video.cc",
88 "source/rtp_receiver_video.h",
89 "source/rtp_rtcp_config.h",
90 "source/rtp_rtcp_impl.cc",
91 "source/rtp_rtcp_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000092 "source/rtp_sender.cc",
93 "source/rtp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020094 "source/rtp_sender_audio.cc",
95 "source/rtp_sender_audio.h",
96 "source/rtp_sender_video.cc",
97 "source/rtp_sender_video.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000098 "source/rtp_utility.cc",
99 "source/rtp_utility.h",
100 "source/ssrc_database.cc",
101 "source/ssrc_database.h",
102 "source/tmmbr_help.cc",
103 "source/tmmbr_help.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000104 "source/video_codec_information.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000105 "source/vp8_partition_aggregator.cc",
106 "source/vp8_partition_aggregator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000107 ]
108
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +0000109 configs += [ "../..:common_config" ]
110 public_configs = [ "../..:common_inherited_config" ]
111
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +0000112 if (is_clang) {
113 # Suppress warnings from Chrome's Clang plugins.
114 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
115 configs -= [ "//build/config/clang:find_bad_constructs" ]
116 }
117
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000118 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000119 "../..:webrtc_common",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000120 "../../system_wrappers",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000121 "../remote_bitrate_estimator",
122 ]
123
124 if (is_win) {
125 cflags = [
126 # TODO(jschuh): Bug 1348: fix this warning.
127 "/wd4267", # size_t to int truncations
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200128
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +0000129 # TODO(kjellander): Bug 261: fix this warning.
130 "/wd4373", # virtual function override.
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000131 ]
132 }
133}