| 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) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 30 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 31 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 31 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 deps = [ | 34 deps = [ |
| 35 "..:webrtc_common", | 35 "..:webrtc_common", |
| 36 "../api:audio_mixer_api", | 36 "../api:audio_mixer_api", |
| 37 "../api:call_api", | 37 "../api:call_api", |
| 38 "../api/audio_codecs:audio_codecs_api", | 38 "../api/audio_codecs:audio_codecs_api", |
| 39 "../api/audio_codecs:builtin_audio_encoder_factory", | 39 "../api/audio_codecs:builtin_audio_encoder_factory", |
| 40 "../base:rtc_base_approved", | |
| 41 "../base:rtc_task_queue", | |
| 42 "../call:call_interfaces", | 40 "../call:call_interfaces", |
| 43 "../call:rtp_interfaces", | 41 "../call:rtp_interfaces", |
| 44 "../common_audio", | 42 "../common_audio", |
| 45 "../modules/audio_coding:cng", | 43 "../modules/audio_coding:cng", |
| 46 "../modules/audio_device", | 44 "../modules/audio_device", |
| 47 "../modules/audio_processing", | 45 "../modules/audio_processing", |
| 48 "../modules/bitrate_controller:bitrate_controller", | 46 "../modules/bitrate_controller:bitrate_controller", |
| 49 "../modules/congestion_controller:congestion_controller", | 47 "../modules/congestion_controller:congestion_controller", |
| 50 "../modules/pacing:pacing", | 48 "../modules/pacing:pacing", |
| 51 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", | 49 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", |
| 52 "../modules/rtp_rtcp:rtp_rtcp", | 50 "../modules/rtp_rtcp:rtp_rtcp", |
| 51 "../rtc_base:rtc_base_approved", |
| 52 "../rtc_base:rtc_task_queue", |
| 53 "../system_wrappers", | 53 "../system_wrappers", |
| 54 "../voice_engine", | 54 "../voice_engine", |
| 55 ] | 55 ] |
| 56 } | 56 } |
| 57 if (rtc_include_tests) { | 57 if (rtc_include_tests) { |
| 58 rtc_source_set("audio_tests") { | 58 rtc_source_set("audio_tests") { |
| 59 testonly = true | 59 testonly = true |
| 60 | 60 |
| 61 # Skip restricting visibility on mobile platforms since the tests on those | 61 # Skip restricting visibility on mobile platforms since the tests on those |
| 62 # gets additional generated targets which would require many lines here to | 62 # gets additional generated targets which would require many lines here to |
| 63 # cover (which would be confusing to read and hard to maintain). | 63 # cover (which would be confusing to read and hard to maintain). |
| 64 if (!is_android && !is_ios) { | 64 if (!is_android && !is_ios) { |
| 65 visibility = [ "//webrtc:video_engine_tests" ] | 65 visibility = [ "//webrtc:video_engine_tests" ] |
| 66 } | 66 } |
| 67 | 67 |
| 68 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 68 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 69 # This needs remote_bitrate_estimator to be moved to webrtc/api first. | 69 # This needs remote_bitrate_estimator to be moved to webrtc/api first. |
| 70 check_includes = false | 70 check_includes = false |
| 71 | 71 |
| 72 sources = [ | 72 sources = [ |
| 73 "audio_receive_stream_unittest.cc", | 73 "audio_receive_stream_unittest.cc", |
| 74 "audio_send_stream_unittest.cc", | 74 "audio_send_stream_unittest.cc", |
| 75 "audio_state_unittest.cc", | 75 "audio_state_unittest.cc", |
| 76 ] | 76 ] |
| 77 deps = [ | 77 deps = [ |
| 78 ":audio", | 78 ":audio", |
| 79 "../api:mock_audio_mixer", | 79 "../api:mock_audio_mixer", |
| 80 "../base:rtc_base_approved", | |
| 81 "../base:rtc_task_queue", | |
| 82 "../call:rtp_receiver", | 80 "../call:rtp_receiver", |
| 83 "../modules/audio_device:mock_audio_device", | 81 "../modules/audio_device:mock_audio_device", |
| 84 "../modules/audio_mixer:audio_mixer_impl", | 82 "../modules/audio_mixer:audio_mixer_impl", |
| 85 "../modules/congestion_controller:congestion_controller", | 83 "../modules/congestion_controller:congestion_controller", |
| 86 "../modules/congestion_controller:mock_congestion_controller", | 84 "../modules/congestion_controller:mock_congestion_controller", |
| 87 "../modules/pacing:pacing", | 85 "../modules/pacing:pacing", |
| 86 "../rtc_base:rtc_base_approved", |
| 87 "../rtc_base:rtc_task_queue", |
| 88 "../test:test_common", | 88 "../test:test_common", |
| 89 "../test:test_support", | 89 "../test:test_support", |
| 90 "utility:utility_tests", | 90 "utility:utility_tests", |
| 91 "//testing/gmock", | 91 "//testing/gmock", |
| 92 "//testing/gtest", | 92 "//testing/gtest", |
| 93 ] | 93 ] |
| 94 | 94 |
| 95 if (!build_with_chromium && is_clang) { | 95 if (!build_with_chromium && is_clang) { |
| 96 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 96 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 97 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 97 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| (...skipping 26 matching lines...) Expand all Loading... |
| 124 "//resources/voice_engine/audio_tiny48.wav", | 124 "//resources/voice_engine/audio_tiny48.wav", |
| 125 ] | 125 ] |
| 126 | 126 |
| 127 if (!build_with_chromium && is_clang) { | 127 if (!build_with_chromium && is_clang) { |
| 128 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) | 128 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) |
| 129 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 129 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 130 } | 130 } |
| 131 } | 131 } |
| 132 } | 132 } |
| 133 } | 133 } |
| OLD | NEW |