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

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

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master Created 4 years, 10 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/RTCMediaConstraints.mm » ('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"', {
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': [ '../build/objc_common.gypi' ],
145 'dependencies': [ 146 'dependencies': [
146 '<(webrtc_root)/api/api.gyp:rtc_api_objc', 147 '<(webrtc_root)/api/api.gyp:rtc_api_objc',
147 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 148 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
148 ], 149 ],
149 'sources': [ 150 'sources': [
150 'objctests/RTCConfigurationTest.mm', 151 'objctests/RTCConfigurationTest.mm',
151 'objctests/RTCDataChannelConfigurationTest.mm', 152 'objctests/RTCDataChannelConfigurationTest.mm',
152 'objctests/RTCIceCandidateTest.mm', 153 'objctests/RTCIceCandidateTest.mm',
153 'objctests/RTCIceServerTest.mm', 154 'objctests/RTCIceServerTest.mm',
154 'objctests/RTCMediaConstraintsTest.mm', 155 'objctests/RTCMediaConstraintsTest.mm',
155 'objctests/RTCSessionDescriptionTest.mm', 156 'objctests/RTCSessionDescriptionTest.mm',
156 ], 157 ],
157 'xcode_settings': { 158 '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 159 # |-ObjC| flag needed to make sure category method implementations
162 # are included: 160 # are included:
163 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 161 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
164 'OTHER_LDFLAGS': ['-ObjC'], 162 'OTHER_LDFLAGS': ['-ObjC'],
165 }, 163 },
166 }, 164 },
167 ], 165 ],
168 }], # OS=="ios" 166 }], # OS=="ios" or OS=="mac"
169 ['OS=="android"', { 167 ['OS=="android"', {
170 'targets': [ 168 'targets': [
171 { 169 {
172 'target_name': 'peerconnection_unittests_apk_target', 170 'target_name': 'peerconnection_unittests_apk_target',
173 'type': 'none', 171 'type': 'none',
174 'dependencies': [ 172 'dependencies': [
175 '<(apk_tests_path):peerconnection_unittests_apk', 173 '<(apk_tests_path):peerconnection_unittests_apk',
176 ], 174 ],
177 }, 175 },
178 ], 176 ],
(...skipping 10 matching lines...) Expand all
189 '../build/isolate.gypi', 187 '../build/isolate.gypi',
190 ], 188 ],
191 'sources': [ 189 'sources': [
192 'peerconnection_unittests.isolate', 190 'peerconnection_unittests.isolate',
193 ], 191 ],
194 }, 192 },
195 ], # targets 193 ], # targets
196 }], # test_isolation_mode != "noop" 194 }], # test_isolation_mode != "noop"
197 ], # conditions 195 ], # conditions
198 } 196 }
OLDNEW
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/objc/RTCMediaConstraints.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698