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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 = [ "..: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", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "../test:fake_audio_device", | 113 "../test:fake_audio_device", |
114 "../test:test_common", | 114 "../test:test_common", |
115 "../test:test_main", | 115 "../test:test_main", |
116 "//third_party/gflags", | 116 "//third_party/gflags", |
117 ] | 117 ] |
118 if (is_android) { | 118 if (is_android) { |
119 deps += [ "//testing/android/native_test:native_test_native_code" ] | 119 deps += [ "//testing/android/native_test:native_test_native_code" ] |
120 } | 120 } |
121 | 121 |
122 data = [ | 122 data = [ |
123 "//resources/voice_engine/audio_tiny16.wav", | 123 "../../resources/voice_engine/audio_tiny16.wav", |
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 |