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

Side by Side Diff: webrtc/BUILD.gn

Issue 2218853002: Reland Enable socketservers unittests on windows. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Disable failing tests 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/base/physicalsocketserver_unittest.cc » ('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 # 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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 736
737 test("webrtc_nonparallel_tests") { 737 test("webrtc_nonparallel_tests") {
738 testonly = true 738 testonly = true
739 configs += [ 739 configs += [
740 ":common_config", 740 ":common_config",
741 ":rtc_unittests_config", 741 ":rtc_unittests_config",
742 ] 742 ]
743 public_configs = [ ":common_inherited_config" ] 743 public_configs = [ ":common_inherited_config" ]
744 sources = [ 744 sources = [
745 "base/nullsocketserver_unittest.cc", 745 "base/nullsocketserver_unittest.cc",
746 "base/physicalsocketserver_unittest.cc",
747 "base/socket_unittest.cc",
748 "base/socket_unittest.h",
746 "base/socketaddress_unittest.cc", 749 "base/socketaddress_unittest.cc",
747 "base/virtualsocket_unittest.cc", 750 "base/virtualsocket_unittest.cc",
748 ] 751 ]
749 deps = [ 752 deps = [
750 "base:rtc_base", 753 "base:rtc_base",
751 "base:rtc_base_tests_utils", 754 "base:rtc_base_tests_utils",
752 "//testing/gtest", 755 "//testing/gtest",
753 ] 756 ]
754 if (is_win) { 757 if (is_win) {
755 # TODO(ronghuawu): Fix TestUdpReadyToSendIPv6 on windows bot then reenable 758 sources += [ "base/win32socketserver_unittest.cc" ]
756 # these tests.
757 # sources += [ "base/win32socketserver_unittest.cc" ]
758 } else {
759 # TODO(pbos): Move test disabling to ifdefs within the test files instead
760 # of here.
761 sources += [
762 "base/physicalsocketserver_unittest.cc",
763 "base/socket_unittest.cc",
764 "base/socket_unittest.h",
765 ]
766 } 759 }
767 if (is_android) { 760 if (is_android) {
768 deps += [ "//testing/android/native_test:native_test_support" ] 761 deps += [ "//testing/android/native_test:native_test_support" ]
769 } 762 }
770 763
771 if (is_mac) { 764 if (is_mac) {
772 sources += [ "base/macsocketserver_unittest.cc" ] 765 sources += [ "base/macsocketserver_unittest.cc" ]
773 } 766 }
774 if (is_ios || (is_mac && target_cpu != "x86")) { 767 if (is_ios || (is_mac && target_cpu != "x86")) {
775 defines = [ "CARBON_DEPRECATED=YES" ] 768 defines = [ "CARBON_DEPRECATED=YES" ]
776 } 769 }
777 if (is_clang) { 770 if (is_clang) {
778 # Suppress warnings from the Chromium Clang plugin. 771 # Suppress warnings from the Chromium Clang plugin.
779 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 772 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
780 configs -= [ "//build/config/clang:find_bad_constructs" ] 773 configs -= [ "//build/config/clang:find_bad_constructs" ]
781 } 774 }
782 } 775 }
783 } 776 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/physicalsocketserver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698