Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2022-09-07 11:03:19 +08:00
commit 866ded0b0a
138 changed files with 825 additions and 1086 deletions

View file

@ -9,7 +9,7 @@ EXPORTS += [
'FlacFrameParser.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'FlacDecoder.cpp',
'FlacDemuxer.cpp',
'FlacFrameParser.cpp',

View file

@ -9,10 +9,13 @@ EXPORTS += [
'MP4Stream.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'MP4Decoder.cpp',
'MP4Demuxer.cpp',
'MP4Stream.cpp',
]
SOURCES += [
'MP4Demuxer.cpp',
]
FINAL_LIBRARY = 'xul'

View file

@ -7,7 +7,7 @@ EXPORTS.mozilla.dom += [
'ImageCapture.h'
]
SOURCES += [
UNIFIED_SOURCES += [
'CaptureTask.cpp',
'ImageCapture.cpp',
]

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'AudioSinkWrapper.cpp',
'DecodedAudioDataSink.cpp',
'DecodedStream.cpp',

View file

@ -20,7 +20,7 @@ EXPORTS.mozilla.dom += [
'SourceBufferList.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'ContainerParser.cpp',
'MediaSource.cpp',
'MediaSourceDecoder.cpp',

View file

@ -181,7 +181,7 @@ EXPORTS.mozilla.dom += [
'VideoTrackList.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'AccurateSeekTask.cpp',
'ADTSDecoder.cpp',
'ADTSDemuxer.cpp',
@ -198,7 +198,6 @@ SOURCES += [
'CanvasCaptureMediaStream.cpp',
'CubebUtils.cpp',
'DecoderDoctorDiagnostics.cpp',
'DecoderTraits.cpp',
'DOMMediaStream.cpp',
'EncodedBufferCache.cpp',
'FileBlockCache.cpp',
@ -254,6 +253,11 @@ SOURCES += [
if CONFIG['OS_TARGET'] == 'WINNT':
SOURCES += [ 'ThreadPoolCOMListener.cpp' ]
# DecoderTraits.cpp needs to be built separately because of Mac OS X headers.
SOURCES += [
'DecoderTraits.cpp',
]
# Some codec-related code uses multi-character constants, which GCC and clang
# warn about. Suppress turning this warning into an error.
if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:

View file

@ -8,7 +8,7 @@ EXPORTS += [
'MP3Demuxer.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'MP3Decoder.cpp',
'MP3Demuxer.cpp',
]

View file

@ -12,7 +12,7 @@ EXPORTS += [
'OpusParser.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'OggCodecState.cpp',
'OggCodecStore.cpp',
'OggDecoder.cpp',

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'../FFmpegAudioDecoder.cpp',
'../FFmpegDataDecoder.cpp',
'../FFmpegDecoderModule.cpp',

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'../FFmpegAudioDecoder.cpp',
'../FFmpegDataDecoder.cpp',
'../FFmpegDecoderModule.cpp',

View file

@ -8,7 +8,7 @@ EXPORTS += [
'FFVPXRuntimeLinker.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'../FFmpegAudioDecoder.cpp',
'../FFmpegDataDecoder.cpp',
'../FFmpegDecoderModule.cpp',

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'../FFmpegAudioDecoder.cpp',
'../FFmpegDataDecoder.cpp',
'../FFmpegDecoderModule.cpp',

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'../FFmpegAudioDecoder.cpp',
'../FFmpegDataDecoder.cpp',
'../FFmpegDecoderModule.cpp',

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'../FFmpegAudioDecoder.cpp',
'../FFmpegDataDecoder.cpp',
'../FFmpegDecoderModule.cpp',

View file

@ -15,7 +15,7 @@ EXPORTS += [
'wrappers/H264Converter.h'
]
SOURCES += [
UNIFIED_SOURCES += [
'agnostic/AgnosticDecoderModule.cpp',
'agnostic/BlankDecoderModule.cpp',
'agnostic/OpusDecoder.cpp',
@ -39,7 +39,7 @@ if CONFIG['MOZ_WMF']:
if CONFIG['MOZ_FFVPX'] or CONFIG['MOZ_FFMPEG']:
# common code to either FFmpeg or FFVPX
SOURCES += [
UNIFIED_SOURCES += [
'ffmpeg/FFmpegLibWrapper.cpp',
]
@ -57,7 +57,7 @@ if CONFIG['MOZ_AV1']:
EXPORTS += [
'agnostic/AOMDecoder.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'agnostic/AOMDecoder.cpp',
]
@ -65,7 +65,7 @@ if CONFIG['MOZ_APPLEMEDIA']:
EXPORTS += [
'apple/AppleDecoderModule.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'apple/AppleATDecoder.cpp',
'apple/AppleCMLinker.cpp',
'apple/AppleDecoderModule.cpp',

View file

@ -7,7 +7,7 @@ EXPORTS += [
'OmxDecoderModule.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'OmxDataDecoder.cpp',
'OmxDecoderModule.cpp',
'OmxPlatformLayer.cpp',

View file

@ -6,7 +6,7 @@
if CONFIG['OS_TARGET'] != 'WINNT':
Library('media_standalone')
SOURCES += [
UNIFIED_SOURCES += [
'../AudioChannelFormat.cpp',
'../AudioSegment.cpp',
'../SimpleImageBuffer.cpp',

View file

@ -13,7 +13,7 @@ if CONFIG['MOZ_WEBRTC']:
'VideoEngine.h',
'VideoFrameUtils.h'
]
SOURCES += [
UNIFIED_SOURCES += [
'CamerasChild.cpp',
'CamerasParent.cpp',
'LoadManager.cpp',
@ -77,8 +77,7 @@ EXPORTS.mozilla.media += ['CamerasTypes.h',
'MediaTaskUtils.h',
'MediaUtils.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'MediaChild.cpp',
'MediaParent.cpp',
'MediaSystemResourceClient.cpp',

View file

@ -8,7 +8,7 @@ EXPORTS += [
'WaveDemuxer.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'WaveDecoder.cpp',
'WaveDemuxer.cpp',
]

View file

@ -10,7 +10,7 @@ EXPORTS += [
'WebMDemuxer.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'WebMBufferedParser.cpp',
'WebMDecoder.cpp',
'WebMDemuxer.cpp',

View file

@ -30,14 +30,15 @@ if CONFIG['MOZ_WEBRTC']:
UNIFIED_SOURCES += [
'MediaEngineCameraVideoSource.cpp',
'MediaEngineRemoteVideoSource.cpp',
]
SOURCES += [
'MediaEngineTabVideoSource.cpp',
'MediaEngineWebRTC.cpp',
'MediaEngineWebRTCAudio.cpp',
'RTCCertificate.cpp',
'RTCIdentityProviderRegistrar.cpp',
]
# MediaEngineWebRTC.cpp needs to be built separately.
SOURCES += [
'MediaEngineWebRTC.cpp',
]
LOCAL_INCLUDES += [
'/dom/base',
'/media/libyuv/include',
@ -51,10 +52,8 @@ XPIDL_SOURCES += [
]
UNIFIED_SOURCES += [
'MediaTrackConstraints.cpp',
]
SOURCES += [
'MediaEngineDefault.cpp',
'MediaTrackConstraints.cpp',
'PeerIdentity.cpp',
]

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'nsPicoService.cpp',
'PicoModule.cpp'
]

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'SpeechDispatcherModule.cpp',
'SpeechDispatcherService.cpp'
]

View file

@ -3,7 +3,7 @@
# 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/.
SOURCES += [
UNIFIED_SOURCES += [
'SapiModule.cpp',
'SapiService.cpp'
]