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("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 if (is_clang) { | 333 if (is_clang) { |
334 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 334 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
335 configs -= [ | 335 configs -= [ |
336 "//build/config/clang:extra_warnings", | 336 "//build/config/clang:extra_warnings", |
337 "//build/config/clang:find_bad_constructs", | 337 "//build/config/clang:find_bad_constructs", |
338 ] | 338 ] |
339 } | 339 } |
340 | 340 |
341 if (is_android) { | 341 if (is_android) { |
342 deps += [ "//testing/android/native_test:native_test_support" ] | 342 deps += [ "//testing/android/native_test:native_test_support" ] |
343 | 343 shard_timeout = 900 |
344 # This needs to be kept in sync with the rtc_media_unittests.isolate file. | 344 } |
345 # TODO(kjellander); Move this to android_assets targets instead. | 345 if (is_android || is_ios) { |
346 data = [ | 346 data = [ |
347 "//resources/media/captured-320x240-2s-48.frames", | 347 "//resources/media/captured-320x240-2s-48.frames", |
348 "//resources/media/faces.1280x720_P420.yuv", | 348 "//resources/media/faces.1280x720_P420.yuv", |
349 "//resources/media/faces_I420.jpg", | 349 "//resources/media/faces_I420.jpg", |
350 "//resources/media/faces_I422.jpg", | 350 "//resources/media/faces_I422.jpg", |
351 "//resources/media/faces_I444.jpg", | 351 "//resources/media/faces_I444.jpg", |
352 "//resources/media/faces_I411.jpg", | 352 "//resources/media/faces_I411.jpg", |
353 "//resources/media/faces_I400.jpg", | 353 "//resources/media/faces_I400.jpg", |
354 ] | 354 ] |
355 } | 355 } |
356 | 356 |
357 deps += [ | 357 deps += [ |
358 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. | 358 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. |
359 ":rtc_media", | 359 ":rtc_media", |
360 ":rtc_unittest_main", | 360 ":rtc_unittest_main", |
361 "../audio", | 361 "../audio", |
362 "../base:rtc_base_tests_utils", | 362 "../base:rtc_base_tests_utils", |
363 "../system_wrappers:metrics_default", | 363 "../system_wrappers:metrics_default", |
364 ] | 364 ] |
365 } | 365 } |
366 } | 366 } |
OLD | NEW |