Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: webrtc/api/api_tests.gyp

Issue 1726213002: Compile rtc_api_objc on Mac. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update TODO format Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/objc/RTCConfiguration.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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', ],
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 'java_in_dir': 'androidtests', 130 'java_in_dir': 'androidtests',
131 'resource_dir': 'androidtests/res', 131 'resource_dir': 'androidtests/res',
132 'native_lib_target': 'libjingle_peerconnection_so', 132 'native_lib_target': 'libjingle_peerconnection_so',
133 'is_test_apk': 1, 133 'is_test_apk': 1,
134 'never_lint': 1, 134 'never_lint': 1,
135 }, 135 },
136 'includes': [ '../../build/java_apk.gypi' ], 136 'includes': [ '../../build/java_apk.gypi' ],
137 }, 137 },
138 ], # targets 138 ], # targets
139 }], # OS=="android" 139 }], # OS=="android"
140 ['OS=="ios"', { 140 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', {
141 'targets': [ 141 'targets': [
142 { 142 {
143 'target_name': 'rtc_api_objc_tests', 143 'target_name': 'rtc_api_objc_tests',
144 'type': 'executable', 144 'type': 'executable',
145 'includes': [
146 '../build/objc_common.gypi',
147 ],
145 'dependencies': [ 148 'dependencies': [
146 '<(webrtc_root)/api/api.gyp:rtc_api_objc', 149 '<(webrtc_root)/api/api.gyp:rtc_api_objc',
147 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 150 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
148 ], 151 ],
149 'sources': [ 152 'sources': [
150 'objctests/RTCConfigurationTest.mm', 153 'objctests/RTCConfigurationTest.mm',
151 'objctests/RTCDataChannelConfigurationTest.mm', 154 'objctests/RTCDataChannelConfigurationTest.mm',
152 'objctests/RTCIceCandidateTest.mm', 155 'objctests/RTCIceCandidateTest.mm',
153 'objctests/RTCIceServerTest.mm', 156 'objctests/RTCIceServerTest.mm',
154 'objctests/RTCMediaConstraintsTest.mm', 157 'objctests/RTCMediaConstraintsTest.mm',
155 'objctests/RTCSessionDescriptionTest.mm', 158 'objctests/RTCSessionDescriptionTest.mm',
156 ], 159 ],
157 'xcode_settings': { 160 'xcode_settings': {
158 'CLANG_ENABLE_OBJC_ARC': 'YES',
159 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
160 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch',
161 # |-ObjC| flag needed to make sure category method implementations 161 # |-ObjC| flag needed to make sure category method implementations
162 # are included: 162 # are included:
163 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 163 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
164 'OTHER_LDFLAGS': ['-ObjC'], 164 'OTHER_LDFLAGS': ['-ObjC'],
165 }, 165 },
166 }, 166 },
167 ], 167 ],
168 }], # OS=="ios" 168 }], # OS=="ios"
169 ['OS=="android"', { 169 ['OS=="android"', {
170 'targets': [ 170 'targets': [
(...skipping 18 matching lines...) Expand all
189 '../build/isolate.gypi', 189 '../build/isolate.gypi',
190 ], 190 ],
191 'sources': [ 191 'sources': [
192 'peerconnection_unittests.isolate', 192 'peerconnection_unittests.isolate',
193 ], 193 ],
194 }, 194 },
195 ], # targets 195 ], # targets
196 }], # test_isolation_mode != "noop" 196 }], # test_isolation_mode != "noop"
197 ], # conditions 197 ], # conditions
198 } 198 }
OLDNEW
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/objc/RTCConfiguration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698