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

Side by Side Diff: webrtc/BUILD.gn

Issue 2231413002: GN: Update tests to have the correct shard timeout value on Android. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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/api/BUILD.gn » ('j') | webrtc/modules/BUILD.gn » ('J')
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 # 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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 ] 595 ]
596 596
597 # TODO(tkchin): Cleanup this warning. 597 # TODO(tkchin): Cleanup this warning.
598 cflags = [ "-Wno-objc-property-no-attribute" ] 598 cflags = [ "-Wno-objc-property-no-attribute" ]
599 599
600 # |-ObjC| flag needed to make sure category method implementations 600 # |-ObjC| flag needed to make sure category method implementations
601 # are included: 601 # are included:
602 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 602 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
603 ldflags = [ "-ObjC" ] 603 ldflags = [ "-ObjC" ]
604 } 604 }
605
606 if (is_android) {
607 shard_timeout = 900
kjellander_webrtc 2016/08/15 06:55:08 Please put this at line 581 instead.
sakal 2016/08/15 07:44:54 Done.
608 }
605 } 609 }
606 610
607 test("xmllite_xmpp_unittests") { 611 test("xmllite_xmpp_unittests") {
608 configs += [ 612 configs += [
609 ":common_config", 613 ":common_config",
610 ":rtc_unittests_config", 614 ":rtc_unittests_config",
611 ] 615 ]
612 public_configs = [ ":common_inherited_config" ] 616 public_configs = [ ":common_inherited_config" ]
613 617
614 if (is_clang) { 618 if (is_clang) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 "modules/video_capture", 662 "modules/video_capture",
659 "test:test_common", 663 "test:test_common",
660 "test:test_main", 664 "test:test_main",
661 "video:video_tests", 665 "video:video_tests",
662 ] 666 ]
663 if (is_clang) { 667 if (is_clang) {
664 # Suppress warnings from the Chromium Clang plugin. 668 # Suppress warnings from the Chromium Clang plugin.
665 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 669 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
666 configs -= [ "//build/config/clang:find_bad_constructs" ] 670 configs -= [ "//build/config/clang:find_bad_constructs" ]
667 } 671 }
672
673 if (is_android) {
674 shard_timeout = 900
kjellander_webrtc 2016/08/15 06:55:08 Hmm, this test was added in https://codereview.web
sakal 2016/08/15 07:44:54 Acknowledged.
675 }
668 } 676 }
669 677
670 source_set("video_quality_test") { 678 source_set("video_quality_test") {
671 testonly = true 679 testonly = true
672 configs += [ ":common_config" ] 680 configs += [ ":common_config" ]
673 public_configs = [ ":common_inherited_config" ] 681 public_configs = [ ":common_inherited_config" ]
674 sources = [ 682 sources = [
675 "video/video_quality_test.cc", 683 "video/video_quality_test.cc",
676 "video/video_quality_test.h", 684 "video/video_quality_test.h",
677 ] 685 ]
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 "//testing/gtest", 732 "//testing/gtest",
725 ] 733 ]
726 if (is_android) { 734 if (is_android) {
727 deps += [ "//testing/android/native_test:native_test_native_code" ] 735 deps += [ "//testing/android/native_test:native_test_native_code" ]
728 } 736 }
729 if (is_clang) { 737 if (is_clang) {
730 # Suppress warnings from the Chromium Clang plugin. 738 # Suppress warnings from the Chromium Clang plugin.
731 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 739 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
732 configs -= [ "//build/config/clang:find_bad_constructs" ] 740 configs -= [ "//build/config/clang:find_bad_constructs" ]
733 } 741 }
742 if (is_android) {
743 shard_timeout = 2700
kjellander_webrtc 2016/08/15 06:55:08 Please move to line 736.
sakal 2016/08/15 07:44:54 Done.
744 }
734 } 745 }
735 746
736 test("webrtc_nonparallel_tests") { 747 test("webrtc_nonparallel_tests") {
737 testonly = true 748 testonly = true
738 configs += [ 749 configs += [
739 ":common_config", 750 ":common_config",
740 ":rtc_unittests_config", 751 ":rtc_unittests_config",
741 ] 752 ]
742 public_configs = [ ":common_inherited_config" ] 753 public_configs = [ ":common_inherited_config" ]
743 sources = [ 754 sources = [
(...skipping 20 matching lines...) Expand all
764 sources += [ "base/macsocketserver_unittest.cc" ] 775 sources += [ "base/macsocketserver_unittest.cc" ]
765 } 776 }
766 if (is_ios || (is_mac && target_cpu != "x86")) { 777 if (is_ios || (is_mac && target_cpu != "x86")) {
767 defines = [ "CARBON_DEPRECATED=YES" ] 778 defines = [ "CARBON_DEPRECATED=YES" ]
768 } 779 }
769 if (is_clang) { 780 if (is_clang) {
770 # Suppress warnings from the Chromium Clang plugin. 781 # Suppress warnings from the Chromium Clang plugin.
771 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 782 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
772 configs -= [ "//build/config/clang:find_bad_constructs" ] 783 configs -= [ "//build/config/clang:find_bad_constructs" ]
773 } 784 }
785 if (is_android) {
786 shard_timeout = 900
kjellander_webrtc 2016/08/15 06:55:08 Please move to line 772.
sakal 2016/08/15 07:44:54 Done.
787 }
774 } 788 }
775 } 789 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/BUILD.gn » ('j') | webrtc/modules/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698