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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 sources += [ "base/macutils_unittest.cc" ] | 555 sources += [ "base/macutils_unittest.cc" ] |
556 } | 556 } |
557 | 557 |
558 if (is_posix) { | 558 if (is_posix) { |
559 sources += [ | 559 sources += [ |
560 "base/ssladapter_unittest.cc", | 560 "base/ssladapter_unittest.cc", |
561 "base/sslidentity_unittest.cc", | 561 "base/sslidentity_unittest.cc", |
562 "base/sslstreamadapter_unittest.cc", | 562 "base/sslstreamadapter_unittest.cc", |
563 ] | 563 ] |
564 } | 564 } |
| 565 if (is_ios || (is_mac && target_cpu != "x86")) { |
| 566 defines = [ "CARBON_DEPRECATED=YES" ] |
| 567 } |
| 568 |
565 if (rtc_use_quic) { | 569 if (rtc_use_quic) { |
566 sources += [ | 570 sources += [ |
567 "p2p/quic/quicconnectionhelper_unittest.cc", | 571 "p2p/quic/quicconnectionhelper_unittest.cc", |
568 "p2p/quic/quicsession_unittest.cc", | 572 "p2p/quic/quicsession_unittest.cc", |
569 "p2p/quic/quictransport_unittest.cc", | 573 "p2p/quic/quictransport_unittest.cc", |
570 "p2p/quic/quictransportchannel_unittest.cc", | 574 "p2p/quic/quictransportchannel_unittest.cc", |
571 "p2p/quic/reliablequicstream_unittest.cc", | 575 "p2p/quic/reliablequicstream_unittest.cc", |
572 ] | 576 ] |
573 } | 577 } |
574 | 578 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 sources += [ "base/win32socketserver_unittest.cc" ] | 821 sources += [ "base/win32socketserver_unittest.cc" ] |
818 } | 822 } |
819 if (is_android) { | 823 if (is_android) { |
820 deps += [ "//testing/android/native_test:native_test_support" ] | 824 deps += [ "//testing/android/native_test:native_test_support" ] |
821 shard_timeout = 900 | 825 shard_timeout = 900 |
822 } | 826 } |
823 | 827 |
824 if (is_mac) { | 828 if (is_mac) { |
825 sources += [ "base/macsocketserver_unittest.cc" ] | 829 sources += [ "base/macsocketserver_unittest.cc" ] |
826 } | 830 } |
| 831 if (is_ios || (is_mac && target_cpu != "x86")) { |
| 832 defines = [ "CARBON_DEPRECATED=YES" ] |
| 833 } |
827 if (is_clang) { | 834 if (is_clang) { |
828 # Suppress warnings from the Chromium Clang plugin. | 835 # Suppress warnings from the Chromium Clang plugin. |
829 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 836 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
830 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 837 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
831 } | 838 } |
832 } | 839 } |
833 } | 840 } |
OLD | NEW |