blob: cdb23fb290c16bb9193f29dd243b1a591f59bcfe [file] [log] [blame]
hjonaa32c3e2015-12-13 19:58:11 -08001# Copyright (c) 2015 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"', {
13 'targets': [
14 {
tkchinab8f82f2016-01-27 17:50:11 -080015 'target_name': 'rtc_api_objc_tests',
hjonaa32c3e2015-12-13 19:58:11 -080016 'type': 'executable',
17 'dependencies': [
18 '<(webrtc_root)/api/api.gyp:rtc_api_objc',
19 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
20 ],
21 'sources': [
hjon6d49a8e2016-01-26 13:06:42 -080022 'objctests/RTCConfigurationTest.mm',
hjonda2183c2016-01-27 13:42:28 -080023 'objctests/RTCDataChannelConfigurationTest.mm',
Jon Hjelle29d5e572016-01-06 11:49:11 -080024 'objctests/RTCIceCandidateTest.mm',
25 'objctests/RTCIceServerTest.mm',
hjon6f5ca082016-01-07 09:29:29 -080026 'objctests/RTCMediaConstraintsTest.mm',
Jon Hjelle67e83d62016-01-06 12:05:22 -080027 'objctests/RTCSessionDescriptionTest.mm',
hjonaa32c3e2015-12-13 19:58:11 -080028 ],
29 'xcode_settings': {
30 'CLANG_ENABLE_OBJC_ARC': 'YES',
31 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
32 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch',
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"
41 ],
42}