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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 | 688 |
689 test("webrtc_nonparallel_tests") { | 689 test("webrtc_nonparallel_tests") { |
690 testonly = true | 690 testonly = true |
691 configs += [ | 691 configs += [ |
692 ":common_config", | 692 ":common_config", |
693 ":rtc_unittests_config", | 693 ":rtc_unittests_config", |
694 ] | 694 ] |
695 public_configs = [ ":common_inherited_config" ] | 695 public_configs = [ ":common_inherited_config" ] |
696 sources = [ | 696 sources = [ |
697 "base/nullsocketserver_unittest.cc", | 697 "base/nullsocketserver_unittest.cc", |
698 "base/physicalsocketserver_unittest.cc", | |
699 "base/socket_unittest.cc", | |
700 "base/socket_unittest.h", | |
701 "base/socketaddress_unittest.cc", | 698 "base/socketaddress_unittest.cc", |
702 "base/virtualsocket_unittest.cc", | 699 "base/virtualsocket_unittest.cc", |
703 ] | 700 ] |
704 deps = [ | 701 deps = [ |
705 "base:rtc_base", | 702 "base:rtc_base", |
706 "base:rtc_base_tests_utils", | 703 "base:rtc_base_tests_utils", |
707 "//testing/gtest", | 704 "//testing/gtest", |
708 ] | 705 ] |
709 if (is_win) { | 706 if (is_win) { |
710 sources += [ "base/win32socketserver_unittest.cc" ] | 707 # TODO(ronghuawu): Fix TestUdpReadyToSendIPv6 on windows bot then reenable |
| 708 # these tests. |
| 709 # sources += [ "base/win32socketserver_unittest.cc" ] |
| 710 } else { |
| 711 # TODO(pbos): Move test disabling to ifdefs within the test files instead |
| 712 # of here. |
| 713 sources += [ |
| 714 "base/physicalsocketserver_unittest.cc", |
| 715 "base/socket_unittest.cc", |
| 716 "base/socket_unittest.h", |
| 717 ] |
711 } | 718 } |
712 if (is_android) { | 719 if (is_android) { |
713 deps += [ "//testing/android/native_test:native_test_support" ] | 720 deps += [ "//testing/android/native_test:native_test_support" ] |
714 } | 721 } |
715 | 722 |
716 if (is_mac) { | 723 if (is_mac) { |
717 sources += [ "base/macsocketserver_unittest.cc" ] | 724 sources += [ "base/macsocketserver_unittest.cc" ] |
718 } | 725 } |
719 if (is_ios || (is_mac && target_cpu != "x86")) { | 726 if (is_ios || (is_mac && target_cpu != "x86")) { |
720 defines = [ "CARBON_DEPRECATED=YES" ] | 727 defines = [ "CARBON_DEPRECATED=YES" ] |
721 } | 728 } |
722 if (is_clang) { | 729 if (is_clang) { |
723 # Suppress warnings from the Chromium Clang plugin. | 730 # Suppress warnings from the Chromium Clang plugin. |
724 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 731 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
725 configs -= [ "//build/config/clang:find_bad_constructs" ] | 732 configs -= [ "//build/config/clang:find_bad_constructs" ] |
726 } | 733 } |
727 } | 734 } |
728 } | 735 } |
OLD | NEW |