blob: 0eda287a4ce30e65e0f27fd39e23cf52c9f597d3 [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",
38 "source/producer_fec.cc",
39 "source/producer_fec.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000040 "source/receive_statistics_impl.cc",
41 "source/receive_statistics_impl.h",
42 "source/remote_ntp_time_estimator.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000043 "source/rtcp_packet.cc",
44 "source/rtcp_packet.h",
45 "source/rtcp_receiver.cc",
46 "source/rtcp_receiver.h",
47 "source/rtcp_receiver_help.cc",
48 "source/rtcp_receiver_help.h",
49 "source/rtcp_sender.cc",
50 "source/rtcp_sender.h",
51 "source/rtcp_utility.cc",
52 "source/rtcp_utility.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020053 "source/rtp_format.cc",
54 "source/rtp_format.h",
55 "source/rtp_format_h264.cc",
56 "source/rtp_format_h264.h",
57 "source/rtp_format_video_generic.cc",
58 "source/rtp_format_video_generic.h",
59 "source/rtp_format_vp8.cc",
60 "source/rtp_format_vp8.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000061 "source/rtp_header_extension.cc",
62 "source/rtp_header_extension.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020063 "source/rtp_header_parser.cc",
64 "source/rtp_packet_history.cc",
65 "source/rtp_packet_history.h",
66 "source/rtp_payload_registry.cc",
67 "source/rtp_receiver_audio.cc",
68 "source/rtp_receiver_audio.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000069 "source/rtp_receiver_impl.cc",
70 "source/rtp_receiver_impl.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020071 "source/rtp_receiver_strategy.cc",
72 "source/rtp_receiver_strategy.h",
73 "source/rtp_receiver_video.cc",
74 "source/rtp_receiver_video.h",
75 "source/rtp_rtcp_config.h",
76 "source/rtp_rtcp_impl.cc",
77 "source/rtp_rtcp_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000078 "source/rtp_sender.cc",
79 "source/rtp_sender.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020080 "source/rtp_sender_audio.cc",
81 "source/rtp_sender_audio.h",
82 "source/rtp_sender_video.cc",
83 "source/rtp_sender_video.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000084 "source/rtp_utility.cc",
85 "source/rtp_utility.h",
86 "source/ssrc_database.cc",
87 "source/ssrc_database.h",
88 "source/tmmbr_help.cc",
89 "source/tmmbr_help.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000090 "source/video_codec_information.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000091 "source/vp8_partition_aggregator.cc",
92 "source/vp8_partition_aggregator.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000093 ]
94
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000095 configs += [ "../..:common_config" ]
96 public_configs = [ "../..:common_inherited_config" ]
97
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000098 if (is_clang) {
99 # Suppress warnings from Chrome's Clang plugins.
100 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
101 configs -= [ "//build/config/clang:find_bad_constructs" ]
102 }
103
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000104 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000105 "../..:webrtc_common",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000106 "../../system_wrappers",
107 "../pacing",
108 "../remote_bitrate_estimator",
109 ]
110
111 if (is_win) {
112 cflags = [
113 # TODO(jschuh): Bug 1348: fix this warning.
114 "/wd4267", # size_t to int truncations
Henrik Kjellander57e5fd22015-05-25 12:55:39 +0200115
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +0000116 # TODO(kjellander): Bug 261: fix this warning.
117 "/wd4373", # virtual function override.
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000118 ]
119 }
120}