OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 sources = [ | 185 sources = [ |
186 "testsupport/mac/run_threaded_main_mac.h", | 186 "testsupport/mac/run_threaded_main_mac.h", |
187 "testsupport/mac/run_threaded_main_mac.mm", | 187 "testsupport/mac/run_threaded_main_mac.mm", |
188 ] | 188 ] |
189 | 189 |
190 deps = [ | 190 deps = [ |
191 ":test_support", | 191 ":test_support", |
192 ] | 192 ] |
193 } | 193 } |
194 | 194 |
195 if (is_android || is_ios) { | 195 test_support_unittests_resources = [ |
196 test_support_unittests_resources = [ | 196 "//resources/foreman_cif_short.yuv", |
197 "//resources/foreman_cif_short.yuv", | 197 "//resources/video_coding/frame-ethernet-ii.pcap", |
198 "//resources/video_coding/frame-ethernet-ii.pcap", | 198 "//resources/video_coding/frame-loopback.pcap", |
199 "//resources/video_coding/frame-loopback.pcap", | 199 "//resources/video_coding/pltype103.rtp", |
200 "//resources/video_coding/pltype103.rtp", | 200 "//resources/video_coding/pltype103_header_only.rtp", |
201 "//resources/video_coding/pltype103_header_only.rtp", | 201 "//resources/video_coding/ssrcs-2.pcap", |
202 "//resources/video_coding/ssrcs-2.pcap", | 202 "//resources/video_coding/ssrcs-3.pcap", |
203 "//resources/video_coding/ssrcs-3.pcap", | 203 ] |
204 ] | |
205 } | |
206 | 204 |
207 if (is_ios) { | 205 if (is_ios) { |
208 bundle_data("test_support_unittests_bundle_data") { | 206 bundle_data("test_support_unittests_bundle_data") { |
209 testonly = true | 207 testonly = true |
210 sources = test_support_unittests_resources | 208 sources = test_support_unittests_resources |
211 outputs = [ | 209 outputs = [ |
212 "{{bundle_resources_dir}}/{{source_file_part}}", | 210 "{{bundle_resources_dir}}/{{source_file_part}}", |
213 ] | 211 ] |
214 } | 212 } |
215 } | 213 } |
(...skipping 21 matching lines...) Expand all Loading... |
237 if (is_win) { | 235 if (is_win) { |
238 cflags = [ "/wd4373" ] # virtual override w/different const/volatile signat
ure. | 236 cflags = [ "/wd4373" ] # virtual override w/different const/volatile signat
ure. |
239 } | 237 } |
240 | 238 |
241 if (is_clang) { | 239 if (is_clang) { |
242 # Suppress warnings from the Chromium Clang plugin. | 240 # Suppress warnings from the Chromium Clang plugin. |
243 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 241 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
244 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 242 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
245 } | 243 } |
246 | 244 |
| 245 data = test_support_unittests_resources |
247 if (is_android) { | 246 if (is_android) { |
248 deps += [ "//testing/android/native_test:native_test_support" ] | 247 deps += [ "//testing/android/native_test:native_test_support" ] |
249 data = test_support_unittests_resources | |
250 shard_timeout = 900 | 248 shard_timeout = 900 |
251 } | 249 } |
252 | 250 |
253 if (is_ios) { | 251 if (is_ios) { |
254 deps += [ ":test_support_unittests_bundle_data" ] | 252 deps += [ ":test_support_unittests_bundle_data" ] |
255 } | 253 } |
256 | 254 |
257 deps += [ | 255 deps += [ |
258 ":test_common", | 256 ":test_common", |
259 ":test_support_main", | 257 ":test_support_main", |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 397 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
400 } | 398 } |
401 | 399 |
402 deps = [ | 400 deps = [ |
403 ":test_support", | 401 ":test_support", |
404 ":video_test_common", | 402 ":video_test_common", |
405 "../modules/media_file", | 403 "../modules/media_file", |
406 "//testing/gtest", | 404 "//testing/gtest", |
407 ] | 405 ] |
408 } | 406 } |
OLD | NEW |