| 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("../webrtc.gni") | 9 import("../webrtc.gni") |
| 10 if (is_android) { | 10 if (is_android) { |
| 11 import("//build/config/android/config.gni") | 11 import("//build/config/android/config.gni") |
| 12 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
| 13 } | 13 } |
| 14 | 14 |
| 15 rtc_static_library("audio") { | 15 rtc_static_library("audio") { |
| 16 sources = [ | 16 sources = [ |
| 17 "audio_receive_stream.cc", | 17 "audio_receive_stream.cc", |
| 18 "audio_receive_stream.h", | 18 "audio_receive_stream.h", |
| 19 "audio_send_stream.cc", | 19 "audio_send_stream.cc", |
| 20 "audio_send_stream.h", | 20 "audio_send_stream.h", |
| 21 "audio_state.cc", | 21 "audio_state.cc", |
| 22 "audio_state.h", | 22 "audio_state.h", |
| 23 "audio_transport_proxy.cc", | 23 "audio_transport_proxy.cc", |
| 24 "audio_transport_proxy.h", | 24 "audio_transport_proxy.h", |
| 25 "conversion.h", | 25 "conversion.h", |
| 26 "scoped_voe_interface.h", | 26 "scoped_voe_interface.h", |
| 27 "time_interval.cc", |
| 28 "time_interval.h", |
| 27 ] | 29 ] |
| 28 | 30 |
| 29 if (!build_with_chromium && is_clang) { | 31 if (!build_with_chromium && is_clang) { |
| 30 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 32 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 31 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 33 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 32 } | 34 } |
| 33 | 35 |
| 34 deps = [ | 36 deps = [ |
| 35 "..:webrtc_common", | 37 "..:webrtc_common", |
| 36 "../api:audio_mixer_api", | 38 "../api:audio_mixer_api", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 66 } | 68 } |
| 67 | 69 |
| 68 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 70 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 69 # This needs remote_bitrate_estimator to be moved to webrtc/api first. | 71 # This needs remote_bitrate_estimator to be moved to webrtc/api first. |
| 70 check_includes = false | 72 check_includes = false |
| 71 | 73 |
| 72 sources = [ | 74 sources = [ |
| 73 "audio_receive_stream_unittest.cc", | 75 "audio_receive_stream_unittest.cc", |
| 74 "audio_send_stream_unittest.cc", | 76 "audio_send_stream_unittest.cc", |
| 75 "audio_state_unittest.cc", | 77 "audio_state_unittest.cc", |
| 78 "time_interval_unittest.cc", |
| 76 ] | 79 ] |
| 77 deps = [ | 80 deps = [ |
| 78 ":audio", | 81 ":audio", |
| 79 "../api:mock_audio_mixer", | 82 "../api:mock_audio_mixer", |
| 80 "../base:rtc_base_approved", | 83 "../base:rtc_base_approved", |
| 81 "../base:rtc_task_queue", | 84 "../base:rtc_task_queue", |
| 82 "../call:rtp_receiver", | 85 "../call:rtp_receiver", |
| 83 "../modules/audio_device:mock_audio_device", | 86 "../modules/audio_device:mock_audio_device", |
| 84 "../modules/audio_mixer:audio_mixer_impl", | 87 "../modules/audio_mixer:audio_mixer_impl", |
| 85 "../modules/congestion_controller:congestion_controller", | 88 "../modules/congestion_controller:congestion_controller", |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 "../../resources/voice_engine/audio_tiny48.wav", | 127 "../../resources/voice_engine/audio_tiny48.wav", |
| 125 ] | 128 ] |
| 126 | 129 |
| 127 if (!build_with_chromium && is_clang) { | 130 if (!build_with_chromium && is_clang) { |
| 128 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) | 131 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) |
| 129 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 132 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 130 } | 133 } |
| 131 } | 134 } |
| 132 } | 135 } |
| 133 } | 136 } |
| OLD | NEW |