Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: modules/video_coding/BUILD.gn

Issue 3005253002: Add full stack tests for MediaCodec. (Closed)
Patch Set: Rebase. Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « call/call_perf_tests.cc ('k') | test/call_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 "../../rtc_base:rtc_base_approved", 386 "../../rtc_base:rtc_base_approved",
387 "../../rtc_base:rtc_task_queue", 387 "../../rtc_base:rtc_task_queue",
388 "../../rtc_base:sequenced_task_checker", 388 "../../rtc_base:sequenced_task_checker",
389 "../../system_wrappers:system_wrappers", 389 "../../system_wrappers:system_wrappers",
390 "../../test:test_support", 390 "../../test:test_support",
391 "../../test:video_test_common", 391 "../../test:video_test_common",
392 "../../test:video_test_support", 392 "../../test:video_test_support",
393 ] 393 ]
394 } 394 }
395 395
396 if (is_android) {
397 rtc_source_set("codecs_test_android_test_initializer") {
398 testonly = true
399
400 sources = [
401 "codecs/test/android_test_initializer.cc",
402 "codecs/test/android_test_initializer.h",
403 ]
404
405 deps = [
406 "../../rtc_base:rtc_base_approved",
407 "../../sdk/android:libjingle_peerconnection_jni",
408 "//base",
409 ]
410 }
411 }
412
396 video_coding_modules_tests_resources = [ 413 video_coding_modules_tests_resources = [
397 "../../resources/foreman_128x96.yuv", 414 "../../resources/foreman_128x96.yuv",
398 "../../resources/foreman_160x120.yuv", 415 "../../resources/foreman_160x120.yuv",
399 "../../resources/foreman_176x144.yuv", 416 "../../resources/foreman_176x144.yuv",
400 "../../resources/foreman_320x240.yuv", 417 "../../resources/foreman_320x240.yuv",
401 ] 418 ]
402 419
403 if (is_ios || is_mac) { 420 if (is_ios || is_mac) {
404 bundle_data("video_coding_modules_tests_resources_bundle_data") { 421 bundle_data("video_coding_modules_tests_resources_bundle_data") {
405 testonly = true 422 testonly = true
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 "../../test:field_trial", 464 "../../test:field_trial",
448 "../../test:test_support", 465 "../../test:test_support",
449 "../../test:video_test_common", 466 "../../test:video_test_common",
450 "../../test:video_test_support", 467 "../../test:video_test_support",
451 "../video_capture", 468 "../video_capture",
452 ] 469 ]
453 470
454 data = video_coding_modules_tests_resources 471 data = video_coding_modules_tests_resources
455 472
456 if (is_android) { 473 if (is_android) {
457 sources += [
458 "codecs/test/android_test_initializer.cc",
459 "codecs/test/android_test_initializer.h",
460 "codecs/test/videoprocessor_integrationtest_mediacodec.cc",
461 ]
462
463 deps += [ 474 deps += [
464 "../../sdk/android:libjingle_peerconnection_jni", 475 ":codecs_test_android_test_initializer",
465 "//base", 476 "../../sdk/android:video_jni",
466 ] 477 ]
467 } 478 }
468 479
469 if (is_ios || is_mac) { 480 if (is_ios || is_mac) {
470 deps += [ 481 deps += [
471 ":codec_test_objc", 482 ":codec_test_objc",
472 ":video_coding_modules_tests_resources_bundle_data", 483 ":video_coding_modules_tests_resources_bundle_data",
473 "../../media:rtc_media_base",
474 "../../sdk:videotoolbox_objc",
475 ] 484 ]
476 } 485 }
477 486
478 if (rtc_use_h264) { 487 if (rtc_use_h264) {
479 defines = [ "WEBRTC_USE_H264" ] 488 defines = [ "WEBRTC_USE_H264" ]
480 } 489 }
481 490
482 if (!build_with_chromium && is_clang) { 491 if (!build_with_chromium && is_clang) {
483 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 492 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
484 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 493 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 } 584 }
576 585
577 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 586 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
578 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 587 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
579 if (!build_with_chromium && is_clang) { 588 if (!build_with_chromium && is_clang) {
580 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 589 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
581 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 590 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
582 } 591 }
583 } 592 }
584 } 593 }
OLDNEW
« no previous file with comments | « call/call_perf_tests.cc ('k') | test/call_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698