OLD | NEW |
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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"', { | 12 ['OS=="ios"', { |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'rtc_api_objc_test', | 15 'target_name': 'rtc_api_objc_test', |
16 'type': 'executable', | 16 'type': 'executable', |
17 'dependencies': [ | 17 'dependencies': [ |
18 '<(webrtc_root)/api/api.gyp:rtc_api_objc', | 18 '<(webrtc_root)/api/api.gyp:rtc_api_objc', |
19 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | 19 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
20 ], | 20 ], |
21 'sources': [ | 21 'sources': [ |
22 'objctests/RTCIceCandidateTest.mm', | 22 'objctests/RTCIceCandidateTest.mm', |
23 'objctests/RTCIceServerTest.mm', | 23 'objctests/RTCIceServerTest.mm', |
| 24 'objctests/RTCSessionDescriptionTest.mm', |
24 ], | 25 ], |
25 'xcode_settings': { | 26 'xcode_settings': { |
26 'CLANG_ENABLE_OBJC_ARC': 'YES', | 27 'CLANG_ENABLE_OBJC_ARC': 'YES', |
27 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', | 28 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |
28 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch', | 29 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch', |
29 # |-ObjC| flag needed to make sure category method implementations | 30 # |-ObjC| flag needed to make sure category method implementations |
30 # are included: | 31 # are included: |
31 # https://developer.apple.com/library/mac/qa/qa1490/_index.html | 32 # https://developer.apple.com/library/mac/qa/qa1490/_index.html |
32 'OTHER_LDFLAGS': ['-ObjC'], | 33 'OTHER_LDFLAGS': ['-ObjC'], |
33 }, | 34 }, |
34 } | 35 } |
35 ], | 36 ], |
36 }], # OS=="ios" | 37 }], # OS=="ios" |
37 ], | 38 ], |
38 } | 39 } |
OLD | NEW |