| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 "libjingle/xmpp/pubsubtasks_unittest.cc", | 611 "libjingle/xmpp/pubsubtasks_unittest.cc", |
| 612 "libjingle/xmpp/util_unittest.cc", | 612 "libjingle/xmpp/util_unittest.cc", |
| 613 "libjingle/xmpp/util_unittest.h", | 613 "libjingle/xmpp/util_unittest.h", |
| 614 "libjingle/xmpp/xmppengine_unittest.cc", | 614 "libjingle/xmpp/xmppengine_unittest.cc", |
| 615 "libjingle/xmpp/xmpplogintask_unittest.cc", | 615 "libjingle/xmpp/xmpplogintask_unittest.cc", |
| 616 "libjingle/xmpp/xmppstanzaparser_unittest.cc", | 616 "libjingle/xmpp/xmppstanzaparser_unittest.cc", |
| 617 ] | 617 ] |
| 618 } | 618 } |
| 619 | 619 |
| 620 # TODO(pbos): Rename test suite, this is no longer "just" for video targets. | 620 # TODO(pbos): Rename test suite, this is no longer "just" for video targets. |
| 621 if (is_android || is_ios) { | 621 video_engine_tests_resources = [ |
| 622 video_engine_tests_resources = [ | 622 "//resources/foreman_cif_short.yuv", |
| 623 "//resources/foreman_cif_short.yuv", | 623 "//resources/voice_engine/audio_long16.pcm", |
| 624 "//resources/voice_engine/audio_long16.pcm", | 624 ] |
| 625 ] | |
| 626 } | |
| 627 | 625 |
| 628 if (is_ios) { | 626 if (is_ios) { |
| 629 bundle_data("video_engine_tests_bundle_data") { | 627 bundle_data("video_engine_tests_bundle_data") { |
| 630 testonly = true | 628 testonly = true |
| 631 sources = video_engine_tests_resources | 629 sources = video_engine_tests_resources |
| 632 outputs = [ | 630 outputs = [ |
| 633 "{{bundle_resources_dir}}/{{source_file_part}}", | 631 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 634 ] | 632 ] |
| 635 } | 633 } |
| 636 } | 634 } |
| 637 | 635 |
| 638 rtc_test("video_engine_tests") { | 636 rtc_test("video_engine_tests") { |
| 639 testonly = true | 637 testonly = true |
| 640 deps = [ | 638 deps = [ |
| 641 "audio:audio_tests", | 639 "audio:audio_tests", |
| 642 "call:call_tests", | 640 "call:call_tests", |
| 643 "modules/video_capture", | 641 "modules/video_capture", |
| 644 "test:test_common", | 642 "test:test_common", |
| 645 "test:test_main", | 643 "test:test_main", |
| 646 "video:video_tests", | 644 "video:video_tests", |
| 647 ] | 645 ] |
| 646 data = video_engine_tests_resources |
| 648 if (is_clang) { | 647 if (is_clang) { |
| 649 # Suppress warnings from the Chromium Clang plugin. | 648 # Suppress warnings from the Chromium Clang plugin. |
| 650 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 649 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 651 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 650 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 652 } | 651 } |
| 653 if (is_android) { | 652 if (is_android) { |
| 654 deps += [ "//testing/android/native_test:native_test_native_code" ] | 653 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 655 data = video_engine_tests_resources | |
| 656 shard_timeout = 900 | 654 shard_timeout = 900 |
| 657 } | 655 } |
| 658 | 656 |
| 659 if (is_ios) { | 657 if (is_ios) { |
| 660 deps += [ ":video_engine_tests_bundle_data" ] | 658 deps += [ ":video_engine_tests_bundle_data" ] |
| 661 } | 659 } |
| 662 } | 660 } |
| 663 | 661 |
| 664 rtc_source_set("video_quality_test") { | 662 rtc_source_set("video_quality_test") { |
| 665 testonly = true | 663 testonly = true |
| 666 sources = [ | 664 sources = [ |
| 667 "video/video_quality_test.cc", | 665 "video/video_quality_test.cc", |
| 668 "video/video_quality_test.h", | 666 "video/video_quality_test.h", |
| 669 ] | 667 ] |
| 670 deps = [ | 668 deps = [ |
| 671 ":webrtc", | 669 ":webrtc", |
| 672 "system_wrappers", | 670 "system_wrappers", |
| 673 "//testing/gtest", | 671 "//testing/gtest", |
| 674 ] | 672 ] |
| 675 if (!is_android) { | 673 if (!is_android) { |
| 676 deps += [ "modules/video_capture:video_capture_internal_impl" ] | 674 deps += [ "modules/video_capture:video_capture_internal_impl" ] |
| 677 } | 675 } |
| 678 if (is_clang) { | 676 if (is_clang) { |
| 679 # Suppress warnings from the Chromium Clang plugin. | 677 # Suppress warnings from the Chromium Clang plugin. |
| 680 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 678 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 681 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 679 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 682 } | 680 } |
| 683 } | 681 } |
| 684 | 682 |
| 685 if (is_android || is_ios) { | 683 webrtc_perf_tests_resources = [ |
| 686 webrtc_perf_tests_resources = [ | 684 "//resources/audio_coding/speech_mono_16kHz.pcm", |
| 687 "//resources/audio_coding/speech_mono_16kHz.pcm", | 685 "//resources/audio_coding/testfile32kHz.pcm", |
| 688 "//resources/audio_coding/testfile32kHz.pcm", | 686 "//resources/ConferenceMotion_1280_720_50.yuv", |
| 689 "//resources/ConferenceMotion_1280_720_50.yuv", | 687 "//resources/difficult_photo_1850_1110.yuv", |
| 690 "//resources/difficult_photo_1850_1110.yuv", | 688 "//resources/foreman_cif.yuv", |
| 691 "//resources/foreman_cif.yuv", | 689 "//resources/google-wifi-3mbps.rx", |
| 692 "//resources/google-wifi-3mbps.rx", | 690 "//resources/paris_qcif.yuv", |
| 693 "//resources/paris_qcif.yuv", | 691 "//resources/photo_1850_1110.yuv", |
| 694 "//resources/photo_1850_1110.yuv", | 692 "//resources/presentation_1850_1110.yuv", |
| 695 "//resources/presentation_1850_1110.yuv", | 693 "//resources/verizon4g-downlink.rx", |
| 696 "//resources/verizon4g-downlink.rx", | 694 "//resources/voice_engine/audio_long16.pcm", |
| 697 "//resources/voice_engine/audio_long16.pcm", | 695 "//resources/web_screenshot_1850_1110.yuv", |
| 698 "//resources/web_screenshot_1850_1110.yuv", | 696 ] |
| 699 ] | |
| 700 } | |
| 701 | 697 |
| 702 if (is_ios) { | 698 if (is_ios) { |
| 703 bundle_data("webrtc_perf_tests_bundle_data") { | 699 bundle_data("webrtc_perf_tests_bundle_data") { |
| 704 testonly = true | 700 testonly = true |
| 705 sources = webrtc_perf_tests_resources | 701 sources = webrtc_perf_tests_resources |
| 706 outputs = [ | 702 outputs = [ |
| 707 "{{bundle_resources_dir}}/{{source_file_part}}", | 703 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 708 ] | 704 ] |
| 709 } | 705 } |
| 710 } | 706 } |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 "//testing/gmock", | 772 "//testing/gmock", |
| 777 "//testing/gtest", | 773 "//testing/gtest", |
| 778 ] | 774 ] |
| 779 | 775 |
| 780 if (rtc_enable_intelligibility_enhancer) { | 776 if (rtc_enable_intelligibility_enhancer) { |
| 781 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] | 777 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] |
| 782 } else { | 778 } else { |
| 783 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] | 779 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] |
| 784 } | 780 } |
| 785 | 781 |
| 782 data = webrtc_perf_tests_resources |
| 786 if (is_android) { | 783 if (is_android) { |
| 787 deps += [ "//testing/android/native_test:native_test_native_code" ] | 784 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 788 data = webrtc_perf_tests_resources | |
| 789 shard_timeout = 2700 | 785 shard_timeout = 2700 |
| 790 } | 786 } |
| 791 if (is_ios) { | 787 if (is_ios) { |
| 792 deps += [ ":webrtc_perf_tests_bundle_data" ] | 788 deps += [ ":webrtc_perf_tests_bundle_data" ] |
| 793 } | 789 } |
| 794 if (is_clang) { | 790 if (is_clang) { |
| 795 # Suppress warnings from the Chromium Clang plugin. | 791 # Suppress warnings from the Chromium Clang plugin. |
| 796 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 792 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 797 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 793 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 798 } | 794 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 825 if (is_mac) { | 821 if (is_mac) { |
| 826 sources += [ "base/macsocketserver_unittest.cc" ] | 822 sources += [ "base/macsocketserver_unittest.cc" ] |
| 827 } | 823 } |
| 828 if (is_clang) { | 824 if (is_clang) { |
| 829 # Suppress warnings from the Chromium Clang plugin. | 825 # Suppress warnings from the Chromium Clang plugin. |
| 830 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 826 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 831 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 827 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 832 } | 828 } |
| 833 } | 829 } |
| 834 } | 830 } |
| OLD | NEW |