| OLD | NEW |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
| 10 | 10 |
| 11 source_set("rtp_rtcp") { | 11 rtc_source_set("rtp_rtcp") { |
| 12 sources = [ | 12 sources = [ |
| 13 "include/fec_receiver.h", | 13 "include/fec_receiver.h", |
| 14 "include/receive_statistics.h", | 14 "include/receive_statistics.h", |
| 15 "include/remote_ntp_time_estimator.h", | 15 "include/remote_ntp_time_estimator.h", |
| 16 "include/rtp_header_parser.h", | 16 "include/rtp_header_parser.h", |
| 17 "include/rtp_payload_registry.h", | 17 "include/rtp_payload_registry.h", |
| 18 "include/rtp_receiver.h", | 18 "include/rtp_receiver.h", |
| 19 "include/rtp_rtcp.h", | 19 "include/rtp_rtcp.h", |
| 20 "include/rtp_rtcp_defines.h", | 20 "include/rtp_rtcp_defines.h", |
| 21 "mocks/mock_rtp_rtcp.h", | 21 "mocks/mock_rtp_rtcp.h", |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 "source/vp8_partition_aggregator.cc", | 153 "source/vp8_partition_aggregator.cc", |
| 154 "source/vp8_partition_aggregator.h", | 154 "source/vp8_partition_aggregator.h", |
| 155 ] | 155 ] |
| 156 | 156 |
| 157 configs += [ "../..:common_config" ] | 157 configs += [ "../..:common_config" ] |
| 158 public_configs = [ "../..:common_inherited_config" ] | 158 public_configs = [ "../..:common_inherited_config" ] |
| 159 | 159 |
| 160 if (is_clang) { | 160 if (is_clang) { |
| 161 # Suppress warnings from Chrome's Clang plugins. | 161 # Suppress warnings from Chrome's Clang plugins. |
| 162 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 162 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 163 configs -= [ "//build/config/clang:find_bad_constructs" ] | 163 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 164 } | 164 } |
| 165 | 165 |
| 166 deps = [ | 166 deps = [ |
| 167 "../..:webrtc_common", | 167 "../..:webrtc_common", |
| 168 "../../common_video", | 168 "../../common_video", |
| 169 "../../system_wrappers", | 169 "../../system_wrappers", |
| 170 "../remote_bitrate_estimator", | 170 "../remote_bitrate_estimator", |
| 171 ] | 171 ] |
| 172 | 172 |
| 173 # TODO(jschuh): Bug 1348: fix this warning. | 173 # TODO(jschuh): Bug 1348: fix this warning. |
| 174 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 174 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 175 | 175 |
| 176 if (is_win) { | 176 if (is_win) { |
| 177 cflags = [ | 177 cflags = [ |
| 178 # TODO(kjellander): Bug 261: fix this warning. | 178 # TODO(kjellander): Bug 261: fix this warning. |
| 179 "/wd4373", # virtual function override. | 179 "/wd4373", # virtual function override. |
| 180 ] | 180 ] |
| 181 } | 181 } |
| 182 } | 182 } |
| 183 | 183 |
| 184 if (rtc_include_tests) { | 184 if (rtc_include_tests) { |
| 185 executable("test_packet_masks_metrics") { | 185 rtc_executable("test_packet_masks_metrics") { |
| 186 testonly = true | 186 testonly = true |
| 187 | 187 |
| 188 sources = [ | 188 sources = [ |
| 189 "test/testFec/average_residual_loss_xor_codes.h", | 189 "test/testFec/average_residual_loss_xor_codes.h", |
| 190 "test/testFec/test_packet_masks_metrics.cc", | 190 "test/testFec/test_packet_masks_metrics.cc", |
| 191 ] | 191 ] |
| 192 | 192 |
| 193 deps = [ | 193 deps = [ |
| 194 ":rtp_rtcp", | 194 ":rtp_rtcp", |
| 195 "//build/config/sanitizers:deps", | 195 "//build/config/sanitizers:deps", |
| 196 "//testing/gtest", | 196 "//testing/gtest", |
| 197 "//webrtc/test:test_support_main", | 197 "//webrtc/test:test_support_main", |
| 198 ] | 198 ] |
| 199 } # test_packet_masks_metrics | 199 } # test_packet_masks_metrics |
| 200 } | 200 } |
| OLD | NEW |