OLD | NEW |
1 # | 1 # |
2 # libjingle | 2 # libjingle |
3 # Copyright 2012 Google Inc. | 3 # Copyright 2012 Google Inc. |
4 # | 4 # |
5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
6 # modification, are permitted provided that the following conditions are met: | 6 # modification, are permitted provided that the following conditions are met: |
7 # | 7 # |
8 # 1. Redistributions of source code must retain the above copyright notice, | 8 # 1. Redistributions of source code must retain the above copyright notice, |
9 # this list of conditions and the following disclaimer. | 9 # this list of conditions and the following disclaimer. |
10 # 2. Redistributions in binary form must reproduce the above copyright notice, | 10 # 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 ], | 145 ], |
146 }, | 146 }, |
147 }], # OS=="linux" | 147 }], # OS=="linux" |
148 ], # conditions | 148 ], # conditions |
149 }, # target peerconnection_client | 149 }, # target peerconnection_client |
150 ], # targets | 150 ], # targets |
151 }], # OS=="linux" or OS=="win" | 151 }], # OS=="linux" or OS=="win" |
152 | 152 |
153 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")', { | 153 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")', { |
154 'targets': [ | 154 'targets': [ |
155 { 'target_name': 'apprtc_signaling', | 155 { |
| 156 'target_name': 'apprtc_common', |
| 157 'type': 'static_library', |
| 158 'sources': [ |
| 159 'examples/objc/AppRTCDemo/common/ARDLogging.h', |
| 160 'examples/objc/AppRTCDemo/common/ARDLogging.mm', |
| 161 'examples/objc/AppRTCDemo/common/ARDUtilities.h', |
| 162 'examples/objc/AppRTCDemo/common/ARDUtilities.m', |
| 163 ], |
| 164 'include_dirs': [ |
| 165 'examples/objc/AppRTCDemo/common', |
| 166 ], |
| 167 'direct_dependent_settings': { |
| 168 'include_dirs': [ |
| 169 'examples/objc/AppRTCDemo/common', |
| 170 ], |
| 171 }, |
| 172 'conditions': [ |
| 173 ['OS=="mac"', { |
| 174 'xcode_settings': { |
| 175 'MACOSX_DEPLOYMENT_TARGET' : '10.8', |
| 176 }, |
| 177 }], |
| 178 ], |
| 179 }, |
| 180 { |
| 181 'target_name': 'apprtc_signaling', |
156 'type': 'static_library', | 182 'type': 'static_library', |
157 'dependencies': [ | 183 'dependencies': [ |
| 184 'apprtc_common', |
158 'libjingle.gyp:libjingle_peerconnection_objc', | 185 'libjingle.gyp:libjingle_peerconnection_objc', |
159 'socketrocket', | 186 'socketrocket', |
160 ], | 187 ], |
161 'sources': [ | 188 'sources': [ |
162 'examples/objc/AppRTCDemo/ARDAppClient.h', | 189 'examples/objc/AppRTCDemo/ARDAppClient.h', |
163 'examples/objc/AppRTCDemo/ARDAppClient.m', | 190 'examples/objc/AppRTCDemo/ARDAppClient.m', |
164 'examples/objc/AppRTCDemo/ARDAppClient+Internal.h', | 191 'examples/objc/AppRTCDemo/ARDAppClient+Internal.h', |
165 'examples/objc/AppRTCDemo/ARDAppEngineClient.h', | 192 'examples/objc/AppRTCDemo/ARDAppEngineClient.h', |
166 'examples/objc/AppRTCDemo/ARDAppEngineClient.m', | 193 'examples/objc/AppRTCDemo/ARDAppEngineClient.m', |
167 'examples/objc/AppRTCDemo/ARDCEODTURNClient.h', | 194 'examples/objc/AppRTCDemo/ARDCEODTURNClient.h', |
168 'examples/objc/AppRTCDemo/ARDCEODTURNClient.m', | 195 'examples/objc/AppRTCDemo/ARDCEODTURNClient.m', |
169 'examples/objc/AppRTCDemo/ARDJoinResponse.h', | 196 'examples/objc/AppRTCDemo/ARDJoinResponse.h', |
170 'examples/objc/AppRTCDemo/ARDJoinResponse.m', | 197 'examples/objc/AppRTCDemo/ARDJoinResponse.m', |
171 'examples/objc/AppRTCDemo/ARDJoinResponse+Internal.h', | 198 'examples/objc/AppRTCDemo/ARDJoinResponse+Internal.h', |
172 'examples/objc/AppRTCDemo/ARDMessageResponse.h', | 199 'examples/objc/AppRTCDemo/ARDMessageResponse.h', |
173 'examples/objc/AppRTCDemo/ARDMessageResponse.m', | 200 'examples/objc/AppRTCDemo/ARDMessageResponse.m', |
174 'examples/objc/AppRTCDemo/ARDMessageResponse+Internal.h', | 201 'examples/objc/AppRTCDemo/ARDMessageResponse+Internal.h', |
175 'examples/objc/AppRTCDemo/ARDRoomServerClient.h', | 202 'examples/objc/AppRTCDemo/ARDRoomServerClient.h', |
176 'examples/objc/AppRTCDemo/ARDSDPUtils.h', | 203 'examples/objc/AppRTCDemo/ARDSDPUtils.h', |
177 'examples/objc/AppRTCDemo/ARDSDPUtils.m', | 204 'examples/objc/AppRTCDemo/ARDSDPUtils.m', |
178 'examples/objc/AppRTCDemo/ARDSignalingChannel.h', | 205 'examples/objc/AppRTCDemo/ARDSignalingChannel.h', |
179 'examples/objc/AppRTCDemo/ARDSignalingMessage.h', | 206 'examples/objc/AppRTCDemo/ARDSignalingMessage.h', |
180 'examples/objc/AppRTCDemo/ARDSignalingMessage.m', | 207 'examples/objc/AppRTCDemo/ARDSignalingMessage.m', |
181 'examples/objc/AppRTCDemo/ARDTURNClient.h', | 208 'examples/objc/AppRTCDemo/ARDTURNClient.h', |
182 'examples/objc/AppRTCDemo/ARDUtilities.h', | |
183 'examples/objc/AppRTCDemo/ARDUtilities.m', | |
184 'examples/objc/AppRTCDemo/ARDWebSocketChannel.h', | 209 'examples/objc/AppRTCDemo/ARDWebSocketChannel.h', |
185 'examples/objc/AppRTCDemo/ARDWebSocketChannel.m', | 210 'examples/objc/AppRTCDemo/ARDWebSocketChannel.m', |
186 'examples/objc/AppRTCDemo/RTCICECandidate+JSON.h', | 211 'examples/objc/AppRTCDemo/RTCICECandidate+JSON.h', |
187 'examples/objc/AppRTCDemo/RTCICECandidate+JSON.m', | 212 'examples/objc/AppRTCDemo/RTCICECandidate+JSON.m', |
188 'examples/objc/AppRTCDemo/RTCICEServer+JSON.h', | 213 'examples/objc/AppRTCDemo/RTCICEServer+JSON.h', |
189 'examples/objc/AppRTCDemo/RTCICEServer+JSON.m', | 214 'examples/objc/AppRTCDemo/RTCICEServer+JSON.m', |
190 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h', | 215 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h', |
191 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.m', | 216 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.m', |
192 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h', | 217 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h', |
193 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.m', | 218 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.m', |
(...skipping 16 matching lines...) Expand all Loading... |
210 }, | 235 }, |
211 }], | 236 }], |
212 ], | 237 ], |
213 }, | 238 }, |
214 { | 239 { |
215 'target_name': 'AppRTCDemo', | 240 'target_name': 'AppRTCDemo', |
216 'type': 'executable', | 241 'type': 'executable', |
217 'product_name': 'AppRTCDemo', | 242 'product_name': 'AppRTCDemo', |
218 'mac_bundle': 1, | 243 'mac_bundle': 1, |
219 'dependencies': [ | 244 'dependencies': [ |
| 245 'apprtc_common', |
220 'apprtc_signaling', | 246 'apprtc_signaling', |
221 ], | 247 ], |
222 'conditions': [ | 248 'conditions': [ |
223 ['OS=="ios"', { | 249 ['OS=="ios"', { |
224 'mac_bundle_resources': [ | 250 'mac_bundle_resources': [ |
225 'examples/objc/AppRTCDemo/ios/resources/iPhone5@2x.png', | 251 'examples/objc/AppRTCDemo/ios/resources/iPhone5@2x.png', |
226 'examples/objc/AppRTCDemo/ios/resources/iPhone6@2x.png', | 252 'examples/objc/AppRTCDemo/ios/resources/iPhone6@2x.png', |
227 'examples/objc/AppRTCDemo/ios/resources/iPhone6p@3x.png', | 253 'examples/objc/AppRTCDemo/ios/resources/iPhone6p@3x.png', |
228 'examples/objc/AppRTCDemo/ios/resources/Roboto-Regular.ttf', | 254 'examples/objc/AppRTCDemo/ios/resources/Roboto-Regular.ttf', |
229 'examples/objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp.p
ng', | 255 'examples/objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp.p
ng', |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 'apk_name': 'AppRTCDemoTest', | 403 'apk_name': 'AppRTCDemoTest', |
378 'java_in_dir': 'examples/androidtests', | 404 'java_in_dir': 'examples/androidtests', |
379 'is_test_apk': 1, | 405 'is_test_apk': 1, |
380 }, | 406 }, |
381 'includes': [ '../build/java_apk.gypi' ], | 407 'includes': [ '../build/java_apk.gypi' ], |
382 }, | 408 }, |
383 ], # targets | 409 ], # targets |
384 }], # OS=="android" | 410 }], # OS=="android" |
385 ], | 411 ], |
386 } | 412 } |
OLD | NEW |