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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. | 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. |
10 | 10 |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 "libjingle/xmpp/pubsubtasks_unittest.cc", | 678 "libjingle/xmpp/pubsubtasks_unittest.cc", |
679 "libjingle/xmpp/util_unittest.cc", | 679 "libjingle/xmpp/util_unittest.cc", |
680 "libjingle/xmpp/util_unittest.h", | 680 "libjingle/xmpp/util_unittest.h", |
681 "libjingle/xmpp/xmppengine_unittest.cc", | 681 "libjingle/xmpp/xmppengine_unittest.cc", |
682 "libjingle/xmpp/xmpplogintask_unittest.cc", | 682 "libjingle/xmpp/xmpplogintask_unittest.cc", |
683 "libjingle/xmpp/xmppstanzaparser_unittest.cc", | 683 "libjingle/xmpp/xmppstanzaparser_unittest.cc", |
684 ] | 684 ] |
685 } | 685 } |
686 | 686 |
687 # TODO(pbos): Rename test suite, this is no longer "just" for video targets. | 687 # TODO(pbos): Rename test suite, this is no longer "just" for video targets. |
| 688 if (is_android || is_ios) { |
| 689 video_engine_tests_resources = [ |
| 690 "//resources/foreman_cif_short.yuv", |
| 691 "//resources/voice_engine/audio_long16.pcm", |
| 692 ] |
| 693 } |
| 694 |
| 695 if (is_ios) { |
| 696 bundle_data("video_engine_tests_bundle_data") { |
| 697 testonly = true |
| 698 sources = video_engine_tests_resources |
| 699 outputs = [ |
| 700 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 701 ] |
| 702 } |
| 703 } |
| 704 |
688 test("video_engine_tests") { | 705 test("video_engine_tests") { |
689 testonly = true | 706 testonly = true |
690 deps = [ | 707 deps = [ |
691 "audio:audio_tests", | 708 "audio:audio_tests", |
692 "call:call_tests", | 709 "call:call_tests", |
693 "modules/video_capture", | 710 "modules/video_capture", |
694 "test:test_common", | 711 "test:test_common", |
695 "test:test_main", | 712 "test:test_main", |
696 "video:video_tests", | 713 "video:video_tests", |
697 ] | 714 ] |
698 if (is_clang) { | 715 if (is_clang) { |
699 # Suppress warnings from the Chromium Clang plugin. | 716 # Suppress warnings from the Chromium Clang plugin. |
700 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 717 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
701 configs -= [ "//build/config/clang:find_bad_constructs" ] | 718 configs -= [ "//build/config/clang:find_bad_constructs" ] |
702 } | 719 } |
703 if (is_android) { | 720 if (is_android) { |
704 deps += [ "//testing/android/native_test:native_test_native_code" ] | 721 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 722 data = video_engine_tests_resources |
705 shard_timeout = 900 | 723 shard_timeout = 900 |
706 } | 724 } |
707 if (is_android || is_ios) { | 725 |
708 data = [ | 726 if (is_ios) { |
709 "//resources/foreman_cif_short.yuv", | 727 deps += [ ":video_engine_tests_bundle_data" ] |
710 "//resources/voice_engine/audio_long16.pcm", | |
711 ] | |
712 } | 728 } |
713 } | 729 } |
714 | 730 |
715 source_set("video_quality_test") { | 731 source_set("video_quality_test") { |
716 testonly = true | 732 testonly = true |
717 configs += [ ":common_config" ] | 733 configs += [ ":common_config" ] |
718 public_configs = [ ":common_inherited_config" ] | 734 public_configs = [ ":common_inherited_config" ] |
719 sources = [ | 735 sources = [ |
720 "video/video_quality_test.cc", | 736 "video/video_quality_test.cc", |
721 "video/video_quality_test.h", | 737 "video/video_quality_test.h", |
722 ] | 738 ] |
723 deps = [ | 739 deps = [ |
724 ":webrtc", | 740 ":webrtc", |
725 "system_wrappers", | 741 "system_wrappers", |
726 "//testing/gtest", | 742 "//testing/gtest", |
727 ] | 743 ] |
728 if (!is_android) { | 744 if (!is_android) { |
729 deps += [ "modules/video_capture:video_capture_internal_impl" ] | 745 deps += [ "modules/video_capture:video_capture_internal_impl" ] |
730 } | 746 } |
731 if (is_clang) { | 747 if (is_clang) { |
732 # Suppress warnings from the Chromium Clang plugin. | 748 # Suppress warnings from the Chromium Clang plugin. |
733 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 749 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
734 configs -= [ "//build/config/clang:find_bad_constructs" ] | 750 configs -= [ "//build/config/clang:find_bad_constructs" ] |
735 } | 751 } |
736 } | 752 } |
737 | 753 |
| 754 if (is_android || is_ios) { |
| 755 webrtc_perf_tests_resources = [ |
| 756 "//resources/audio_coding/speech_mono_16kHz.pcm", |
| 757 "//resources/audio_coding/testfile32kHz.pcm", |
| 758 "//resources/ConferenceMotion_1280_720_50.yuv", |
| 759 "//resources/difficult_photo_1850_1110.yuv", |
| 760 "//resources/foreman_cif.yuv", |
| 761 "//resources/google-wifi-3mbps.rx", |
| 762 "//resources/paris_qcif.yuv", |
| 763 "//resources/photo_1850_1110.yuv", |
| 764 "//resources/presentation_1850_1110.yuv", |
| 765 "//resources/verizon4g-downlink.rx", |
| 766 "//resources/voice_engine/audio_long16.pcm", |
| 767 "//resources/web_screenshot_1850_1110.yuv", |
| 768 ] |
| 769 } |
| 770 |
| 771 if (is_ios) { |
| 772 bundle_data("webrtc_perf_tests_bundle_data") { |
| 773 testonly = true |
| 774 sources = webrtc_perf_tests_resources |
| 775 outputs = [ |
| 776 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 777 ] |
| 778 } |
| 779 } |
| 780 |
738 test("webrtc_perf_tests") { | 781 test("webrtc_perf_tests") { |
739 testonly = true | 782 testonly = true |
740 configs += [ | 783 configs += [ |
741 ":common_config", | 784 ":common_config", |
742 ":rtc_unittests_config", | 785 ":rtc_unittests_config", |
743 ] | 786 ] |
744 public_configs = [ ":common_inherited_config" ] | 787 public_configs = [ ":common_inherited_config" ] |
745 sources = [ | 788 sources = [ |
746 "call/call_perf_tests.cc", | 789 "call/call_perf_tests.cc", |
747 "call/rampup_tests.cc", | 790 "call/rampup_tests.cc", |
(...skipping 15 matching lines...) Expand all Loading... |
763 "test:channel_transport", | 806 "test:channel_transport", |
764 "test:test_common", | 807 "test:test_common", |
765 "test:test_main", | 808 "test:test_main", |
766 "test:test_renderer", | 809 "test:test_renderer", |
767 "voice_engine", | 810 "voice_engine", |
768 "//testing/gmock", | 811 "//testing/gmock", |
769 "//testing/gtest", | 812 "//testing/gtest", |
770 ] | 813 ] |
771 if (is_android) { | 814 if (is_android) { |
772 deps += [ "//testing/android/native_test:native_test_native_code" ] | 815 deps += [ "//testing/android/native_test:native_test_native_code" ] |
773 data = [ | 816 data = webrtc_perf_tests_resources |
774 "//resources/audio_coding/speech_mono_16kHz.pcm", | |
775 "//resources/audio_coding/testfile32kHz.pcm", | |
776 "//resources/ConferenceMotion_1280_720_50.yuv", | |
777 "//resources/difficult_photo_1850_1110.yuv", | |
778 "//resources/foreman_cif.yuv", | |
779 "//resources/google-wifi-3mbps.rx", | |
780 "//resources/paris_qcif.yuv", | |
781 "//resources/photo_1850_1110.yuv", | |
782 "//resources/presentation_1850_1110.yuv", | |
783 "//resources/verizon4g-downlink.rx", | |
784 "//resources/voice_engine/audio_long16.pcm", | |
785 "//resources/web_screenshot_1850_1110.yuv", | |
786 ] | |
787 shard_timeout = 2700 | 817 shard_timeout = 2700 |
788 } | 818 } |
| 819 if (is_ios) { |
| 820 deps += [ ":webrtc_perf_tests_bundle_data" ] |
| 821 } |
789 if (is_clang) { | 822 if (is_clang) { |
790 # Suppress warnings from the Chromium Clang plugin. | 823 # Suppress warnings from the Chromium Clang plugin. |
791 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 824 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
792 configs -= [ "//build/config/clang:find_bad_constructs" ] | 825 configs -= [ "//build/config/clang:find_bad_constructs" ] |
793 } | 826 } |
794 } | 827 } |
795 | 828 |
796 test("webrtc_nonparallel_tests") { | 829 test("webrtc_nonparallel_tests") { |
797 testonly = true | 830 testonly = true |
798 configs += [ | 831 configs += [ |
(...skipping 28 matching lines...) Expand all Loading... |
827 if (is_ios || (is_mac && target_cpu != "x86")) { | 860 if (is_ios || (is_mac && target_cpu != "x86")) { |
828 defines = [ "CARBON_DEPRECATED=YES" ] | 861 defines = [ "CARBON_DEPRECATED=YES" ] |
829 } | 862 } |
830 if (is_clang) { | 863 if (is_clang) { |
831 # Suppress warnings from the Chromium Clang plugin. | 864 # Suppress warnings from the Chromium Clang plugin. |
832 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 865 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
833 configs -= [ "//build/config/clang:find_bad_constructs" ] | 866 configs -= [ "//build/config/clang:find_bad_constructs" ] |
834 } | 867 } |
835 } | 868 } |
836 } | 869 } |
OLD | NEW |