OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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 import("audio_coding/audio_coding.gni") | 10 import("audio_coding/audio_coding.gni") |
(...skipping 25 matching lines...) Expand all Loading... |
36 ] | 36 ] |
37 deps = [ | 37 deps = [ |
38 "..:webrtc_common", | 38 "..:webrtc_common", |
39 "../api:video_frame_api", | 39 "../api:video_frame_api", |
40 "../base:rtc_base_approved", | 40 "../base:rtc_base_approved", |
41 ] | 41 ] |
42 } | 42 } |
43 | 43 |
44 if (rtc_include_tests) { | 44 if (rtc_include_tests) { |
45 modules_tests_resources = [ | 45 modules_tests_resources = [ |
46 "//resources/audio_coding/testfile32kHz.pcm", | 46 "../../resources/audio_coding/testfile32kHz.pcm", |
47 "//resources/audio_coding/teststereo32kHz.pcm", | 47 "../../resources/audio_coding/teststereo32kHz.pcm", |
48 "//resources/foreman_cif.yuv", | 48 "../../resources/foreman_cif.yuv", |
49 "//resources/paris_qcif.yuv", | 49 "../../resources/paris_qcif.yuv", |
50 ] | 50 ] |
51 | 51 |
52 if (is_ios) { | 52 if (is_ios) { |
53 bundle_data("modules_tests_bundle_data") { | 53 bundle_data("modules_tests_bundle_data") { |
54 testonly = true | 54 testonly = true |
55 sources = modules_tests_resources | 55 sources = modules_tests_resources |
56 outputs = [ | 56 outputs = [ |
57 "{{bundle_resources_dir}}/{{source_file_part}}", | 57 "{{bundle_resources_dir}}/{{source_file_part}}", |
58 ] | 58 ] |
59 } | 59 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 cflags = [ | 92 cflags = [ |
93 # TODO(phoglund): get rid of 4373 supression when | 93 # TODO(phoglund): get rid of 4373 supression when |
94 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved. | 94 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved. |
95 # legacy warning for ignoring const / volatile in signatures. | 95 # legacy warning for ignoring const / volatile in signatures. |
96 "/wd4373", | 96 "/wd4373", |
97 ] | 97 ] |
98 } | 98 } |
99 } | 99 } |
100 | 100 |
101 modules_unittests_resources = [ | 101 modules_unittests_resources = [ |
102 "//resources/att-downlink.rx", | 102 "../../resources/att-downlink.rx", |
103 "//resources/att-uplink.rx", | 103 "../../resources/att-uplink.rx", |
104 "//resources/audio_coding/neteq_opus.rtp", | 104 "../../resources/audio_coding/neteq_opus.rtp", |
105 "//resources/audio_coding/neteq_universal_new.rtp", | 105 "../../resources/audio_coding/neteq_universal_new.rtp", |
106 "//resources/audio_coding/speech_mono_16kHz.pcm", | 106 "../../resources/audio_coding/speech_mono_16kHz.pcm", |
107 "//resources/audio_coding/speech_mono_32_48kHz.pcm", | 107 "../../resources/audio_coding/speech_mono_32_48kHz.pcm", |
108 "//resources/audio_coding/testfile32kHz.pcm", | 108 "../../resources/audio_coding/testfile32kHz.pcm", |
109 "//resources/audio_coding/teststereo32kHz.pcm", | 109 "../../resources/audio_coding/teststereo32kHz.pcm", |
110 "//resources/audio_device/audio_short16.pcm", | 110 "../../resources/audio_device/audio_short16.pcm", |
111 "//resources/audio_device/audio_short44.pcm", | 111 "../../resources/audio_device/audio_short44.pcm", |
112 "//resources/audio_device/audio_short48.pcm", | 112 "../../resources/audio_device/audio_short48.pcm", |
113 "//resources/audio_processing/agc/agc_audio.pcm", | 113 "../../resources/audio_processing/agc/agc_audio.pcm", |
114 "//resources/audio_processing/agc/agc_no_circular_buffer.dat", | 114 "../../resources/audio_processing/agc/agc_no_circular_buffer.dat", |
115 "//resources/audio_processing/agc/agc_pitch_gain.dat", | 115 "../../resources/audio_processing/agc/agc_pitch_gain.dat", |
116 "//resources/audio_processing/agc/agc_pitch_lag.dat", | 116 "../../resources/audio_processing/agc/agc_pitch_lag.dat", |
117 "//resources/audio_processing/agc/agc_spectral_peak.dat", | 117 "../../resources/audio_processing/agc/agc_spectral_peak.dat", |
118 "//resources/audio_processing/agc/agc_vad.dat", | 118 "../../resources/audio_processing/agc/agc_vad.dat", |
119 "//resources/audio_processing/agc/agc_voicing_prob.dat", | 119 "../../resources/audio_processing/agc/agc_voicing_prob.dat", |
120 "//resources/audio_processing/agc/agc_with_circular_buffer.dat", | 120 "../../resources/audio_processing/agc/agc_with_circular_buffer.dat", |
121 "//resources/audio_processing/output_data_fixed.pb", | 121 "../../resources/audio_processing/output_data_fixed.pb", |
122 "//resources/audio_processing/output_data_float.pb", | 122 "../../resources/audio_processing/output_data_float.pb", |
123 "//resources/audio_processing/output_data_mac.pb", | 123 "../../resources/audio_processing/output_data_mac.pb", |
124 "//resources/audio_processing/transient/ajm-macbook-1-spke16m.pcm", | 124 "../../resources/audio_processing/transient/ajm-macbook-1-spke16m.pcm", |
125 "//resources/audio_processing/transient/audio16kHz.pcm", | 125 "../../resources/audio_processing/transient/audio16kHz.pcm", |
126 "//resources/audio_processing/transient/audio32kHz.pcm", | 126 "../../resources/audio_processing/transient/audio32kHz.pcm", |
127 "//resources/audio_processing/transient/audio48kHz.pcm", | 127 "../../resources/audio_processing/transient/audio48kHz.pcm", |
128 "//resources/audio_processing/transient/audio8kHz.pcm", | 128 "../../resources/audio_processing/transient/audio8kHz.pcm", |
129 "//resources/audio_processing/transient/detect16kHz.dat", | 129 "../../resources/audio_processing/transient/detect16kHz.dat", |
130 "//resources/audio_processing/transient/detect32kHz.dat", | 130 "../../resources/audio_processing/transient/detect32kHz.dat", |
131 "//resources/audio_processing/transient/detect48kHz.dat", | 131 "../../resources/audio_processing/transient/detect48kHz.dat", |
132 "//resources/audio_processing/transient/detect8kHz.dat", | 132 "../../resources/audio_processing/transient/detect8kHz.dat", |
133 "//resources/audio_processing/transient/double-utils.dat", | 133 "../../resources/audio_processing/transient/double-utils.dat", |
134 "//resources/audio_processing/transient/float-utils.dat", | 134 "../../resources/audio_processing/transient/float-utils.dat", |
135 "//resources/audio_processing/transient/suppressed16kHz.pcm", | 135 "../../resources/audio_processing/transient/suppressed16kHz.pcm", |
136 "//resources/audio_processing/transient/suppressed32kHz.pcm", | 136 "../../resources/audio_processing/transient/suppressed32kHz.pcm", |
137 "//resources/audio_processing/transient/suppressed8kHz.pcm", | 137 "../../resources/audio_processing/transient/suppressed8kHz.pcm", |
138 "//resources/audio_processing/transient/wpd0.dat", | 138 "../../resources/audio_processing/transient/wpd0.dat", |
139 "//resources/audio_processing/transient/wpd1.dat", | 139 "../../resources/audio_processing/transient/wpd1.dat", |
140 "//resources/audio_processing/transient/wpd2.dat", | 140 "../../resources/audio_processing/transient/wpd2.dat", |
141 "//resources/audio_processing/transient/wpd3.dat", | 141 "../../resources/audio_processing/transient/wpd3.dat", |
142 "//resources/audio_processing/transient/wpd4.dat", | 142 "../../resources/audio_processing/transient/wpd4.dat", |
143 "//resources/audio_processing/transient/wpd5.dat", | 143 "../../resources/audio_processing/transient/wpd5.dat", |
144 "//resources/audio_processing/transient/wpd6.dat", | 144 "../../resources/audio_processing/transient/wpd6.dat", |
145 "//resources/audio_processing/transient/wpd7.dat", | 145 "../../resources/audio_processing/transient/wpd7.dat", |
146 "//resources/deflicker_before_cif_short.yuv", | 146 "../../resources/deflicker_before_cif_short.yuv", |
147 "//resources/far16_stereo.pcm", | 147 "../../resources/far16_stereo.pcm", |
148 "//resources/far32_stereo.pcm", | 148 "../../resources/far32_stereo.pcm", |
149 "//resources/far44_stereo.pcm", | 149 "../../resources/far44_stereo.pcm", |
150 "//resources/far48_stereo.pcm", | 150 "../../resources/far48_stereo.pcm", |
151 "//resources/far8_stereo.pcm", | 151 "../../resources/far8_stereo.pcm", |
152 "//resources/foremanColorEnhanced_cif_short.yuv", | 152 "../../resources/foremanColorEnhanced_cif_short.yuv", |
153 "//resources/foreman_cif.yuv", | 153 "../../resources/foreman_cif.yuv", |
154 "//resources/foreman_cif_short.yuv", | 154 "../../resources/foreman_cif_short.yuv", |
155 "//resources/near16_stereo.pcm", | 155 "../../resources/near16_stereo.pcm", |
156 "//resources/near32_stereo.pcm", | 156 "../../resources/near32_stereo.pcm", |
157 "//resources/near44_stereo.pcm", | 157 "../../resources/near44_stereo.pcm", |
158 "//resources/near48_stereo.pcm", | 158 "../../resources/near48_stereo.pcm", |
159 "//resources/near8_stereo.pcm", | 159 "../../resources/near8_stereo.pcm", |
160 "//resources/ref03.aecdump", | 160 "../../resources/ref03.aecdump", |
161 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke1_0_AST.bin", | 161 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke1_0_AST.bin", |
162 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke1_0_TOF.bin", | 162 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke1_0_TOF.bin", |
163 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke1_1_AST.bin", | 163 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke1_1_AST.bin", |
164 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke1_1_TOF.bin", | 164 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke1_1_TOF.bin", |
165 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke2_0_AST.bin", | 165 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke2_0_AST.bin", |
166 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke2_0_TOF.bin", | 166 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke2_0_TOF.bin", |
167 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke2_1_AST.bin", | 167 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke2_1_AST.bin", |
168 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingCho
ke2_1_TOF.bin", | 168 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gChoke2_1_TOF.bin", |
169 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDel
ay1_0_AST.bin", | 169 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gDelay1_0_AST.bin", |
170 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDel
ay1_0_TOF.bin", | 170 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gDelay1_0_TOF.bin", |
171 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLos
s1_0_AST.bin", | 171 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gLoss1_0_AST.bin", |
172 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLos
s1_0_TOF.bin", | 172 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Increasin
gLoss1_0_TOF.bin", |
173 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_AST.
bin", | 173 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_
AST.bin", |
174 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_TOF.
bin", | 174 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_
TOF.bin", |
175 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0
_AST.bin", | 175 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyCho
ke_0_AST.bin", |
176 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0
_TOF.bin", | 176 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyCho
ke_0_TOF.bin", |
177 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1
_AST.bin", | 177 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyCho
ke_1_AST.bin", |
178 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1
_TOF.bin", | 178 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyCho
ke_1_TOF.bin", |
179 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0
_AST.bin", | 179 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDel
ay_0_AST.bin", |
180 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0
_TOF.bin", | 180 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDel
ay_0_TOF.bin", |
181 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_
AST.bin", | 181 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLos
s_0_AST.bin", |
182 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_
TOF.bin", | 182 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLos
s_0_TOF.bin", |
183 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpee
d_0_AST.bin", | 183 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Unlimited
Speed_0_AST.bin", |
184 "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpee
d_0_TOF.bin", | 184 "../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Unlimited
Speed_0_TOF.bin", |
185 "//resources/short_mixed_mono_48.dat", | 185 "../../resources/short_mixed_mono_48.dat", |
186 "//resources/short_mixed_mono_48_arm.dat", | 186 "../../resources/short_mixed_mono_48_arm.dat", |
187 "//resources/short_mixed_mono_48.pcm", | 187 "../../resources/short_mixed_mono_48.pcm", |
188 "//resources/short_mixed_stereo_48.dat", | 188 "../../resources/short_mixed_stereo_48.dat", |
189 "//resources/short_mixed_stereo_48.pcm", | 189 "../../resources/short_mixed_stereo_48.pcm", |
190 "//resources/sprint-downlink.rx", | 190 "../../resources/sprint-downlink.rx", |
191 "//resources/sprint-uplink.rx", | 191 "../../resources/sprint-uplink.rx", |
192 "//resources/synthetic-trace.rx", | 192 "../../resources/synthetic-trace.rx", |
193 "//resources/tmobile-downlink.rx", | 193 "../../resources/tmobile-downlink.rx", |
194 "//resources/tmobile-uplink.rx", | 194 "../../resources/tmobile-uplink.rx", |
195 "//resources/verizon3g-downlink.rx", | 195 "../../resources/verizon3g-downlink.rx", |
196 "//resources/verizon3g-uplink.rx", | 196 "../../resources/verizon3g-uplink.rx", |
197 "//resources/verizon4g-downlink.rx", | 197 "../../resources/verizon4g-downlink.rx", |
198 "//resources/verizon4g-uplink.rx", | 198 "../../resources/verizon4g-uplink.rx", |
199 "//resources/voice_engine/audio_tiny48.wav", | 199 "../../resources/voice_engine/audio_tiny48.wav", |
200 ] | 200 ] |
201 if (is_ios) { | 201 if (is_ios) { |
202 bundle_data("modules_unittests_bundle_data") { | 202 bundle_data("modules_unittests_bundle_data") { |
203 testonly = true | 203 testonly = true |
204 sources = modules_unittests_resources | 204 sources = modules_unittests_resources |
205 outputs = [ | 205 outputs = [ |
206 "{{bundle_resources_dir}}/{{source_file_part}}", | 206 "{{bundle_resources_dir}}/{{source_file_part}}", |
207 ] | 207 ] |
208 } | 208 } |
209 } | 209 } |
(...skipping 28 matching lines...) Expand all Loading... |
238 "utility:utility_unittests", | 238 "utility:utility_unittests", |
239 "video_capture", | 239 "video_capture", |
240 "video_coding:video_coding_unittests", | 240 "video_coding:video_coding_unittests", |
241 "video_processing:video_processing_unittests", | 241 "video_processing:video_processing_unittests", |
242 ] | 242 ] |
243 | 243 |
244 data = modules_unittests_resources | 244 data = modules_unittests_resources |
245 | 245 |
246 if (is_android) { | 246 if (is_android) { |
247 deps += [ | 247 deps += [ |
| 248 "../sdk/android:libjingle_peerconnection_java", |
248 "//testing/android/native_test:native_test_support", | 249 "//testing/android/native_test:native_test_support", |
249 "//webrtc/sdk/android:libjingle_peerconnection_java", | |
250 ] | 250 ] |
251 shard_timeout = 900 | 251 shard_timeout = 900 |
252 } | 252 } |
253 if (is_ios) { | 253 if (is_ios) { |
254 info_plist = "//webrtc/test/ios/Info.plist" | 254 info_plist = "../test/ios/Info.plist" |
255 deps += [ ":modules_unittests_bundle_data" ] | 255 deps += [ ":modules_unittests_bundle_data" ] |
256 configs += [ "..:common_objc" ] | 256 configs += [ "..:common_objc" ] |
257 ldflags = [ "-ObjC" ] | 257 ldflags = [ "-ObjC" ] |
258 } | 258 } |
259 } | 259 } |
260 } | 260 } |
OLD | NEW |