mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
5fe54ea0fd
CLOSED TREE Backed out changeset 7f72b55c5de7 (bug 1091242) Backed out changeset f1501aa24397 (bug 1091242) Backed out changeset 7fde5994aee5 (bug 1091242) Backed out changeset 59b415714087 (bug 1091242) Backed out changeset dadb65fedc08 (bug 1091242) Backed out changeset 21be81424e4e (bug 1091242) Backed out changeset 498fb1dafba5 (bug 1091242) Backed out changeset 8d0653eb85ab (bug 1091242) Backed out changeset c82d484e135a (bug 1091242) Backed out changeset 3e0c8932f1b1 (bug 1091242)
121 lines
7.6 KiB
Python
121 lines
7.6 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
include('/build/gyp.mozbuild')
|
|
|
|
webrtc_non_unified_sources = [
|
|
'trunk/webrtc/common_audio/vad/vad_core.c', # Because of name clash in the kInitCheck variable
|
|
'trunk/webrtc/common_audio/vad/webrtc_vad.c', # Because of name clash in the kInitCheck variable
|
|
'trunk/webrtc/modules/audio_coding/codecs/g722/g722_decode.c', # Because of name clash in the saturate function
|
|
'trunk/webrtc/modules/audio_coding/codecs/g722/g722_encode.c', # Because of name clash in the saturate function
|
|
'trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c', # Because of name clash in the kDampFilter variable
|
|
'trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c', # Because of name clash in the kDampFilter variable
|
|
'trunk/webrtc/modules/audio_coding/neteq4/audio_vector.cc', # Because of explicit template specializations
|
|
'trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc', # Because of LATE()
|
|
'trunk/webrtc/modules/audio_device/linux/audio_mixer_manager_pulse_linux.cc',# Because of LATE()
|
|
'trunk/webrtc/modules/audio_device/opensl/opensles_input.cc', # Because of name clash in the kOption variable
|
|
'trunk/webrtc/modules/audio_device/opensl/opensles_output.cc', # Because of name clash in the kOption variable
|
|
'trunk/webrtc/modules/audio_device/opensl/single_rw_fifo.cc', # Because of name clash with #define FF
|
|
'trunk/webrtc/modules/audio_device/win/audio_device_core_win.cc', # Because of ordering assumptions in strsafe.h
|
|
'trunk/webrtc/modules/audio_processing/aec/aec_core.c', # Because of name clash in the ComfortNoise function
|
|
'trunk/webrtc/modules/audio_processing/aecm/aecm_core.c', # Because of name clash in the ComfortNoise function
|
|
'trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.c', # Because of name clash in the kInitCheck variable
|
|
'trunk/webrtc/modules/audio_processing/agc/analog_agc.c', # Because of name clash in the kInitCheck variable
|
|
'trunk/webrtc/modules/audio_processing/echo_cancellation_impl.cc', # Because of name clash in the MapError function
|
|
'trunk/webrtc/modules/audio_processing/echo_control_mobile_impl.cc', # Because of name clash in the MapError function
|
|
'trunk/webrtc/modules/audio_processing/gain_control_impl.cc', # Because of name clash in the Handle typedef
|
|
'trunk/webrtc/modules/audio_processing/high_pass_filter_impl.cc', # Because of name clash in the Handle typedef
|
|
'trunk/webrtc/modules/audio_processing/noise_suppression_impl.cc', # Because of name clash in the Handle typedef
|
|
'trunk/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit.mm', # Because of name clash in the nsAutoreleasePool class
|
|
'trunk/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_info.mm', # Because of name clash in the nsAutoreleasePool class
|
|
'trunk/webrtc/modules/video_capture/windows/device_info_ds.cc', # Because of the MEDIASUBTYPE_HDYC variable
|
|
'trunk/webrtc/modules/video_capture/windows/help_functions_ds.cc', # Because of initguid.h
|
|
'trunk/webrtc/modules/video_capture/windows/sink_filter_ds.cc', # Because of the MEDIASUBTYPE_HDYC variable and initguid.h
|
|
]
|
|
|
|
GYP_DIRS += ['trunk']
|
|
|
|
GYP_DIRS['trunk'].input = 'trunk/peerconnection.gyp'
|
|
GYP_DIRS['trunk'].variables = gyp_vars
|
|
GYP_DIRS['trunk'].sandbox_vars['FINAL_LIBRARY'] = 'webrtc'
|
|
GYP_DIRS['trunk'].non_unified_sources += webrtc_non_unified_sources
|
|
|
|
if CONFIG['MOZ_WEBRTC_SIGNALING']:
|
|
GYP_DIRS += ['signaling']
|
|
GYP_DIRS['signaling'].input = 'signaling/signaling.gyp'
|
|
GYP_DIRS['signaling'].variables = gyp_vars.copy()
|
|
GYP_DIRS['signaling'].variables.update(
|
|
build_for_test=0
|
|
)
|
|
GYP_DIRS['signaling'].sandbox_vars['FINAL_LIBRARY'] = 'xul'
|
|
# Excluded because of name clash in the logTag variable
|
|
signaling_non_unified_sources = [
|
|
'signaling/src/media-conduit/AudioConduit.cpp',
|
|
'signaling/src/media-conduit/CodecStatistics.cpp',
|
|
'signaling/src/media-conduit/VideoConduit.cpp',
|
|
'signaling/src/media/CSFAudioControlWrapper.cpp',
|
|
'signaling/src/media/CSFVideoControlWrapper.cpp',
|
|
'signaling/src/media/VcmSIPCCBinding.cpp',
|
|
'signaling/src/peerconnection/PeerConnectionCtx.cpp',
|
|
'signaling/src/peerconnection/PeerConnectionImpl.cpp',
|
|
'signaling/src/peerconnection/PeerConnectionMedia.cpp',
|
|
'signaling/src/peerconnection/WebrtcGlobalInformation.cpp',
|
|
'signaling/src/sipcc/core/ccapp/ccapi_device_info.c',
|
|
'signaling/src/sipcc/core/gsm/fim.c',
|
|
'signaling/src/sipcc/core/gsm/gsm_sdp.c',
|
|
'signaling/src/sipcc/core/gsm/lsm.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_access.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_attr.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_attr_access.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_config.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_main.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_token.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_utils.c',
|
|
'signaling/src/softphonewrapper/CC_SIPCCCall.cpp',
|
|
'signaling/src/softphonewrapper/CC_SIPCCCallInfo.cpp',
|
|
'signaling/src/softphonewrapper/CC_SIPCCService.cpp',
|
|
'signaling/src/softphonewrapper/ccapi_plat_api_impl.cpp',
|
|
]
|
|
|
|
# Excluded for various symbol conflicts
|
|
signaling_non_unified_sources_2 = [
|
|
'signaling/src/mediapipeline/MediaPipelineFilter.cpp',
|
|
'signaling/src/mediapipeline/SrtpFlow.cpp',
|
|
'signaling/src/sipcc/core/ccapp/ccapi_call_info.c',
|
|
'signaling/src/sipcc/core/ccapp/ccprovider.c',
|
|
'signaling/src/sipcc/core/common/platform_api.c',
|
|
'signaling/src/sipcc/core/common/ui.c',
|
|
'signaling/src/sipcc/core/gsm/ccapi_strings.c',
|
|
'signaling/src/sipcc/core/gsm/fsm.c',
|
|
'signaling/src/sipcc/core/gsm/fsmcac.c',
|
|
'signaling/src/sipcc/core/gsm/fsmdef.c',
|
|
'signaling/src/sipcc/core/sdp/sdp_base64.c', # Because of name clash with the macro PADDING
|
|
'signaling/src/sipcc/core/sipstack/ccsip_cc.c',
|
|
'signaling/src/sipcc/core/sipstack/sip_common_transport.c',
|
|
'signaling/src/sipcc/core/sipstack/sip_platform_task.c',
|
|
'signaling/src/sipcc/core/src-common/string_lib.c',
|
|
]
|
|
|
|
GYP_DIRS['signaling'].non_unified_sources += signaling_non_unified_sources
|
|
GYP_DIRS['signaling'].non_unified_sources += signaling_non_unified_sources_2
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
|
|
GYP_DIRS += ['trunk/testing']
|
|
GYP_DIRS['trunk/testing'].input = 'trunk/testing/gtest.gyp'
|
|
GYP_DIRS['trunk/testing'].variables = gyp_vars
|
|
GYP_DIRS['trunk/testing'].non_unified_sources += webrtc_non_unified_sources
|
|
|
|
if CONFIG['MOZ_WEBRTC_SIGNALING']:
|
|
GYP_DIRS += ['signalingtest']
|
|
GYP_DIRS['signalingtest'].input = 'signaling/signaling.gyp'
|
|
GYP_DIRS['signalingtest'].variables = gyp_vars.copy()
|
|
GYP_DIRS['signalingtest'].variables.update(
|
|
build_for_test=1
|
|
)
|
|
GYP_DIRS['signalingtest'].non_unified_sources += signaling_non_unified_sources
|
|
GYP_DIRS['signalingtest'].non_unified_sources += signaling_non_unified_sources_2
|
|
|