webrtc_m130/webrtc/sdk/sdk_tests.gyp
kjellander 98bba39816 Remove metrics_default from rtc_media dependencies.
By not providing the default implementation of the metrics API
it becomes possible for users of rtc_media to choose which
implementation to use. The dependency is moved into each test
target that uses it instead.

NOTRY=True
NOPRESUBMIT=True

Review-Url: https://codereview.webrtc.org/2026223002
Cr-Commit-Position: refs/heads/master@{#12991}
2016-06-01 12:28:57 +00:00

44 lines
1.7 KiB
Python

# Copyright 2016 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
{
'includes': [ '../build/common.gypi', ],
'conditions': [
['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', {
'targets': [
{
'target_name': 'rtc_sdk_peerconnection_objc_tests',
'type': 'executable',
'includes': [
'../build/objc_common.gypi',
],
'dependencies': [
'<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
'<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_peerconnection_objc',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
],
'sources': [
'objc/Framework/UnitTests/RTCConfigurationTest.mm',
'objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm',
'objc/Framework/UnitTests/RTCIceCandidateTest.mm',
'objc/Framework/UnitTests/RTCIceServerTest.mm',
'objc/Framework/UnitTests/RTCMediaConstraintsTest.mm',
'objc/Framework/UnitTests/RTCSessionDescriptionTest.mm',
],
'xcode_settings': {
# |-ObjC| flag needed to make sure category method implementations
# are included:
# https://developer.apple.com/library/mac/qa/qa1490/_index.html
'OTHER_LDFLAGS': ['-ObjC'],
},
},
],
}], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")
],
}