blob: ca4b812731760b1f3131c739afe938a367f75781 [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",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000063 "source/rtp_header_extension.cc",
64 "source/rtp_header_extension.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020065 "source/rtp_header_parser.cc",
66 "source/rtp_packet_history.cc",
67 "source/rtp_packet_history.h",
68 "source/rtp_payload_registry.cc",
69 "source/rtp_receiver_audio.cc",
70 "source/rtp_receiver_audio.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000071 "source/rtp_receiver_impl.cc",
72 "source/rtp_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020073 "source/rtp_receiver_strategy.cc",
74 "source/rtp_receiver_strategy.h",
75 "source/rtp_receiver_video.cc",
76 "source/rtp_receiver_video.h",
77 "source/rtp_rtcp_config.h",
78 "source/rtp_rtcp_impl.cc",
79 "source/rtp_rtcp_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000080 "source/rtp_sender.cc",
81 "source/rtp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020082 "source/rtp_sender_audio.cc",
83 "source/rtp_sender_audio.h",
84 "source/rtp_sender_video.cc",
85 "source/rtp_sender_video.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000086 "source/rtp_utility.cc",
87 "source/rtp_utility.h",
88 "source/ssrc_database.cc",
89 "source/ssrc_database.h",
90 "source/tmmbr_help.cc",
91 "source/tmmbr_help.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000092 "source/video_codec_information.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000093 "source/vp8_partition_aggregator.cc",
94 "source/vp8_partition_aggregator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000095 ]
96
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000097 configs += [ "../..:common_config" ]
98 public_configs = [ "../..:common_inherited_config" ]
99
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +0000100 if (is_clang) {
101 # Suppress warnings from Chrome's Clang plugins.
102 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
103 configs -= [ "//build/config/clang:find_bad_constructs" ]
104 }
105
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000106 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000107 "../..:webrtc_common",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000108 "../../system_wrappers",
109 "../pacing",
110 "../remote_bitrate_estimator",
111 ]
112
113 if (is_win) {
114 cflags = [
115 # TODO(jschuh): Bug 1348: fix this warning.
116 "/wd4267", # size_t to int truncations
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200117
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +0000118 # TODO(kjellander): Bug 261: fix this warning.
119 "/wd4373", # virtual function override.
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000120 ]
121 }
122}