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', ], |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 'tested_apk_path': '', | 135 'tested_apk_path': '', |
136 'never_lint': 1, | 136 'never_lint': 1, |
137 }, | 137 }, |
138 'includes': [ | 138 'includes': [ |
139 '../../build/java_apk.gypi', | 139 '../../build/java_apk.gypi', |
140 '../../build/android/test_runner.gypi', | 140 '../../build/android/test_runner.gypi', |
141 ], | 141 ], |
142 }, | 142 }, |
143 ], # targets | 143 ], # targets |
144 }], # OS=="android" | 144 }], # OS=="android" |
145 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { | |
146 'targets': [ | |
147 { | |
148 'target_name': 'rtc_api_objc_tests', | |
149 'type': 'executable', | |
150 'includes': [ | |
151 '../build/objc_common.gypi', | |
152 ], | |
153 'dependencies': [ | |
154 '<(webrtc_root)/api/api.gyp:rtc_api_objc', | |
155 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | |
156 ], | |
157 'sources': [ | |
158 'objctests/RTCConfigurationTest.mm', | |
159 'objctests/RTCDataChannelConfigurationTest.mm', | |
160 'objctests/RTCIceCandidateTest.mm', | |
161 'objctests/RTCIceServerTest.mm', | |
162 'objctests/RTCMediaConstraintsTest.mm', | |
163 'objctests/RTCSessionDescriptionTest.mm', | |
164 ], | |
165 'xcode_settings': { | |
166 # |-ObjC| flag needed to make sure category method implementations | |
167 # are included: | |
168 # https://developer.apple.com/library/mac/qa/qa1490/_index.html | |
169 'OTHER_LDFLAGS': ['-ObjC'], | |
170 }, | |
171 }, | |
172 ], | |
173 }], # OS=="ios" | |
174 ['OS=="android"', { | 145 ['OS=="android"', { |
175 'targets': [ | 146 'targets': [ |
176 { | 147 { |
177 'target_name': 'peerconnection_unittests_apk_target', | 148 'target_name': 'peerconnection_unittests_apk_target', |
178 'type': 'none', | 149 'type': 'none', |
179 'dependencies': [ | 150 'dependencies': [ |
180 '<(apk_tests_path):peerconnection_unittests_apk', | 151 '<(apk_tests_path):peerconnection_unittests_apk', |
181 ], | 152 ], |
182 }, | 153 }, |
183 ], | 154 ], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 '../build/isolate.gypi', | 186 '../build/isolate.gypi', |
216 ], | 187 ], |
217 'sources': [ | 188 'sources': [ |
218 'peerconnection_unittests.isolate', | 189 'peerconnection_unittests.isolate', |
219 ], | 190 ], |
220 }, | 191 }, |
221 ], # targets | 192 ], # targets |
222 }], # test_isolation_mode != "noop" | 193 }], # test_isolation_mode != "noop" |
223 ], # conditions | 194 ], # conditions |
224 } | 195 } |
OLD | NEW |