blob: b83faae8d6efca0dfd2357581de8fde206bbe2ff [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 = [
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000013 "interface/fec_receiver.h",
14 "interface/receive_statistics.h",
15 "interface/remote_ntp_time_estimator.h",
16 "interface/rtp_header_parser.h",
17 "interface/rtp_payload_registry.h",
18 "interface/rtp_receiver.h",
19 "interface/rtp_rtcp.h",
20 "interface/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",
35 "source/h264_sps_parser.cc",
36 "source/h264_sps_parser.h",
37 "source/mock/mock_rtp_payload_strategy.h",
bcornell30409b42015-07-10 18:10:05 -070038 "source/packet_loss_stats.cc",
39 "source/packet_loss_stats.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020040 "source/producer_fec.cc",
41 "source/producer_fec.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000042 "source/receive_statistics_impl.cc",
43 "source/receive_statistics_impl.h",
44 "source/remote_ntp_time_estimator.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000045 "source/rtcp_packet.cc",
46 "source/rtcp_packet.h",
Erik Språnga3b87692015-07-29 10:46:54 +020047 "source/rtcp_packet/transport_feedback.cc",
48 "source/rtcp_packet/transport_feedback.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000049 "source/rtcp_receiver.cc",
50 "source/rtcp_receiver.h",
51 "source/rtcp_receiver_help.cc",
52 "source/rtcp_receiver_help.h",
53 "source/rtcp_sender.cc",
54 "source/rtcp_sender.h",
55 "source/rtcp_utility.cc",
56 "source/rtcp_utility.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020057 "source/rtp_format.cc",
58 "source/rtp_format.h",
59 "source/rtp_format_h264.cc",
60 "source/rtp_format_h264.h",
61 "source/rtp_format_video_generic.cc",
62 "source/rtp_format_video_generic.h",
63 "source/rtp_format_vp8.cc",
64 "source/rtp_format_vp8.h",
asaperssonf38ea3c2015-07-28 04:02:54 -070065 "source/rtp_format_vp9.cc",
66 "source/rtp_format_vp9.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000067 "source/rtp_header_extension.cc",
68 "source/rtp_header_extension.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020069 "source/rtp_header_parser.cc",
70 "source/rtp_packet_history.cc",
71 "source/rtp_packet_history.h",
72 "source/rtp_payload_registry.cc",
73 "source/rtp_receiver_audio.cc",
74 "source/rtp_receiver_audio.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000075 "source/rtp_receiver_impl.cc",
76 "source/rtp_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020077 "source/rtp_receiver_strategy.cc",
78 "source/rtp_receiver_strategy.h",
79 "source/rtp_receiver_video.cc",
80 "source/rtp_receiver_video.h",
81 "source/rtp_rtcp_config.h",
82 "source/rtp_rtcp_impl.cc",
83 "source/rtp_rtcp_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000084 "source/rtp_sender.cc",
85 "source/rtp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020086 "source/rtp_sender_audio.cc",
87 "source/rtp_sender_audio.h",
88 "source/rtp_sender_video.cc",
89 "source/rtp_sender_video.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000090 "source/rtp_utility.cc",
91 "source/rtp_utility.h",
92 "source/ssrc_database.cc",
93 "source/ssrc_database.h",
94 "source/tmmbr_help.cc",
95 "source/tmmbr_help.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000096 "source/video_codec_information.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000097 "source/vp8_partition_aggregator.cc",
98 "source/vp8_partition_aggregator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000099 ]
100
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +0000101 configs += [ "../..:common_config" ]
102 public_configs = [ "../..:common_inherited_config" ]
103
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +0000104 if (is_clang) {
105 # Suppress warnings from Chrome's Clang plugins.
106 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
107 configs -= [ "//build/config/clang:find_bad_constructs" ]
108 }
109
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000110 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000111 "../..:webrtc_common",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000112 "../../system_wrappers",
113 "../pacing",
114 "../remote_bitrate_estimator",
115 ]
116
117 if (is_win) {
118 cflags = [
119 # TODO(jschuh): Bug 1348: fix this warning.
120 "/wd4267", # size_t to int truncations
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200121
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +0000122 # TODO(kjellander): Bug 261: fix this warning.
123 "/wd4373", # virtual function override.
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000124 ]
125 }
126}