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

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

Issue 2978623002: Implement H264 codec in Objective-C classes. (Closed)
Patch Set: Fix test after rebase. Created 3 years, 5 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 | « no previous file | webrtc/modules/video_coding/DEPS » ('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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 "../../test:test_support", 360 "../../test:test_support",
361 "../../test:video_test_common", 361 "../../test:video_test_common",
362 "../../test:video_test_support", 362 "../../test:video_test_support",
363 ] 363 ]
364 } 364 }
365 365
366 rtc_source_set("video_coding_videoprocessor_integration_test") { 366 rtc_source_set("video_coding_videoprocessor_integration_test") {
367 testonly = true 367 testonly = true
368 368
369 sources = [ 369 sources = [
370 "codecs/test/objc_codec_h264_test.h",
370 "codecs/test/videoprocessor_integrationtest.h", 371 "codecs/test/videoprocessor_integrationtest.h",
371 ] 372 ]
372 373
373 deps = [ 374 deps = [
374 ":video_codecs_test_framework", 375 ":video_codecs_test_framework",
375 ":video_coding", 376 ":video_coding",
376 ":video_coding_utility", 377 ":video_coding_utility",
377 ":webrtc_h264", 378 ":webrtc_h264",
378 ":webrtc_vp8", 379 ":webrtc_vp8",
379 ":webrtc_vp9", 380 ":webrtc_vp9",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 ":webrtc_vp8", 429 ":webrtc_vp8",
429 ":webrtc_vp9", 430 ":webrtc_vp9",
430 "../../api:video_frame_api", 431 "../../api:video_frame_api",
431 "../../base:rtc_base_approved", 432 "../../base:rtc_base_approved",
432 "../../common_video:common_video", 433 "../../common_video:common_video",
433 "../../test:test_support", 434 "../../test:test_support",
434 "../../test:video_test_common", 435 "../../test:video_test_common",
435 "../video_capture", 436 "../video_capture",
436 ] 437 ]
437 438
439 if (is_ios || is_mac) {
440 sources += [
441 "codecs/test/objc_codec_h264_test.h",
442 "codecs/test/objc_codec_h264_test.mm",
443 ]
444 deps += [
445 "../../api:video_frame_api",
446 "../../api/video_codecs:video_codecs_api",
447 "../../media:rtc_audio_video",
448 "../../modules:module_api",
449 "../../sdk:objc_common",
450 "../../sdk:objc_peerconnection",
451 "../../sdk:objc_peerconnectionfactory",
452 "../../sdk:objc_videotoolbox",
453 "../../sdk:objc_videotracksource",
454 ]
455 }
456
438 if (rtc_use_h264) { 457 if (rtc_use_h264) {
439 defines = [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ] 458 defines = [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ]
440 } 459 }
441 460
442 if (!build_with_chromium && is_clang) { 461 if (!build_with_chromium && is_clang) {
443 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 462 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
444 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 463 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
445 } 464 }
446 } 465 }
447 466
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 "../../sdk/android:libjingle_peerconnection_java", 511 "../../sdk/android:libjingle_peerconnection_java",
493 "../../sdk/android:libjingle_peerconnection_jni", 512 "../../sdk/android:libjingle_peerconnection_jni",
494 "//base", 513 "//base",
495 "//testing/android/native_test:native_test_support", 514 "//testing/android/native_test:native_test_support",
496 ] 515 ]
497 516
498 shard_timeout = 900 517 shard_timeout = 900
499 } 518 }
500 519
501 if (is_ios || is_mac) { 520 if (is_ios || is_mac) {
521 sources += [
522 "codecs/test/objc_codec_h264_test.h",
523 "codecs/test/objc_codec_h264_test.mm",
524 ]
525 deps += [
526 "../../api:video_frame_api",
527 "../../api/video_codecs:video_codecs_api",
528 "../../media:rtc_audio_video",
529 "../../modules:module_api",
530 "../../sdk:objc_common",
531 "../../sdk:objc_peerconnection",
532 "../../sdk:objc_peerconnectionfactory",
533 "../../sdk:objc_videotoolbox",
534 "../../sdk:objc_videotracksource",
535 ]
536 }
537
538 if (is_ios || is_mac) {
502 deps += [ ":plot_videoprocessor_integrationtest_bundle_data" ] 539 deps += [ ":plot_videoprocessor_integrationtest_bundle_data" ]
503 } 540 }
504 541
505 # TODO(brandtr): Remove this define when the modules_tests target properly 542 # TODO(brandtr): Remove this define when the modules_tests target properly
506 # loads the Java classes mentioned above. 543 # loads the Java classes mentioned above.
507 defines = [ "WEBRTC_VIDEOPROCESSOR_INTEGRATIONTEST_HW_CODECS_ENABLED" ] 544 defines = [ "WEBRTC_VIDEOPROCESSOR_INTEGRATIONTEST_HW_CODECS_ENABLED" ]
508 545
509 if (!build_with_chromium && is_clang) { 546 if (!build_with_chromium && is_clang) {
510 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 547 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
511 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 548 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 } 636 }
600 637
601 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 638 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
602 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 639 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
603 if (!build_with_chromium && is_clang) { 640 if (!build_with_chromium && is_clang) {
604 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 641 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
605 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 642 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
606 } 643 }
607 } 644 }
608 } 645 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698