Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
michael@0 | 2 | # Use of this source code is governed by a BSD-style license that can be |
michael@0 | 3 | # found in the LICENSE file. |
michael@0 | 4 | # |
michael@0 | 5 | # Indent 2 spaces, no tabs. |
michael@0 | 6 | # |
michael@0 | 7 | # |
michael@0 | 8 | # sip.gyp - a library for SIP |
michael@0 | 9 | # |
michael@0 | 10 | |
michael@0 | 11 | { |
michael@0 | 12 | 'variables': { |
michael@0 | 13 | 'chromium_code': 1, |
michael@0 | 14 | }, |
michael@0 | 15 | |
michael@0 | 16 | 'target_defaults': { |
michael@0 | 17 | 'conditions': [ |
michael@0 | 18 | ['moz_widget_toolkit_gonk==1', { |
michael@0 | 19 | 'defines' : [ |
michael@0 | 20 | 'WEBRTC_GONK', |
michael@0 | 21 | ], |
michael@0 | 22 | }], |
michael@0 | 23 | ], |
michael@0 | 24 | }, |
michael@0 | 25 | |
michael@0 | 26 | 'targets': [ |
michael@0 | 27 | |
michael@0 | 28 | # |
michael@0 | 29 | # ECC |
michael@0 | 30 | # |
michael@0 | 31 | { |
michael@0 | 32 | 'target_name': 'ecc', |
michael@0 | 33 | 'type': 'static_library', |
michael@0 | 34 | |
michael@0 | 35 | # |
michael@0 | 36 | # INCLUDES |
michael@0 | 37 | # |
michael@0 | 38 | 'include_dirs': [ |
michael@0 | 39 | '..', |
michael@0 | 40 | './src', |
michael@0 | 41 | './src/callcontrol', |
michael@0 | 42 | './src/common', |
michael@0 | 43 | './src/common/browser_logging', |
michael@0 | 44 | './src/common/time_profiling', |
michael@0 | 45 | './src/media', |
michael@0 | 46 | './src/media-conduit', |
michael@0 | 47 | './src/mediapipeline', |
michael@0 | 48 | './src/softphonewrapper', |
michael@0 | 49 | './src/peerconnection', |
michael@0 | 50 | './include', |
michael@0 | 51 | './src/sipcc/include', |
michael@0 | 52 | './src/sipcc/cpr/include', |
michael@0 | 53 | '../../../ipc/chromium/src', |
michael@0 | 54 | '../../../ipc/chromium/src/base/third_party/nspr', |
michael@0 | 55 | '../../../xpcom/base', |
michael@0 | 56 | '../../../dom/base', |
michael@0 | 57 | '../../../content/media', |
michael@0 | 58 | '../../../media/mtransport', |
michael@0 | 59 | '../trunk', |
michael@0 | 60 | '../trunk/webrtc', |
michael@0 | 61 | '../trunk/webrtc/video_engine/include', |
michael@0 | 62 | '../trunk/webrtc/voice_engine/include', |
michael@0 | 63 | '../trunk/webrtc/modules/interface', |
michael@0 | 64 | '../trunk/webrtc/peerconnection', |
michael@0 | 65 | '../../libyuv/include', |
michael@0 | 66 | '../../../netwerk/srtp/src/include', |
michael@0 | 67 | '../../../netwerk/srtp/src/crypto/include', |
michael@0 | 68 | '../../../ipc/chromium/src', |
michael@0 | 69 | '../../mtransport/third_party/nrappkit/src/util/libekr', |
michael@0 | 70 | ], |
michael@0 | 71 | |
michael@0 | 72 | # |
michael@0 | 73 | # DEPENDENCIES |
michael@0 | 74 | # |
michael@0 | 75 | 'dependencies': [ |
michael@0 | 76 | ], |
michael@0 | 77 | |
michael@0 | 78 | 'export_dependent_settings': [ |
michael@0 | 79 | ], |
michael@0 | 80 | |
michael@0 | 81 | |
michael@0 | 82 | # |
michael@0 | 83 | # SOURCES |
michael@0 | 84 | # |
michael@0 | 85 | 'sources': [ |
michael@0 | 86 | # Media Conduit |
michael@0 | 87 | './src/media-conduit/AudioConduit.h', |
michael@0 | 88 | './src/media-conduit/AudioConduit.cpp', |
michael@0 | 89 | './src/media-conduit/VideoConduit.h', |
michael@0 | 90 | './src/media-conduit/VideoConduit.cpp', |
michael@0 | 91 | # Common |
michael@0 | 92 | './src/common/CommonTypes.h', |
michael@0 | 93 | './src/common/csf_common.h', |
michael@0 | 94 | './src/common/NullDeleter.h', |
michael@0 | 95 | './src/common/Wrapper.h', |
michael@0 | 96 | './src/common/NullTransport.h', |
michael@0 | 97 | './src/common/YuvStamper.cpp', |
michael@0 | 98 | # Browser Logging |
michael@0 | 99 | './src/common/browser_logging/CSFLog.cpp', |
michael@0 | 100 | './src/common/browser_logging/CSFLog.h', |
michael@0 | 101 | # Browser Logging |
michael@0 | 102 | './src/common/time_profiling/timecard.c', |
michael@0 | 103 | './src/common/time_profiling/timecard.h', |
michael@0 | 104 | # Call Control |
michael@0 | 105 | './src/callcontrol/CC_CallTypes.cpp', |
michael@0 | 106 | './src/callcontrol/CallControlManager.cpp', |
michael@0 | 107 | './src/callcontrol/CallControlManagerImpl.cpp', |
michael@0 | 108 | './src/callcontrol/ECC_Types.cpp', |
michael@0 | 109 | './src/callcontrol/PhoneDetailsImpl.cpp', |
michael@0 | 110 | './src/callcontrol/debug-psipcc-types.cpp', |
michael@0 | 111 | './src/callcontrol/CallControlManagerImpl.h', |
michael@0 | 112 | './src/callcontrol/PhoneDetailsImpl.h', |
michael@0 | 113 | # Media |
michael@0 | 114 | './src/media/CSFAudioControlWrapper.cpp', |
michael@0 | 115 | './src/media/CSFVideoControlWrapper.cpp', |
michael@0 | 116 | './src/media/VcmSIPCCBinding.cpp', |
michael@0 | 117 | './src/media/cip_mmgr_mediadefinitions.h', |
michael@0 | 118 | './src/media/cip_Sipcc_CodecMask.h', |
michael@0 | 119 | './src/media/CSFAudioControlWrapper.h', |
michael@0 | 120 | './src/media/CSFAudioTermination.h', |
michael@0 | 121 | './src/media/CSFMediaProvider.h', |
michael@0 | 122 | './src/media/CSFMediaTermination.h', |
michael@0 | 123 | './src/media/CSFToneDefinitions.h', |
michael@0 | 124 | './src/media/CSFVideoCallMediaControl.h', |
michael@0 | 125 | './src/media/CSFVideoControlWrapper.h', |
michael@0 | 126 | './src/media/CSFVideoTermination.h', |
michael@0 | 127 | './src/media/VcmSIPCCBinding.h', |
michael@0 | 128 | # SoftPhoneWrapper |
michael@0 | 129 | './src/softphonewrapper/CC_SIPCCCall.cpp', |
michael@0 | 130 | './src/softphonewrapper/CC_SIPCCCallInfo.cpp', |
michael@0 | 131 | './src/softphonewrapper/CC_SIPCCCallServerInfo.cpp', |
michael@0 | 132 | './src/softphonewrapper/CC_SIPCCDevice.cpp', |
michael@0 | 133 | './src/softphonewrapper/CC_SIPCCDeviceInfo.cpp', |
michael@0 | 134 | './src/softphonewrapper/CC_SIPCCFeatureInfo.cpp', |
michael@0 | 135 | './src/softphonewrapper/CC_SIPCCLine.cpp', |
michael@0 | 136 | './src/softphonewrapper/CC_SIPCCLineInfo.cpp', |
michael@0 | 137 | './src/softphonewrapper/CC_SIPCCService.cpp', |
michael@0 | 138 | './src/softphonewrapper/ccapi_plat_api_impl.cpp', |
michael@0 | 139 | './src/softphonewrapper/CC_SIPCCCall.h', |
michael@0 | 140 | './src/softphonewrapper/CC_SIPCCCallInfo.h', |
michael@0 | 141 | './src/softphonewrapper/CC_SIPCCCallServerInfo.h', |
michael@0 | 142 | './src/softphonewrapper/CC_SIPCCDevice.h', |
michael@0 | 143 | './src/softphonewrapper/CC_SIPCCDeviceInfo.h', |
michael@0 | 144 | './src/softphonewrapper/CC_SIPCCFeatureInfo.h', |
michael@0 | 145 | './src/softphonewrapper/CC_SIPCCLine.h', |
michael@0 | 146 | './src/softphonewrapper/CC_SIPCCLineInfo.h', |
michael@0 | 147 | './src/softphonewrapper/CC_SIPCCService.h', |
michael@0 | 148 | # PeerConnection |
michael@0 | 149 | './src/peerconnection/MediaStreamList.cpp', |
michael@0 | 150 | './src/peerconnection/MediaStreamList.h', |
michael@0 | 151 | './src/peerconnection/PeerConnectionCtx.cpp', |
michael@0 | 152 | './src/peerconnection/PeerConnectionCtx.h', |
michael@0 | 153 | './src/peerconnection/PeerConnectionImpl.cpp', |
michael@0 | 154 | './src/peerconnection/PeerConnectionImpl.h', |
michael@0 | 155 | './src/peerconnection/PeerConnectionMedia.cpp', |
michael@0 | 156 | './src/peerconnection/PeerConnectionMedia.h', |
michael@0 | 157 | |
michael@0 | 158 | # Media pipeline |
michael@0 | 159 | './src/mediapipeline/MediaPipeline.h', |
michael@0 | 160 | './src/mediapipeline/MediaPipeline.cpp', |
michael@0 | 161 | './src/mediapipeline/MediaPipelineFilter.h', |
michael@0 | 162 | './src/mediapipeline/MediaPipelineFilter.cpp', |
michael@0 | 163 | './src/mediapipeline/SrtpFlow.h', |
michael@0 | 164 | './src/mediapipeline/SrtpFlow.cpp', |
michael@0 | 165 | ], |
michael@0 | 166 | |
michael@0 | 167 | # |
michael@0 | 168 | # DEFINES |
michael@0 | 169 | # |
michael@0 | 170 | |
michael@0 | 171 | 'defines' : [ |
michael@0 | 172 | 'LOG4CXX_STATIC', |
michael@0 | 173 | '_NO_LOG4CXX', |
michael@0 | 174 | 'USE_SSLEAY', |
michael@0 | 175 | '_CPR_USE_EXTERNAL_LOGGER', |
michael@0 | 176 | 'WEBRTC_RELATIVE_PATH', |
michael@0 | 177 | 'HAVE_WEBRTC_VIDEO', |
michael@0 | 178 | 'HAVE_WEBRTC_VOICE', |
michael@0 | 179 | 'HAVE_STDINT_H=1', |
michael@0 | 180 | 'HAVE_STDLIB_H=1', |
michael@0 | 181 | 'HAVE_UINT8_T=1', |
michael@0 | 182 | 'HAVE_UINT16_T=1', |
michael@0 | 183 | 'HAVE_UINT32_T=1', |
michael@0 | 184 | 'HAVE_UINT64_T=1', |
michael@0 | 185 | ], |
michael@0 | 186 | |
michael@0 | 187 | 'cflags_mozilla': [ |
michael@0 | 188 | '$(NSPR_CFLAGS)', |
michael@0 | 189 | '$(NSS_CFLAGS)', |
michael@0 | 190 | '$(MOZ_PIXMAN_CFLAGS)', |
michael@0 | 191 | ], |
michael@0 | 192 | |
michael@0 | 193 | # |
michael@0 | 194 | # Conditionals |
michael@0 | 195 | # |
michael@0 | 196 | 'conditions': [ |
michael@0 | 197 | ['moz_webrtc_omx==1', { |
michael@0 | 198 | 'sources': [ |
michael@0 | 199 | './src/media-conduit/WebrtcOMXH264VideoCodec.cpp', |
michael@0 | 200 | './src/media-conduit/OMXVideoCodec.cpp', |
michael@0 | 201 | ], |
michael@0 | 202 | 'include_dirs': [ |
michael@0 | 203 | '../../../content/media/omx', |
michael@0 | 204 | '../../../gfx/layers/client', |
michael@0 | 205 | ], |
michael@0 | 206 | 'cflags_mozilla': [ |
michael@0 | 207 | '-I$(ANDROID_SOURCE)/frameworks/av/include/media/stagefright', |
michael@0 | 208 | '-I$(ANDROID_SOURCE)/frameworks/av/include', |
michael@0 | 209 | '-I$(ANDROID_SOURCE)/frameworks/native/include/media/openmax', |
michael@0 | 210 | '-I$(ANDROID_SOURCE)/frameworks/native/include', |
michael@0 | 211 | '-I$(ANDROID_SOURCE)/frameworks/native/opengl/include', |
michael@0 | 212 | ], |
michael@0 | 213 | 'defines' : [ |
michael@0 | 214 | 'MOZ_WEBRTC_OMX' |
michael@0 | 215 | ], |
michael@0 | 216 | }], |
michael@0 | 217 | ['build_for_test==0', { |
michael@0 | 218 | 'defines' : [ |
michael@0 | 219 | 'MOZILLA_INTERNAL_API' |
michael@0 | 220 | ], |
michael@0 | 221 | 'sources': [ |
michael@0 | 222 | './src/peerconnection/WebrtcGlobalInformation.cpp', |
michael@0 | 223 | './src/peerconnection/WebrtcGlobalInformation.h', |
michael@0 | 224 | ], |
michael@0 | 225 | }], |
michael@0 | 226 | ['build_for_test!=0', { |
michael@0 | 227 | 'include_dirs': [ |
michael@0 | 228 | './test' |
michael@0 | 229 | ], |
michael@0 | 230 | 'defines' : [ |
michael@0 | 231 | 'NO_CHROMIUM_LOGGING', |
michael@0 | 232 | 'USE_FAKE_MEDIA_STREAMS', |
michael@0 | 233 | 'USE_FAKE_PCOBSERVER' |
michael@0 | 234 | ], |
michael@0 | 235 | }], |
michael@0 | 236 | ['(OS=="linux") or (OS=="android")', { |
michael@0 | 237 | 'include_dirs': [ |
michael@0 | 238 | ], |
michael@0 | 239 | |
michael@0 | 240 | 'defines': [ |
michael@0 | 241 | 'SIP_OS_LINUX', |
michael@0 | 242 | '_GNU_SOURCE', |
michael@0 | 243 | 'LINUX', |
michael@0 | 244 | 'GIPS_VER=3510', |
michael@0 | 245 | 'SECLIB_OPENSSL', |
michael@0 | 246 | ], |
michael@0 | 247 | |
michael@0 | 248 | 'cflags_mozilla': [ |
michael@0 | 249 | ], |
michael@0 | 250 | }], |
michael@0 | 251 | ['OS=="win"', { |
michael@0 | 252 | 'include_dirs': [ |
michael@0 | 253 | ], |
michael@0 | 254 | 'defines': [ |
michael@0 | 255 | 'SIP_OS_WINDOWS', |
michael@0 | 256 | 'WIN32', |
michael@0 | 257 | 'GIPS_VER=3480', |
michael@0 | 258 | 'SIPCC_BUILD', |
michael@0 | 259 | 'HAVE_WINSOCK2_H' |
michael@0 | 260 | ], |
michael@0 | 261 | |
michael@0 | 262 | 'cflags_mozilla': [ |
michael@0 | 263 | ], |
michael@0 | 264 | }], |
michael@0 | 265 | ['os_bsd==1', { |
michael@0 | 266 | 'include_dirs': [ |
michael@0 | 267 | ], |
michael@0 | 268 | 'defines': [ |
michael@0 | 269 | # avoiding pointless ifdef churn |
michael@0 | 270 | 'SIP_OS_OSX', |
michael@0 | 271 | 'OSX', |
michael@0 | 272 | 'SECLIB_OPENSSL', |
michael@0 | 273 | ], |
michael@0 | 274 | |
michael@0 | 275 | 'cflags_mozilla': [ |
michael@0 | 276 | ], |
michael@0 | 277 | }], |
michael@0 | 278 | ['OS=="mac"', { |
michael@0 | 279 | 'include_dirs': [ |
michael@0 | 280 | ], |
michael@0 | 281 | 'defines': [ |
michael@0 | 282 | 'SIP_OS_OSX', |
michael@0 | 283 | 'OSX', |
michael@0 | 284 | '_FORTIFY_SOURCE=2', |
michael@0 | 285 | ], |
michael@0 | 286 | |
michael@0 | 287 | 'cflags_mozilla': [ |
michael@0 | 288 | ], |
michael@0 | 289 | }], |
michael@0 | 290 | ], |
michael@0 | 291 | }, |
michael@0 | 292 | |
michael@0 | 293 | # |
michael@0 | 294 | # SIPCC |
michael@0 | 295 | # |
michael@0 | 296 | { |
michael@0 | 297 | 'target_name': 'sipcc', |
michael@0 | 298 | 'type': 'static_library', |
michael@0 | 299 | |
michael@0 | 300 | # |
michael@0 | 301 | # INCLUDES |
michael@0 | 302 | # |
michael@0 | 303 | 'include_dirs': [ |
michael@0 | 304 | './src/common/browser_logging', |
michael@0 | 305 | './src/common/time_profiling', |
michael@0 | 306 | './src/sipcc/include', |
michael@0 | 307 | './src/sipcc/core/includes', |
michael@0 | 308 | './src/sipcc/cpr/include', |
michael@0 | 309 | './src/sipcc/core/common', |
michael@0 | 310 | './src/sipcc/core/sipstack/h', |
michael@0 | 311 | './src/sipcc/core/ccapp', |
michael@0 | 312 | './src/sipcc/core/sdp', |
michael@0 | 313 | './src/sipcc/core/gsm/h', |
michael@0 | 314 | './src/sipcc/plat/common', |
michael@0 | 315 | '../../../media/mtransport', |
michael@0 | 316 | '../../../dom/base', |
michael@0 | 317 | '../trunk/third_party/libsrtp/srtp/include', |
michael@0 | 318 | '../trunk/third_party/libsrtp/srtp/crypto/include', |
michael@0 | 319 | # Danger: this is to include config.h. This could be bad. |
michael@0 | 320 | '../trunk/third_party/libsrtp/config', |
michael@0 | 321 | '../../../netwerk/sctp/datachannel', |
michael@0 | 322 | ], |
michael@0 | 323 | |
michael@0 | 324 | # |
michael@0 | 325 | # DEPENDENCIES |
michael@0 | 326 | # |
michael@0 | 327 | 'dependencies': [ |
michael@0 | 328 | ], |
michael@0 | 329 | |
michael@0 | 330 | |
michael@0 | 331 | 'export_dependent_settings': [ |
michael@0 | 332 | ], |
michael@0 | 333 | |
michael@0 | 334 | |
michael@0 | 335 | # |
michael@0 | 336 | # SOURCES |
michael@0 | 337 | # |
michael@0 | 338 | 'sources': [ |
michael@0 | 339 | # CCAPP |
michael@0 | 340 | './src/sipcc/core/ccapp/call_logger.c', |
michael@0 | 341 | './src/sipcc/core/ccapp/call_logger.h', |
michael@0 | 342 | './src/sipcc/core/ccapp/capability_set.c', |
michael@0 | 343 | './src/sipcc/core/ccapp/capability_set.h', |
michael@0 | 344 | './src/sipcc/core/ccapp/cc_blf.c', |
michael@0 | 345 | './src/sipcc/core/ccapp/cc_call_feature.c', |
michael@0 | 346 | './src/sipcc/core/ccapp/cc_config.c', |
michael@0 | 347 | './src/sipcc/core/ccapp/cc_device_feature.c', |
michael@0 | 348 | './src/sipcc/core/ccapp/cc_device_manager.c', |
michael@0 | 349 | './src/sipcc/core/ccapp/cc_device_manager.h', |
michael@0 | 350 | './src/sipcc/core/ccapp/cc_info.c', |
michael@0 | 351 | './src/sipcc/core/ccapp/cc_service.c', |
michael@0 | 352 | './src/sipcc/core/ccapp/ccapi_call.c', |
michael@0 | 353 | './src/sipcc/core/ccapp/ccapi_call_info.c', |
michael@0 | 354 | './src/sipcc/core/ccapp/ccapi_config.c', |
michael@0 | 355 | './src/sipcc/core/ccapp/ccapi_device.c', |
michael@0 | 356 | './src/sipcc/core/ccapp/ccapi_device_info.c', |
michael@0 | 357 | './src/sipcc/core/ccapp/ccapi_feature_info.c', |
michael@0 | 358 | './src/sipcc/core/ccapp/ccapi_line.c', |
michael@0 | 359 | './src/sipcc/core/ccapp/ccapi_line_info.c', |
michael@0 | 360 | './src/sipcc/core/ccapp/ccapi_service.c', |
michael@0 | 361 | './src/sipcc/core/ccapp/ccapi_snapshot.c', |
michael@0 | 362 | './src/sipcc/core/ccapp/ccapi_snapshot.h', |
michael@0 | 363 | './src/sipcc/core/ccapp/ccapp_task.c', |
michael@0 | 364 | './src/sipcc/core/ccapp/ccapp_task.h', |
michael@0 | 365 | './src/sipcc/core/ccapp/ccprovider.c', |
michael@0 | 366 | './src/sipcc/core/ccapp/CCProvider.h', |
michael@0 | 367 | './src/sipcc/core/ccapp/conf_roster.c', |
michael@0 | 368 | './src/sipcc/core/ccapp/conf_roster.h', |
michael@0 | 369 | './src/sipcc/core/ccapp/sessionHash.c', |
michael@0 | 370 | './src/sipcc/core/ccapp/sessionHash.h', |
michael@0 | 371 | # COMMON |
michael@0 | 372 | './src/sipcc/core/common/cfgfile_utils.c', |
michael@0 | 373 | './src/sipcc/core/common/cfgfile_utils.h', |
michael@0 | 374 | './src/sipcc/core/common/config_api.c', |
michael@0 | 375 | './src/sipcc/core/common/config_parser.c', |
michael@0 | 376 | './src/sipcc/core/common/config_parser.h', |
michael@0 | 377 | './src/sipcc/core/common/init.c', |
michael@0 | 378 | './src/sipcc/core/common/logger.c', |
michael@0 | 379 | './src/sipcc/core/common/logger.h', |
michael@0 | 380 | './src/sipcc/core/common/logmsg.h', |
michael@0 | 381 | './src/sipcc/core/common/misc.c', |
michael@0 | 382 | './src/sipcc/core/common/plat.c', |
michael@0 | 383 | './src/sipcc/core/common/platform_api.c', |
michael@0 | 384 | './src/sipcc/core/common/prot_cfgmgr_private.h', |
michael@0 | 385 | './src/sipcc/core/common/prot_configmgr.c', |
michael@0 | 386 | './src/sipcc/core/common/prot_configmgr.h', |
michael@0 | 387 | './src/sipcc/core/common/resource_manager.c', |
michael@0 | 388 | './src/sipcc/core/common/resource_manager.h', |
michael@0 | 389 | './src/sipcc/core/common/sip_socket_api.c', |
michael@0 | 390 | './src/sipcc/core/common/subscription_handler.c', |
michael@0 | 391 | './src/sipcc/core/common/subscription_handler.h', |
michael@0 | 392 | './src/sipcc/core/common/text_strings.c', |
michael@0 | 393 | './src/sipcc/core/common/text_strings.h', |
michael@0 | 394 | './src/sipcc/core/common/thread_monitor.h', |
michael@0 | 395 | './src/sipcc/core/common/thread_monitor.c', |
michael@0 | 396 | './src/sipcc/core/common/ui.c', |
michael@0 | 397 | # GSM |
michael@0 | 398 | './src/sipcc/core/gsm/ccapi.c', |
michael@0 | 399 | './src/sipcc/core/gsm/ccapi_strings.c', |
michael@0 | 400 | './src/sipcc/core/gsm/dcsm.c', |
michael@0 | 401 | './src/sipcc/core/gsm/fim.c', |
michael@0 | 402 | './src/sipcc/core/gsm/fsm.c', |
michael@0 | 403 | './src/sipcc/core/gsm/fsmb2bcnf.c', |
michael@0 | 404 | './src/sipcc/core/gsm/fsmcac.c', |
michael@0 | 405 | './src/sipcc/core/gsm/fsmcnf.c', |
michael@0 | 406 | './src/sipcc/core/gsm/fsmdef.c', |
michael@0 | 407 | './src/sipcc/core/gsm/fsmxfr.c', |
michael@0 | 408 | './src/sipcc/core/gsm/gsm.c', |
michael@0 | 409 | './src/sipcc/core/gsm/gsm_sdp.c', |
michael@0 | 410 | './src/sipcc/core/gsm/gsm_sdp_crypto.c', |
michael@0 | 411 | './src/sipcc/core/gsm/lsm.c', |
michael@0 | 412 | './src/sipcc/core/gsm/media_cap_tbl.c', |
michael@0 | 413 | './src/sipcc/core/gsm/sm.c', |
michael@0 | 414 | './src/sipcc/core/gsm/subapi.c', |
michael@0 | 415 | './src/sipcc/core/gsm/h/fim.h', |
michael@0 | 416 | './src/sipcc/core/gsm/h/fsm.h', |
michael@0 | 417 | './src/sipcc/core/gsm/h/gsm.h', |
michael@0 | 418 | './src/sipcc/core/gsm/h/gsm_sdp.h', |
michael@0 | 419 | './src/sipcc/core/gsm/h/lsm.h', |
michael@0 | 420 | './src/sipcc/core/gsm/h/lsm_private.h', |
michael@0 | 421 | './src/sipcc/core/gsm/h/sm.h', |
michael@0 | 422 | # CORE INCLUDES |
michael@0 | 423 | './src/sipcc/core/includes/ccSesion.h', |
michael@0 | 424 | './src/sipcc/core/includes/ccapi.h', |
michael@0 | 425 | './src/sipcc/core/includes/check_sync.h', |
michael@0 | 426 | './src/sipcc/core/includes/ci.h', |
michael@0 | 427 | './src/sipcc/core/includes/codec_mask.h', |
michael@0 | 428 | './src/sipcc/core/includes/config.h', |
michael@0 | 429 | './src/sipcc/core/includes/configapp.h', |
michael@0 | 430 | './src/sipcc/core/includes/configmgr.h', |
michael@0 | 431 | './src/sipcc/core/includes/debug.h', |
michael@0 | 432 | './src/sipcc/core/includes/dialplan.h', |
michael@0 | 433 | './src/sipcc/core/includes/dialplanint.h', |
michael@0 | 434 | './src/sipcc/core/includes/digcalc.h', |
michael@0 | 435 | './src/sipcc/core/includes/dns_utils.h', |
michael@0 | 436 | './src/sipcc/core/includes/dtmf.h', |
michael@0 | 437 | './src/sipcc/core/includes/embedded.h', |
michael@0 | 438 | './src/sipcc/core/includes/fsmdef_states.h', |
michael@0 | 439 | './src/sipcc/core/includes/intelpentiumtypes.h', |
michael@0 | 440 | './src/sipcc/core/includes/kpml_common_util.h', |
michael@0 | 441 | './src/sipcc/core/includes/kpmlmap.h', |
michael@0 | 442 | './src/sipcc/core/includes/md5.h', |
michael@0 | 443 | './src/sipcc/core/includes/memory.h', |
michael@0 | 444 | './src/sipcc/core/includes/misc_apps_task.h', |
michael@0 | 445 | './src/sipcc/core/includes/misc_util.h', |
michael@0 | 446 | './src/sipcc/core/includes/phntask.h', |
michael@0 | 447 | './src/sipcc/core/includes/phone.h', |
michael@0 | 448 | './src/sipcc/core/includes/phone_debug.h', |
michael@0 | 449 | './src/sipcc/core/includes/phone_platform_constants.h', |
michael@0 | 450 | './src/sipcc/core/includes/phone_types.h', |
michael@0 | 451 | './src/sipcc/core/includes/platform_api.h', |
michael@0 | 452 | './src/sipcc/core/includes/pres_sub_not_handler.h', |
michael@0 | 453 | './src/sipcc/core/includes/publish_int.h', |
michael@0 | 454 | './src/sipcc/core/includes/regexp.h', |
michael@0 | 455 | './src/sipcc/core/includes/ringlist.h', |
michael@0 | 456 | './src/sipcc/core/includes/rtp_defs.h', |
michael@0 | 457 | './src/sipcc/core/includes/session.h', |
michael@0 | 458 | './src/sipcc/core/includes/sessionConstants.h', |
michael@0 | 459 | './src/sipcc/core/includes/sessionTypes.h', |
michael@0 | 460 | './src/sipcc/core/includes/sessuri.h', |
michael@0 | 461 | './src/sipcc/core/includes/singly_link_list.h', |
michael@0 | 462 | './src/sipcc/core/includes/sip_socket_api.h', |
michael@0 | 463 | './src/sipcc/core/includes/sntp.h', |
michael@0 | 464 | './src/sipcc/core/includes/string_lib.h', |
michael@0 | 465 | './src/sipcc/core/includes/subapi.h', |
michael@0 | 466 | './src/sipcc/core/includes/task.h', |
michael@0 | 467 | './src/sipcc/core/includes/time2.h', |
michael@0 | 468 | './src/sipcc/core/includes/timer.h', |
michael@0 | 469 | './src/sipcc/core/includes/tnpphone.h', |
michael@0 | 470 | './src/sipcc/core/includes/uart.h', |
michael@0 | 471 | './src/sipcc/core/includes/uiapi.h', |
michael@0 | 472 | './src/sipcc/core/includes/upgrade.h', |
michael@0 | 473 | './src/sipcc/core/includes/util_ios_queue.h', |
michael@0 | 474 | './src/sipcc/core/includes/util_parse.h', |
michael@0 | 475 | './src/sipcc/core/includes/util_string.h', |
michael@0 | 476 | './src/sipcc/core/includes/www.h', |
michael@0 | 477 | './src/sipcc/core/includes/xml_defs.h', |
michael@0 | 478 | # SDP |
michael@0 | 479 | './src/sipcc/core/sdp/ccsdp.c', |
michael@0 | 480 | './src/sipcc/core/sdp/sdp_access.c', |
michael@0 | 481 | './src/sipcc/core/sdp/sdp_attr.c', |
michael@0 | 482 | './src/sipcc/core/sdp/sdp_attr_access.c', |
michael@0 | 483 | './src/sipcc/core/sdp/sdp_base64.c', |
michael@0 | 484 | './src/sipcc/core/sdp/sdp_config.c', |
michael@0 | 485 | './src/sipcc/core/sdp/sdp_main.c', |
michael@0 | 486 | './src/sipcc/core/sdp/sdp_token.c', |
michael@0 | 487 | './src/sipcc/core/sdp/sdp.h', |
michael@0 | 488 | './src/sipcc/core/sdp/sdp_base64.h', |
michael@0 | 489 | './src/sipcc/core/sdp/sdp_os_defs.h', |
michael@0 | 490 | './src/sipcc/core/sdp/sdp_private.h', |
michael@0 | 491 | './src/sipcc/core/sdp/sdp_utils.c', |
michael@0 | 492 | './src/sipcc/core/sdp/sdp_services_unix.c', |
michael@0 | 493 | # SIPSTACK |
michael@0 | 494 | './src/sipcc/core/sipstack/ccsip_callinfo.c', |
michael@0 | 495 | './src/sipcc/core/sipstack/ccsip_cc.c', |
michael@0 | 496 | './src/sipcc/core/sipstack/ccsip_common_util.c', |
michael@0 | 497 | './src/sipcc/core/sipstack/ccsip_core.c', |
michael@0 | 498 | './src/sipcc/core/sipstack/ccsip_debug.c', |
michael@0 | 499 | './src/sipcc/core/sipstack/ccsip_info.c', |
michael@0 | 500 | './src/sipcc/core/sipstack/ccsip_messaging.c', |
michael@0 | 501 | './src/sipcc/core/sipstack/ccsip_platform.c', |
michael@0 | 502 | './src/sipcc/core/sipstack/ccsip_platform_tcp.c', |
michael@0 | 503 | './src/sipcc/core/sipstack/ccsip_platform_timers.c', |
michael@0 | 504 | './src/sipcc/core/sipstack/ccsip_platform_tls.c', |
michael@0 | 505 | './src/sipcc/core/sipstack/ccsip_platform_udp.c', |
michael@0 | 506 | './src/sipcc/core/sipstack/ccsip_pmh.c', |
michael@0 | 507 | './src/sipcc/core/sipstack/ccsip_publish.c', |
michael@0 | 508 | './src/sipcc/core/sipstack/ccsip_register.c', |
michael@0 | 509 | './src/sipcc/core/sipstack/ccsip_reldev.c', |
michael@0 | 510 | './src/sipcc/core/sipstack/ccsip_sdp.c', |
michael@0 | 511 | './src/sipcc/core/sipstack/ccsip_spi_utils.c', |
michael@0 | 512 | './src/sipcc/core/sipstack/ccsip_subsmanager.c', |
michael@0 | 513 | './src/sipcc/core/sipstack/ccsip_task.c', |
michael@0 | 514 | './src/sipcc/core/sipstack/httpish.c', |
michael@0 | 515 | './src/sipcc/core/sipstack/pmhutils.c', |
michael@0 | 516 | './src/sipcc/core/sipstack/sip_common_regmgr.c', |
michael@0 | 517 | './src/sipcc/core/sipstack/sip_common_transport.c', |
michael@0 | 518 | './src/sipcc/core/sipstack/sip_csps_transport.c', |
michael@0 | 519 | './src/sipcc/core/sipstack/sip_interface_regmgr.c', |
michael@0 | 520 | './src/sipcc/core/sipstack/h/ccsip_callinfo.h', |
michael@0 | 521 | './src/sipcc/core/sipstack/h/ccsip_cc.h', |
michael@0 | 522 | './src/sipcc/core/sipstack/h/ccsip_common_cb.h', |
michael@0 | 523 | './src/sipcc/core/sipstack/h/ccsip_core.h', |
michael@0 | 524 | './src/sipcc/core/sipstack/h/ccsip_credentials.h', |
michael@0 | 525 | './src/sipcc/core/sipstack/h/ccsip_macros.h', |
michael@0 | 526 | './src/sipcc/core/sipstack/h/ccsip_messaging.h', |
michael@0 | 527 | './src/sipcc/core/sipstack/h/ccsip_platform.h', |
michael@0 | 528 | './src/sipcc/core/sipstack/h/ccsip_platform_tcp.h', |
michael@0 | 529 | './src/sipcc/core/sipstack/h/ccsip_platform_timers.h', |
michael@0 | 530 | './src/sipcc/core/sipstack/h/ccsip_platform_tls.h', |
michael@0 | 531 | './src/sipcc/core/sipstack/h/ccsip_platform_udp.h', |
michael@0 | 532 | './src/sipcc/core/sipstack/h/ccsip_pmh.h', |
michael@0 | 533 | './src/sipcc/core/sipstack/h/ccsip_protocol.h', |
michael@0 | 534 | './src/sipcc/core/sipstack/h/ccsip_publish.h', |
michael@0 | 535 | './src/sipcc/core/sipstack/h/ccsip_register.h', |
michael@0 | 536 | './src/sipcc/core/sipstack/h/ccsip_reldev.h', |
michael@0 | 537 | './src/sipcc/core/sipstack/h/ccsip_sdp.h', |
michael@0 | 538 | './src/sipcc/core/sipstack/h/ccsip_sim.h', |
michael@0 | 539 | './src/sipcc/core/sipstack/h/ccsip_spi_utils.h', |
michael@0 | 540 | './src/sipcc/core/sipstack/h/ccsip_subsmanager.h', |
michael@0 | 541 | './src/sipcc/core/sipstack/h/ccsip_task.h', |
michael@0 | 542 | './src/sipcc/core/sipstack/h/httpish.h', |
michael@0 | 543 | './src/sipcc/core/sipstack/h/httpish_protocol.h', |
michael@0 | 544 | './src/sipcc/core/sipstack/h/pmhdefs.h', |
michael@0 | 545 | './src/sipcc/core/sipstack/h/pmhutils.h', |
michael@0 | 546 | './src/sipcc/core/sipstack/h/regmgrapi.h', |
michael@0 | 547 | './src/sipcc/core/sipstack/h/sip_ccm_transport.h', |
michael@0 | 548 | './src/sipcc/core/sipstack/h/sip_common_regmgr.h', |
michael@0 | 549 | './src/sipcc/core/sipstack/h/sip_common_transport.h', |
michael@0 | 550 | './src/sipcc/core/sipstack/h/sip_csps_transport.h', |
michael@0 | 551 | './src/sipcc/core/sipstack/h/sip_interface_regmgr.h', |
michael@0 | 552 | './src/sipcc/core/sipstack/h/sip_platform_task.h', |
michael@0 | 553 | # SRC-COMMON |
michael@0 | 554 | './src/sipcc/core/src-common/configapp.c', |
michael@0 | 555 | './src/sipcc/core/src-common/dialplan.c', |
michael@0 | 556 | './src/sipcc/core/src-common/dialplanint.c', |
michael@0 | 557 | './src/sipcc/core/src-common/digcalc.c', |
michael@0 | 558 | './src/sipcc/core/src-common/kpml_common_util.c', |
michael@0 | 559 | './src/sipcc/core/src-common/kpmlmap.c', |
michael@0 | 560 | './src/sipcc/core/src-common/md5.c', |
michael@0 | 561 | './src/sipcc/core/src-common/misc_apps_task.c', |
michael@0 | 562 | './src/sipcc/core/src-common/pres_sub_not_handler.c', |
michael@0 | 563 | './src/sipcc/core/src-common/publish_int.c', |
michael@0 | 564 | './src/sipcc/core/src-common/singly_link_list.c', |
michael@0 | 565 | './src/sipcc/core/src-common/sll_lite.c', |
michael@0 | 566 | './src/sipcc/core/src-common/string_lib.c', |
michael@0 | 567 | './src/sipcc/core/src-common/util_ios_queue.c', |
michael@0 | 568 | './src/sipcc/core/src-common/util_parse.c', |
michael@0 | 569 | './src/sipcc/core/src-common/util_string.c', |
michael@0 | 570 | # CPR |
michael@0 | 571 | './src/sipcc/cpr/include/cpr.h', |
michael@0 | 572 | './src/sipcc/cpr/include/cpr_assert.h', |
michael@0 | 573 | './src/sipcc/cpr/include/cpr_debug.h', |
michael@0 | 574 | './src/sipcc/cpr/include/cpr_errno.h', |
michael@0 | 575 | './src/sipcc/cpr/include/cpr_in.h', |
michael@0 | 576 | './src/sipcc/cpr/include/cpr_ipc.h', |
michael@0 | 577 | './src/sipcc/cpr/include/cpr_locks.h', |
michael@0 | 578 | './src/sipcc/cpr/include/cpr_memory.h', |
michael@0 | 579 | './src/sipcc/cpr/include/cpr_rand.h', |
michael@0 | 580 | './src/sipcc/cpr/include/cpr_socket.h', |
michael@0 | 581 | './src/sipcc/cpr/include/cpr_stddef.h', |
michael@0 | 582 | './src/sipcc/cpr/include/cpr_stdio.h', |
michael@0 | 583 | './src/sipcc/cpr/include/cpr_stdlib.h', |
michael@0 | 584 | './src/sipcc/cpr/include/cpr_string.h', |
michael@0 | 585 | './src/sipcc/cpr/include/cpr_strings.h', |
michael@0 | 586 | './src/sipcc/cpr/include/cpr_threads.h', |
michael@0 | 587 | './src/sipcc/cpr/include/cpr_time.h', |
michael@0 | 588 | './src/sipcc/cpr/include/cpr_timers.h', |
michael@0 | 589 | './src/sipcc/cpr/include/cpr_types.h', |
michael@0 | 590 | './src/sipcc/cpr/common/cpr_ipc.c', |
michael@0 | 591 | './src/sipcc/cpr/common/cpr_string.c', |
michael@0 | 592 | # INCLUDE |
michael@0 | 593 | './src/sipcc/include/cc_blf.h', |
michael@0 | 594 | './src/sipcc/include/cc_blf_listener.h', |
michael@0 | 595 | './src/sipcc/include/cc_call_feature.h', |
michael@0 | 596 | './src/sipcc/include/cc_call_listener.h', |
michael@0 | 597 | './src/sipcc/include/cc_config.h', |
michael@0 | 598 | './src/sipcc/include/cc_constants.h', |
michael@0 | 599 | './src/sipcc/include/cc_debug.h', |
michael@0 | 600 | './src/sipcc/include/cc_device_feature.h', |
michael@0 | 601 | './src/sipcc/include/cc_device_listener.h', |
michael@0 | 602 | './src/sipcc/include/cc_info.h', |
michael@0 | 603 | './src/sipcc/include/cc_info_listener.h', |
michael@0 | 604 | './src/sipcc/include/cc_service.h', |
michael@0 | 605 | './src/sipcc/include/cc_service_listener.h', |
michael@0 | 606 | './src/sipcc/include/cc_types.h', |
michael@0 | 607 | './src/sipcc/include/ccapi_call.h', |
michael@0 | 608 | './src/sipcc/include/ccapi_call_info.h', |
michael@0 | 609 | './src/sipcc/include/ccapi_call_listener.h', |
michael@0 | 610 | './src/sipcc/include/ccapi_calllog.h', |
michael@0 | 611 | './src/sipcc/include/ccapi_conf_roster.h', |
michael@0 | 612 | './src/sipcc/include/ccapi_device.h', |
michael@0 | 613 | './src/sipcc/include/ccapi_device_info.h', |
michael@0 | 614 | './src/sipcc/include/ccapi_device_listener.h', |
michael@0 | 615 | './src/sipcc/include/ccapi_feature_info.h', |
michael@0 | 616 | './src/sipcc/include/ccapi_line.h', |
michael@0 | 617 | './src/sipcc/include/ccapi_line_info.h', |
michael@0 | 618 | './src/sipcc/include/ccapi_line_listener.h', |
michael@0 | 619 | './src/sipcc/include/ccapi_service.h', |
michael@0 | 620 | './src/sipcc/include/ccapi_types.h', |
michael@0 | 621 | './src/sipcc/include/ccsdp.h', |
michael@0 | 622 | './src/sipcc/include/ccsdp_rtcp_fb.h', |
michael@0 | 623 | './src/sipcc/include/config_api.h', |
michael@0 | 624 | './src/sipcc/include/dns_util.h', |
michael@0 | 625 | './src/sipcc/include/plat_api.h', |
michael@0 | 626 | './src/sipcc/include/reset_api.h', |
michael@0 | 627 | './src/sipcc/include/sll_lite.h', |
michael@0 | 628 | './src/sipcc/include/vcm.h', |
michael@0 | 629 | './src/sipcc/include/xml_parser_defines.h', |
michael@0 | 630 | |
michael@0 | 631 | # PLAT |
michael@0 | 632 | './src/sipcc/plat/csf2g/model.c', |
michael@0 | 633 | './src/sipcc/plat/csf2g/reset_api.c', |
michael@0 | 634 | # |
michael@0 | 635 | # './src/sipcc/plat/common/plat_debug.h', |
michael@0 | 636 | # './src/sipcc/plat/common/tnp_blf.h', |
michael@0 | 637 | |
michael@0 | 638 | # STUB |
michael@0 | 639 | #'./src/sipcc/stub/cc_blf_stub.c', |
michael@0 | 640 | #'./src/sipcc/stub/vcm_stub.c', |
michael@0 | 641 | |
michael@0 | 642 | ], |
michael@0 | 643 | |
michael@0 | 644 | # |
michael@0 | 645 | # DEFINES |
michael@0 | 646 | # |
michael@0 | 647 | |
michael@0 | 648 | 'defines' : [ |
michael@0 | 649 | # CPR timers are needed by SIP, but are disabled for now |
michael@0 | 650 | # to avoid the extra timer thread and stale cleanup code |
michael@0 | 651 | # 'CPR_TIMERS_ENABLED', |
michael@0 | 652 | ], |
michael@0 | 653 | |
michael@0 | 654 | 'cflags_mozilla': [ |
michael@0 | 655 | '$(NSPR_CFLAGS)', |
michael@0 | 656 | ], |
michael@0 | 657 | |
michael@0 | 658 | # |
michael@0 | 659 | # OS SPECIFIC |
michael@0 | 660 | # |
michael@0 | 661 | 'conditions': [ |
michael@0 | 662 | ['(OS=="android") or (OS=="linux")', { |
michael@0 | 663 | 'include_dirs': [ |
michael@0 | 664 | ], |
michael@0 | 665 | |
michael@0 | 666 | 'defines' : [ |
michael@0 | 667 | 'SIP_OS_LINUX', |
michael@0 | 668 | '_GNU_SOURCE', |
michael@0 | 669 | 'CPR_MEMORY_LITTLE_ENDIAN', |
michael@0 | 670 | 'NO_SOCKET_POLLING', |
michael@0 | 671 | 'USE_TIMER_SELECT_BASED', |
michael@0 | 672 | 'FULL_BUILD', |
michael@0 | 673 | 'STUBBED_OUT', |
michael@0 | 674 | 'USE_PRINTF' |
michael@0 | 675 | 'LINUX', |
michael@0 | 676 | ], |
michael@0 | 677 | |
michael@0 | 678 | 'cflags_mozilla': [ |
michael@0 | 679 | ], |
michael@0 | 680 | }], |
michael@0 | 681 | ['OS=="android"', { |
michael@0 | 682 | 'sources': [ |
michael@0 | 683 | # SIPSTACK |
michael@0 | 684 | './src/sipcc/core/sipstack/sip_platform_task.c', |
michael@0 | 685 | |
michael@0 | 686 | # PLAT |
michael@0 | 687 | './src/sipcc/plat/common/dns_utils.c', |
michael@0 | 688 | |
michael@0 | 689 | # CPR |
michael@0 | 690 | './src/sipcc/cpr/android/cpr_android_errno.c', |
michael@0 | 691 | './src/sipcc/cpr/android/cpr_android_init.c', |
michael@0 | 692 | './src/sipcc/cpr/android/cpr_android_socket.c', |
michael@0 | 693 | './src/sipcc/cpr/android/cpr_android_stdio.c', |
michael@0 | 694 | './src/sipcc/cpr/android/cpr_android_string.c', |
michael@0 | 695 | './src/sipcc/cpr/android/cpr_android_threads.c', |
michael@0 | 696 | './src/sipcc/cpr/android/cpr_android_timers_using_select.c', |
michael@0 | 697 | |
michael@0 | 698 | './src/sipcc/cpr/android/cpr_assert.h', |
michael@0 | 699 | './src/sipcc/cpr/android/cpr_android_align.h', |
michael@0 | 700 | './src/sipcc/cpr/android/cpr_android_assert.h', |
michael@0 | 701 | './src/sipcc/cpr/android/cpr_android_errno.h', |
michael@0 | 702 | './src/sipcc/cpr/android/cpr_android_in.h', |
michael@0 | 703 | './src/sipcc/cpr/android/cpr_android_private.h', |
michael@0 | 704 | './src/sipcc/cpr/android/cpr_android_rand.h', |
michael@0 | 705 | './src/sipcc/cpr/android/cpr_android_socket.h', |
michael@0 | 706 | './src/sipcc/cpr/android/cpr_android_stdio.h', |
michael@0 | 707 | './src/sipcc/cpr/android/cpr_android_string.h', |
michael@0 | 708 | './src/sipcc/cpr/android/cpr_android_strings.h', |
michael@0 | 709 | './src/sipcc/cpr/android/cpr_android_time.h', |
michael@0 | 710 | './src/sipcc/cpr/android/cpr_android_timers.h', |
michael@0 | 711 | './src/sipcc/cpr/android/cpr_android_tst.h', |
michael@0 | 712 | './src/sipcc/cpr/android/cpr_android_types.h', |
michael@0 | 713 | ], |
michael@0 | 714 | }], |
michael@0 | 715 | ['OS=="linux"', { |
michael@0 | 716 | 'sources': [ |
michael@0 | 717 | # SIPSTACK |
michael@0 | 718 | './src/sipcc/core/sipstack/sip_platform_task.c', |
michael@0 | 719 | |
michael@0 | 720 | # PLAT |
michael@0 | 721 | './src/sipcc/plat/common/dns_utils.c', |
michael@0 | 722 | |
michael@0 | 723 | # CPR |
michael@0 | 724 | './src/sipcc/cpr/linux/cpr_linux_errno.c', |
michael@0 | 725 | './src/sipcc/cpr/linux/cpr_linux_init.c', |
michael@0 | 726 | './src/sipcc/cpr/linux/cpr_linux_socket.c', |
michael@0 | 727 | './src/sipcc/cpr/linux/cpr_linux_stdio.c', |
michael@0 | 728 | './src/sipcc/cpr/linux/cpr_linux_string.c', |
michael@0 | 729 | './src/sipcc/cpr/linux/cpr_linux_threads.c', |
michael@0 | 730 | './src/sipcc/cpr/linux/cpr_linux_timers_using_select.c', |
michael@0 | 731 | |
michael@0 | 732 | './src/sipcc/cpr/linux/cpr_assert.h', |
michael@0 | 733 | './src/sipcc/cpr/linux/cpr_linux_align.h', |
michael@0 | 734 | './src/sipcc/cpr/linux/cpr_linux_assert.h', |
michael@0 | 735 | './src/sipcc/cpr/linux/cpr_linux_errno.h', |
michael@0 | 736 | './src/sipcc/cpr/linux/cpr_linux_in.h', |
michael@0 | 737 | './src/sipcc/cpr/linux/cpr_linux_private.h', |
michael@0 | 738 | './src/sipcc/cpr/linux/cpr_linux_rand.h', |
michael@0 | 739 | './src/sipcc/cpr/linux/cpr_linux_socket.h', |
michael@0 | 740 | './src/sipcc/cpr/linux/cpr_linux_stdio.h', |
michael@0 | 741 | './src/sipcc/cpr/linux/cpr_linux_string.h', |
michael@0 | 742 | './src/sipcc/cpr/linux/cpr_linux_strings.h', |
michael@0 | 743 | './src/sipcc/cpr/linux/cpr_linux_time.h', |
michael@0 | 744 | './src/sipcc/cpr/linux/cpr_linux_timers.h', |
michael@0 | 745 | './src/sipcc/cpr/linux/cpr_linux_tst.h', |
michael@0 | 746 | './src/sipcc/cpr/linux/cpr_linux_types.h', |
michael@0 | 747 | |
michael@0 | 748 | ], |
michael@0 | 749 | }], |
michael@0 | 750 | ['OS=="win"', { |
michael@0 | 751 | 'include_dirs': [ |
michael@0 | 752 | ], |
michael@0 | 753 | |
michael@0 | 754 | 'sources': [ |
michael@0 | 755 | # SIPSTACK |
michael@0 | 756 | './src/sipcc/core/sipstack/sip_platform_win32_task.c', |
michael@0 | 757 | |
michael@0 | 758 | # PLAT |
michael@0 | 759 | './src/sipcc/plat/win32/dns_utils.c', |
michael@0 | 760 | './src/sipcc/plat/win32/mystub.c', |
michael@0 | 761 | './src/sipcc/plat/win32/plat_api_stub.c', |
michael@0 | 762 | './src/sipcc/plat/win32/plat_api_win.c', |
michael@0 | 763 | './src/sipcc/plat/win32/StdAfx.h', |
michael@0 | 764 | |
michael@0 | 765 | # CPR |
michael@0 | 766 | './src/sipcc/cpr/win32/cpr_win_assert.h', |
michael@0 | 767 | './src/sipcc/cpr/win32/cpr_win_debug.c', |
michael@0 | 768 | './src/sipcc/cpr/win32/cpr_win_debug.h', |
michael@0 | 769 | './src/sipcc/cpr/win32/cpr_win_defines.h', |
michael@0 | 770 | './src/sipcc/cpr/win32/cpr_win_errno.c', |
michael@0 | 771 | './src/sipcc/cpr/win32/cpr_win_errno.h', |
michael@0 | 772 | './src/sipcc/cpr/win32/cpr_win_in.h', |
michael@0 | 773 | './src/sipcc/cpr/win32/cpr_win_init.c', |
michael@0 | 774 | './src/sipcc/cpr/win32/cpr_win_locks.c', |
michael@0 | 775 | './src/sipcc/cpr/win32/cpr_win_locks.h', |
michael@0 | 776 | './src/sipcc/cpr/win32/cpr_win_rand.c', |
michael@0 | 777 | './src/sipcc/cpr/win32/cpr_win_rand.h', |
michael@0 | 778 | './src/sipcc/cpr/win32/cpr_win_socket.c', |
michael@0 | 779 | './src/sipcc/cpr/win32/cpr_win_socket.h', |
michael@0 | 780 | './src/sipcc/cpr/win32/cpr_win_stdio.c', |
michael@0 | 781 | './src/sipcc/cpr/win32/cpr_win_stdio.h', |
michael@0 | 782 | './src/sipcc/cpr/win32/cpr_win_string.c', |
michael@0 | 783 | './src/sipcc/cpr/win32/cpr_win_string.h', |
michael@0 | 784 | './src/sipcc/cpr/win32/cpr_win_strings.h', |
michael@0 | 785 | './src/sipcc/cpr/win32/cpr_win_threads.c', |
michael@0 | 786 | './src/sipcc/cpr/win32/cpr_win_time.h', |
michael@0 | 787 | './src/sipcc/cpr/win32/cpr_win_timers.c', |
michael@0 | 788 | './src/sipcc/cpr/win32/cpr_win_timers.h', |
michael@0 | 789 | './src/sipcc/cpr/win32/cpr_win_types.h', |
michael@0 | 790 | |
michael@0 | 791 | ], |
michael@0 | 792 | |
michael@0 | 793 | 'defines' : [ |
michael@0 | 794 | 'SIP_OS_WINDOWS', |
michael@0 | 795 | 'WIN32', |
michael@0 | 796 | 'SIPCC_BUILD', |
michael@0 | 797 | 'SDP_WIN32', |
michael@0 | 798 | 'STUBBED_OUT', |
michael@0 | 799 | 'EXTERNAL_TICK_REQUIRED', |
michael@0 | 800 | 'GIPS_VER=3480', |
michael@0 | 801 | ], |
michael@0 | 802 | |
michael@0 | 803 | 'cflags_mozilla': [ |
michael@0 | 804 | ], |
michael@0 | 805 | |
michael@0 | 806 | }], |
michael@0 | 807 | ['OS=="mac" or os_bsd==1', { |
michael@0 | 808 | |
michael@0 | 809 | 'include_dirs': [ |
michael@0 | 810 | ], |
michael@0 | 811 | |
michael@0 | 812 | 'sources': [ |
michael@0 | 813 | # SIPSTACK |
michael@0 | 814 | './src/sipcc/core/sipstack/sip_platform_task.c', |
michael@0 | 815 | |
michael@0 | 816 | # PLAT |
michael@0 | 817 | './src/sipcc/plat/common/dns_utils.c', |
michael@0 | 818 | #'./src/sipcc/plat/darwin/netif.c', |
michael@0 | 819 | './src/sipcc/plat/darwin/plat_api_stub.c', |
michael@0 | 820 | #'./src/sipcc/plat/unix-common/random.c', |
michael@0 | 821 | |
michael@0 | 822 | # CPR |
michael@0 | 823 | './src/sipcc/cpr/darwin/cpr_darwin_assert.h', |
michael@0 | 824 | './src/sipcc/cpr/darwin/cpr_darwin_errno.c', |
michael@0 | 825 | './src/sipcc/cpr/darwin/cpr_darwin_errno.h', |
michael@0 | 826 | './src/sipcc/cpr/darwin/cpr_darwin_in.h', |
michael@0 | 827 | './src/sipcc/cpr/darwin/cpr_darwin_init.c', |
michael@0 | 828 | './src/sipcc/cpr/darwin/cpr_darwin_private.h', |
michael@0 | 829 | './src/sipcc/cpr/darwin/cpr_darwin_rand.h', |
michael@0 | 830 | './src/sipcc/cpr/darwin/cpr_darwin_socket.c', |
michael@0 | 831 | './src/sipcc/cpr/darwin/cpr_darwin_socket.h', |
michael@0 | 832 | './src/sipcc/cpr/darwin/cpr_darwin_stdio.c', |
michael@0 | 833 | './src/sipcc/cpr/darwin/cpr_darwin_stdio.h', |
michael@0 | 834 | './src/sipcc/cpr/darwin/cpr_darwin_string.c', |
michael@0 | 835 | './src/sipcc/cpr/darwin/cpr_darwin_string.h', |
michael@0 | 836 | './src/sipcc/cpr/darwin/cpr_darwin_strings.h', |
michael@0 | 837 | './src/sipcc/cpr/darwin/cpr_darwin_threads.c', |
michael@0 | 838 | './src/sipcc/cpr/darwin/cpr_darwin_time.h', |
michael@0 | 839 | './src/sipcc/cpr/darwin/cpr_darwin_timers.h', |
michael@0 | 840 | './src/sipcc/cpr/darwin/cpr_darwin_timers_using_select.c', |
michael@0 | 841 | './src/sipcc/cpr/darwin/cpr_darwin_tst.h', |
michael@0 | 842 | './src/sipcc/cpr/darwin/cpr_darwin_types.h', |
michael@0 | 843 | ], |
michael@0 | 844 | |
michael@0 | 845 | |
michael@0 | 846 | 'conditions': [ |
michael@0 | 847 | ['OS=="mac"', { |
michael@0 | 848 | 'defines' : [ |
michael@0 | 849 | 'SIP_OS_OSX', |
michael@0 | 850 | '_POSIX_SOURCE', |
michael@0 | 851 | 'CPR_MEMORY_LITTLE_ENDIAN', |
michael@0 | 852 | 'NO_SOCKET_POLLING', |
michael@0 | 853 | 'USE_TIMER_SELECT_BASED', |
michael@0 | 854 | 'FULL_BUILD', |
michael@0 | 855 | 'STUBBED_OUT', |
michael@0 | 856 | 'USE_PRINTF', |
michael@0 | 857 | '_DARWIN_C_SOURCE', |
michael@0 | 858 | 'NO_NSPR_10_SUPPORT', |
michael@0 | 859 | ], |
michael@0 | 860 | }], |
michael@0 | 861 | ['os_bsd==1', { |
michael@0 | 862 | 'defines' : [ |
michael@0 | 863 | 'SIP_OS_OSX', |
michael@0 | 864 | 'CPR_MEMORY_LITTLE_ENDIAN', |
michael@0 | 865 | 'NO_SOCKET_POLLING', |
michael@0 | 866 | 'USE_TIMER_SELECT_BASED', |
michael@0 | 867 | 'FULL_BUILD', |
michael@0 | 868 | 'STUBBED_OUT', |
michael@0 | 869 | 'USE_PRINTF', |
michael@0 | 870 | 'NO_NSPR_10_SUPPORT', |
michael@0 | 871 | ], |
michael@0 | 872 | }], |
michael@0 | 873 | ], |
michael@0 | 874 | 'cflags_mozilla': [ |
michael@0 | 875 | ], |
michael@0 | 876 | }], |
michael@0 | 877 | ], |
michael@0 | 878 | |
michael@0 | 879 | }, |
michael@0 | 880 | ], |
michael@0 | 881 | } |
michael@0 | 882 | |
michael@0 | 883 | # Local Variables: |
michael@0 | 884 | # tab-width:2 |
michael@0 | 885 | # indent-tabs-mode:nil |
michael@0 | 886 | # End: |
michael@0 | 887 | # vim: set expandtab tabstop=2 shiftwidth=2: |