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

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

Issue 3016593002: Revert of Add full stack tests for MediaCodec. (Closed)
Patch Set: Created 3 years, 2 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
413 video_coding_modules_tests_resources = [ 396 video_coding_modules_tests_resources = [
414 "../../resources/foreman_128x96.yuv", 397 "../../resources/foreman_128x96.yuv",
415 "../../resources/foreman_160x120.yuv", 398 "../../resources/foreman_160x120.yuv",
416 "../../resources/foreman_176x144.yuv", 399 "../../resources/foreman_176x144.yuv",
417 "../../resources/foreman_320x240.yuv", 400 "../../resources/foreman_320x240.yuv",
418 ] 401 ]
419 402
420 if (is_ios || is_mac) { 403 if (is_ios || is_mac) {
421 bundle_data("video_coding_modules_tests_resources_bundle_data") { 404 bundle_data("video_coding_modules_tests_resources_bundle_data") {
422 testonly = true 405 testonly = true
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 "../../test:field_trial", 447 "../../test:field_trial",
465 "../../test:test_support", 448 "../../test:test_support",
466 "../../test:video_test_common", 449 "../../test:video_test_common",
467 "../../test:video_test_support", 450 "../../test:video_test_support",
468 "../video_capture", 451 "../video_capture",
469 ] 452 ]
470 453
471 data = video_coding_modules_tests_resources 454 data = video_coding_modules_tests_resources
472 455
473 if (is_android) { 456 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
474 deps += [ 463 deps += [
475 ":codecs_test_android_test_initializer", 464 "../../sdk/android:libjingle_peerconnection_jni",
476 "../../sdk/android:video_jni", 465 "//base",
477 ] 466 ]
478 } 467 }
479 468
480 if (is_ios || is_mac) { 469 if (is_ios || is_mac) {
481 deps += [ 470 deps += [
482 ":codec_test_objc", 471 ":codec_test_objc",
483 ":video_coding_modules_tests_resources_bundle_data", 472 ":video_coding_modules_tests_resources_bundle_data",
473 "../../media:rtc_media_base",
474 "../../sdk:videotoolbox_objc",
484 ] 475 ]
485 } 476 }
486 477
487 if (rtc_use_h264) { 478 if (rtc_use_h264) {
488 defines = [ "WEBRTC_USE_H264" ] 479 defines = [ "WEBRTC_USE_H264" ]
489 } 480 }
490 481
491 if (!build_with_chromium && is_clang) { 482 if (!build_with_chromium && is_clang) {
492 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 483 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
493 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 484 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 } 575 }
585 576
586 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 577 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
587 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 578 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
588 if (!build_with_chromium && is_clang) { 579 if (!build_with_chromium && is_clang) {
589 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 580 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
590 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 581 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
591 } 582 }
592 } 583 }
593 } 584 }
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