Home | History | Annotate | Download | only in rtp_rtcp
      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",
     82     "source/rtp_format.cc",
     83     "source/rtp_format.h",
     84     "source/rtp_format_h264.cc",
     85     "source/rtp_format_h264.h",
     86     "source/rtp_format_vp8.cc",
     87     "source/rtp_format_vp8.h",
     88     "source/rtp_format_video_generic.cc",
     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 
     97   if (is_clang) {
     98     # Suppress warnings from Chrome's Clang plugins.
     99     # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
    100     configs -= [ "//build/config/clang:find_bad_constructs" ]
    101   }
    102 
    103   deps = [
    104     "../../system_wrappers",
    105     "../pacing",
    106     "../remote_bitrate_estimator",
    107   ]
    108 
    109   if (is_win) {
    110     cflags = [
    111       # TODO(jschuh): Bug 1348: fix this warning.
    112       "/wd4267",  # size_t to int truncations
    113     ]
    114   }
    115 }
    116