kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../build/webrtc.gni") |
| 10 | |
| 11 | source_set("rtp_rtcp") { |
| 12 | sources = [ |
| 13 | # Common |
| 14 | "interface/fec_receiver.h", |
| 15 | "interface/receive_statistics.h", |
| 16 | "interface/remote_ntp_time_estimator.h", |
| 17 | "interface/rtp_header_parser.h", |
| 18 | "interface/rtp_payload_registry.h", |
| 19 | "interface/rtp_receiver.h", |
| 20 | "interface/rtp_rtcp.h", |
| 21 | "interface/rtp_rtcp_defines.h", |
| 22 | "source/bitrate.cc", |
| 23 | "source/bitrate.h", |
| 24 | "source/byte_io.h", |
| 25 | "source/fec_receiver_impl.cc", |
| 26 | "source/fec_receiver_impl.h", |
| 27 | "source/receive_statistics_impl.cc", |
| 28 | "source/receive_statistics_impl.h", |
| 29 | "source/remote_ntp_time_estimator.cc", |
| 30 | "source/rtp_header_parser.cc", |
| 31 | "source/rtp_rtcp_config.h", |
| 32 | "source/rtp_rtcp_impl.cc", |
| 33 | "source/rtp_rtcp_impl.h", |
| 34 | "source/rtcp_packet.cc", |
| 35 | "source/rtcp_packet.h", |
| 36 | "source/rtcp_receiver.cc", |
| 37 | "source/rtcp_receiver.h", |
| 38 | "source/rtcp_receiver_help.cc", |
| 39 | "source/rtcp_receiver_help.h", |
| 40 | "source/rtcp_sender.cc", |
| 41 | "source/rtcp_sender.h", |
| 42 | "source/rtcp_utility.cc", |
| 43 | "source/rtcp_utility.h", |
| 44 | "source/rtp_header_extension.cc", |
| 45 | "source/rtp_header_extension.h", |
| 46 | "source/rtp_receiver_impl.cc", |
| 47 | "source/rtp_receiver_impl.h", |
| 48 | "source/rtp_sender.cc", |
| 49 | "source/rtp_sender.h", |
| 50 | "source/rtp_utility.cc", |
| 51 | "source/rtp_utility.h", |
| 52 | "source/ssrc_database.cc", |
| 53 | "source/ssrc_database.h", |
| 54 | "source/tmmbr_help.cc", |
| 55 | "source/tmmbr_help.h", |
| 56 | # Audio Files |
| 57 | "source/dtmf_queue.cc", |
| 58 | "source/dtmf_queue.h", |
| 59 | "source/rtp_receiver_audio.cc", |
| 60 | "source/rtp_receiver_audio.h", |
| 61 | "source/rtp_sender_audio.cc", |
| 62 | "source/rtp_sender_audio.h", |
| 63 | # Video Files |
| 64 | "source/fec_private_tables_random.h", |
| 65 | "source/fec_private_tables_bursty.h", |
| 66 | "source/forward_error_correction.cc", |
| 67 | "source/forward_error_correction.h", |
| 68 | "source/forward_error_correction_internal.cc", |
| 69 | "source/forward_error_correction_internal.h", |
| 70 | "source/producer_fec.cc", |
| 71 | "source/producer_fec.h", |
| 72 | "source/rtp_packet_history.cc", |
| 73 | "source/rtp_packet_history.h", |
| 74 | "source/rtp_payload_registry.cc", |
| 75 | "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_sender_video.cc", |
| 80 | "source/rtp_sender_video.h", |
| 81 | "source/video_codec_information.h", |
stefan@webrtc.org | e1c9caf | 2014-07-31 15:07:59 | [diff] [blame] | 82 | "source/rtp_format.cc", |
| 83 | "source/rtp_format.h", |
| 84 | "source/rtp_format_h264.cc", |
| 85 | "source/rtp_format_h264.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 | [diff] [blame] | 86 | "source/rtp_format_vp8.cc", |
| 87 | "source/rtp_format_vp8.h", |
pbos@webrtc.org | b5e6bfc | 2014-09-12 11:05:55 | [diff] [blame] | 88 | "source/rtp_format_video_generic.cc", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 | [diff] [blame] | 89 | "source/rtp_format_video_generic.h", |
| 90 | "source/vp8_partition_aggregator.cc", |
| 91 | "source/vp8_partition_aggregator.h", |
| 92 | # Mocks |
| 93 | "mocks/mock_rtp_rtcp.h", |
| 94 | "source/mock/mock_rtp_payload_strategy.h", |
| 95 | ] |
| 96 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 | [diff] [blame] | 97 | configs += [ "../..:common_config" ] |
| 98 | public_configs = [ "../..:common_inherited_config" ] |
| 99 | |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 | [diff] [blame] | 100 | 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.org | 1227ab8 | 2014-06-23 19:21:07 | [diff] [blame] | 106 | deps = [ |
| 107 | "../../system_wrappers", |
| 108 | "../pacing", |
| 109 | "../remote_bitrate_estimator", |
| 110 | ] |
| 111 | |
| 112 | if (is_win) { |
| 113 | cflags = [ |
| 114 | # TODO(jschuh): Bug 1348: fix this warning. |
| 115 | "/wd4267", # size_t to int truncations |
kjellander@webrtc.org | 8649fed | 2015-01-08 21:22:01 | [diff] [blame^] | 116 | # TODO(kjellander): Bug 261: fix this warning. |
| 117 | "/wd4373", # virtual function override. |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 | [diff] [blame] | 118 | ] |
| 119 | } |
| 120 | } |