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

Side by Side Diff: webrtc/BUILD.gn

Issue 2199193004: Enable socketservers unittests on windows (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added tracking bug number 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
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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
698 "base/socketaddress_unittest.cc", 701 "base/socketaddress_unittest.cc",
699 "base/virtualsocket_unittest.cc", 702 "base/virtualsocket_unittest.cc",
700 ] 703 ]
701 deps = [ 704 deps = [
702 "base:rtc_base", 705 "base:rtc_base",
703 "base:rtc_base_tests_utils", 706 "base:rtc_base_tests_utils",
704 "//testing/gtest", 707 "//testing/gtest",
705 ] 708 ]
706 if (is_win) { 709 if (is_win) {
707 # TODO(ronghuawu): Fix TestUdpReadyToSendIPv6 on windows bot then reenable 710 sources += [ "base/win32socketserver_unittest.cc" ]
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 ]
718 } 711 }
719 if (is_android) { 712 if (is_android) {
720 deps += [ "//testing/android/native_test:native_test_support" ] 713 deps += [ "//testing/android/native_test:native_test_support" ]
721 } 714 }
722 715
723 if (is_mac) { 716 if (is_mac) {
724 sources += [ "base/macsocketserver_unittest.cc" ] 717 sources += [ "base/macsocketserver_unittest.cc" ]
725 } 718 }
726 if (is_ios || (is_mac && target_cpu != "x86")) { 719 if (is_ios || (is_mac && target_cpu != "x86")) {
727 defines = [ "CARBON_DEPRECATED=YES" ] 720 defines = [ "CARBON_DEPRECATED=YES" ]
728 } 721 }
729 if (is_clang) { 722 if (is_clang) {
730 # Suppress warnings from the Chromium Clang plugin. 723 # Suppress warnings from the Chromium Clang plugin.
731 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 724 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
732 configs -= [ "//build/config/clang:find_bad_constructs" ] 725 configs -= [ "//build/config/clang:find_bad_constructs" ]
733 } 726 }
734 } 727 }
735 } 728 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/physicalsocketserver_unittest.cc » ('j') | webrtc/base/socket_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698