| OLD | NEW |
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 rtc_static_library("call") { | 11 rtc_static_library("call") { |
| 12 sources = [ | 12 sources = [ |
| 13 "bitrate_allocator.cc", | 13 "bitrate_allocator.cc", |
| 14 "call.cc", | 14 "call.cc", |
| 15 "flexfec_receive_stream.cc", |
| 16 "flexfec_receive_stream.h", |
| 15 "transport_adapter.cc", | 17 "transport_adapter.cc", |
| 16 "transport_adapter.h", | 18 "transport_adapter.h", |
| 17 ] | 19 ] |
| 18 | 20 |
| 19 if (is_clang) { | 21 if (is_clang) { |
| 20 # Suppress warnings from Chrome's Clang plugins. | 22 # Suppress warnings from Chrome's Clang plugins. |
| 21 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 23 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 22 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 24 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 23 } | 25 } |
| 24 | 26 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 35 ] | 37 ] |
| 36 } | 38 } |
| 37 | 39 |
| 38 if (rtc_include_tests) { | 40 if (rtc_include_tests) { |
| 39 rtc_source_set("call_tests") { | 41 rtc_source_set("call_tests") { |
| 40 testonly = true | 42 testonly = true |
| 41 sources = [ | 43 sources = [ |
| 42 "bitrate_allocator_unittest.cc", | 44 "bitrate_allocator_unittest.cc", |
| 43 "bitrate_estimator_tests.cc", | 45 "bitrate_estimator_tests.cc", |
| 44 "call_unittest.cc", | 46 "call_unittest.cc", |
| 47 "flexfec_receive_stream_unittest.cc", |
| 45 "packet_injection_tests.cc", | 48 "packet_injection_tests.cc", |
| 46 ] | 49 ] |
| 47 deps = [ | 50 deps = [ |
| 48 ":call", | 51 ":call", |
| 49 "//testing/gmock", | 52 "//testing/gmock", |
| 50 "//testing/gtest", | 53 "//testing/gtest", |
| 51 ] | 54 ] |
| 52 if (is_clang) { | 55 if (is_clang) { |
| 53 # Suppress warnings from the Chromium Clang plugin. | 56 # Suppress warnings from the Chromium Clang plugin. |
| 54 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 57 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 58 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 56 } | 59 } |
| 57 } | 60 } |
| 58 } | 61 } |
| OLD | NEW |