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