blob: 48c4921ca59f46e7c393db9e0f4fd7f5516aea9c [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",
47 "source/rtcp_receiver.cc",
48 "source/rtcp_receiver.h",
49 "source/rtcp_receiver_help.cc",
50 "source/rtcp_receiver_help.h",
51 "source/rtcp_sender.cc",
52 "source/rtcp_sender.h",
53 "source/rtcp_utility.cc",
54 "source/rtcp_utility.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020055 "source/rtp_format.cc",
56 "source/rtp_format.h",
57 "source/rtp_format_h264.cc",
58 "source/rtp_format_h264.h",
59 "source/rtp_format_video_generic.cc",
60 "source/rtp_format_video_generic.h",
61 "source/rtp_format_vp8.cc",
62 "source/rtp_format_vp8.h",
asaperssonf38ea3c2015-07-28 04:02:54 -070063 "source/rtp_format_vp9.cc",
64 "source/rtp_format_vp9.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000065 "source/rtp_header_extension.cc",
66 "source/rtp_header_extension.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020067 "source/rtp_header_parser.cc",
68 "source/rtp_packet_history.cc",
69 "source/rtp_packet_history.h",
70 "source/rtp_payload_registry.cc",
71 "source/rtp_receiver_audio.cc",
72 "source/rtp_receiver_audio.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000073 "source/rtp_receiver_impl.cc",
74 "source/rtp_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020075 "source/rtp_receiver_strategy.cc",
76 "source/rtp_receiver_strategy.h",
77 "source/rtp_receiver_video.cc",
78 "source/rtp_receiver_video.h",
79 "source/rtp_rtcp_config.h",
80 "source/rtp_rtcp_impl.cc",
81 "source/rtp_rtcp_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000082 "source/rtp_sender.cc",
83 "source/rtp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020084 "source/rtp_sender_audio.cc",
85 "source/rtp_sender_audio.h",
86 "source/rtp_sender_video.cc",
87 "source/rtp_sender_video.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000088 "source/rtp_utility.cc",
89 "source/rtp_utility.h",
90 "source/ssrc_database.cc",
91 "source/ssrc_database.h",
92 "source/tmmbr_help.cc",
93 "source/tmmbr_help.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000094 "source/video_codec_information.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000095 "source/vp8_partition_aggregator.cc",
96 "source/vp8_partition_aggregator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000097 ]
98
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000099 configs += [ "../..:common_config" ]
100 public_configs = [ "../..:common_inherited_config" ]
101
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +0000102 if (is_clang) {
103 # Suppress warnings from Chrome's Clang plugins.
104 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
105 configs -= [ "//build/config/clang:find_bad_constructs" ]
106 }
107
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000108 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000109 "../..:webrtc_common",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000110 "../../system_wrappers",
111 "../pacing",
112 "../remote_bitrate_estimator",
113 ]
114
115 if (is_win) {
116 cflags = [
117 # TODO(jschuh): Bug 1348: fix this warning.
118 "/wd4267", # size_t to int truncations
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200119
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +0000120 # TODO(kjellander): Bug 261: fix this warning.
121 "/wd4373", # virtual function override.
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000122 ]
123 }
124}