OLD | NEW |
1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright 2016 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 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { | 12 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'rtc_sdk_peerconnection_objc_tests', | 15 'target_name': 'rtc_sdk_peerconnection_objc_tests', |
16 'type': 'executable', | 16 'type': 'executable', |
17 'includes': [ | 17 'includes': [ |
18 '../build/objc_common.gypi', | 18 '../build/objc_common.gypi', |
19 ], | 19 ], |
20 'dependencies': [ | 20 'dependencies': [ |
21 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | 21 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
22 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_peerconnection_objc', | 22 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_peerconnection_objc', |
| 23 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, |
23 ], | 24 ], |
24 'sources': [ | 25 'sources': [ |
25 'objc/Framework/UnitTests/RTCConfigurationTest.mm', | 26 'objc/Framework/UnitTests/RTCConfigurationTest.mm', |
26 'objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm', | 27 'objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm', |
27 'objc/Framework/UnitTests/RTCIceCandidateTest.mm', | 28 'objc/Framework/UnitTests/RTCIceCandidateTest.mm', |
28 'objc/Framework/UnitTests/RTCIceServerTest.mm', | 29 'objc/Framework/UnitTests/RTCIceServerTest.mm', |
29 'objc/Framework/UnitTests/RTCMediaConstraintsTest.mm', | 30 'objc/Framework/UnitTests/RTCMediaConstraintsTest.mm', |
30 'objc/Framework/UnitTests/RTCSessionDescriptionTest.mm', | 31 'objc/Framework/UnitTests/RTCSessionDescriptionTest.mm', |
31 ], | 32 ], |
32 'xcode_settings': { | 33 'xcode_settings': { |
33 # |-ObjC| flag needed to make sure category method implementations | 34 # |-ObjC| flag needed to make sure category method implementations |
34 # are included: | 35 # are included: |
35 # https://developer.apple.com/library/mac/qa/qa1490/_index.html | 36 # https://developer.apple.com/library/mac/qa/qa1490/_index.html |
36 'OTHER_LDFLAGS': ['-ObjC'], | 37 'OTHER_LDFLAGS': ['-ObjC'], |
37 }, | 38 }, |
38 }, | 39 }, |
39 ], | 40 ], |
40 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7") | 41 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7") |
41 ], | 42 ], |
42 } | 43 } |
OLD | NEW |