mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #80 - reinstated unified building for some large chunks of our code.
This should reduce compile complexity saving time and reducing linker stress.
This commit is contained in:
parent
66424272f3
commit
5dfded811d
115 changed files with 293 additions and 258 deletions
|
|
@ -36,11 +36,6 @@ EXPORTS.mozilla += [
|
|||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'KeyframeEffect.cpp',
|
||||
'KeyframeEffectReadOnly.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'Animation.cpp',
|
||||
'AnimationEffectReadOnly.cpp',
|
||||
'AnimationEffectTiming.cpp',
|
||||
|
|
@ -54,7 +49,9 @@ SOURCES += [
|
|||
'DocumentTimeline.cpp',
|
||||
'EffectCompositor.cpp',
|
||||
'EffectSet.cpp',
|
||||
'KeyframeEffect.cpp',
|
||||
'KeyframeEffectParams.cpp',
|
||||
'KeyframeEffectReadOnly.cpp',
|
||||
'KeyframeUtils.cpp',
|
||||
'PendingAnimationTracker.cpp',
|
||||
'TimingParams.cpp',
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ EXPORTS += [
|
|||
'AudioChannelService.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AudioChannelAgent.cpp',
|
||||
'AudioChannelService.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ LOCAL_INCLUDES += [
|
|||
'/media/webrtc/signaling/src/peerconnection',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'BindingUtils.cpp',
|
||||
'CallbackInterface.cpp',
|
||||
'CallbackObject.cpp',
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ EXPORTS.mozilla.dom += [
|
|||
'BroadcastChannel.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'BroadcastChannel.cpp',
|
||||
'BroadcastChannelChild.cpp',
|
||||
'BroadcastChannelParent.cpp',
|
||||
|
|
|
|||
2
dom/cache/moz.build
vendored
2
dom/cache/moz.build
vendored
|
|
@ -37,7 +37,7 @@ EXPORTS.mozilla.dom.cache += [
|
|||
'TypeUtils.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'Action.cpp',
|
||||
'ActorChild.cpp',
|
||||
'AutoUtils.cpp',
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ EXPORTS.mozilla.dom += [
|
|||
'Console.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'Console.cpp',
|
||||
'ConsoleReportCollector.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ EXPORTS.mozilla.dom += [
|
|||
'WebCryptoThreadPool.h'
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'CryptoBuffer.cpp',
|
||||
'CryptoKey.cpp',
|
||||
'KeyAlgorithmProxy.cpp',
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ EXPORTS.mozilla.dom += [
|
|||
'TextEncoder.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'EncodingUtils.cpp',
|
||||
'FallbackEncoding.cpp',
|
||||
'TextDecoder.cpp',
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ EXPORTS.mozilla.dom += [
|
|||
'XULCommandEvent.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AnimationEvent.cpp',
|
||||
'AsyncEventDispatcher.cpp',
|
||||
'BeforeAfterKeyboardEvent.cpp',
|
||||
|
|
@ -95,7 +95,6 @@ SOURCES += [
|
|||
'EventDispatcher.cpp',
|
||||
'EventListenerManager.cpp',
|
||||
'EventListenerService.cpp',
|
||||
'EventStateManager.cpp',
|
||||
'EventTarget.cpp',
|
||||
'FocusEvent.cpp',
|
||||
'ImageCaptureError.cpp',
|
||||
|
|
@ -125,6 +124,11 @@ SOURCES += [
|
|||
'XULCommandEvent.cpp',
|
||||
]
|
||||
|
||||
# nsEventStateManager.cpp should be built separately because of Mac OS X headers.
|
||||
SOURCES += [
|
||||
'EventStateManager.cpp',
|
||||
]
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.dom += [
|
|||
'MutableFileBase.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ActorsChild.cpp',
|
||||
'ActorsParent.cpp',
|
||||
'FileHandleBase.cpp',
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ EXPORTS.mozilla.dom += [
|
|||
'OSFileSystem.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'Directory.cpp',
|
||||
'FileSystemBase.cpp',
|
||||
'FileSystemRequestParent.cpp',
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ SOURCES += [
|
|||
'nsGeolocation.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'MLSFallback.cpp',
|
||||
'nsGeoPosition.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ EXPORTS.mozilla.dom += [
|
|||
'GridTracks.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'Grid.cpp',
|
||||
'GridArea.cpp',
|
||||
'GridDimension.cpp',
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ EXPORTS.mozilla.dom += [
|
|||
'ValidityState.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'HTMLAllCollection.cpp',
|
||||
'HTMLAnchorElement.cpp',
|
||||
'HTMLAreaElement.cpp',
|
||||
|
|
@ -203,7 +203,6 @@ SOURCES += [
|
|||
'nsIConstraintValidation.cpp',
|
||||
'nsRadioVisitor.cpp',
|
||||
'nsTextEditorState.cpp',
|
||||
'PluginDocument.cpp',
|
||||
'RadioNodeList.cpp',
|
||||
'TextTrackManager.cpp',
|
||||
'TimeRanges.cpp',
|
||||
|
|
@ -211,6 +210,11 @@ SOURCES += [
|
|||
'VideoDocument.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
# Includes npapi.h.
|
||||
'PluginDocument.cpp',
|
||||
]
|
||||
|
||||
EXTRA_COMPONENTS += [
|
||||
'htmlMenuBuilder.js',
|
||||
'htmlMenuBuilder.manifest'
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ EXPORTS.mozilla.dom.indexedDB += [
|
|||
'SerializationHelpers.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ActorsChild.cpp',
|
||||
'FileInfo.cpp',
|
||||
'FileSnapshot.cpp',
|
||||
|
|
|
|||
|
|
@ -43,13 +43,11 @@ EXPORTS.mozilla += [
|
|||
'ProcessPriorityManager.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AppProcessChecker.cpp',
|
||||
'Blob.cpp',
|
||||
'ColorPickerParent.cpp',
|
||||
'ContentBridgeChild.cpp',
|
||||
'ContentBridgeParent.cpp',
|
||||
'ContentChild.cpp',
|
||||
'ContentParent.cpp',
|
||||
'ContentProcess.cpp',
|
||||
'ContentProcessManager.cpp',
|
||||
|
|
@ -58,7 +56,6 @@ SOURCES += [
|
|||
'nsIContentParent.cpp',
|
||||
'PermissionMessageUtils.cpp',
|
||||
'PreallocatedProcessManager.cpp',
|
||||
'ProcessHangMonitor.cpp',
|
||||
'ProcessPriorityManager.cpp',
|
||||
'ScreenManagerParent.cpp',
|
||||
'StructuredCloneData.cpp',
|
||||
|
|
@ -68,6 +65,14 @@ SOURCES += [
|
|||
'TabParent.cpp',
|
||||
]
|
||||
|
||||
# Blob.cpp cannot be compiled in unified mode because it triggers a fatal gcc warning.
|
||||
# ContentChild.cpp cannot be compiled in unified mode on linux due to Time conflict
|
||||
SOURCES += [
|
||||
'Blob.cpp',
|
||||
'ContentChild.cpp',
|
||||
'ProcessHangMonitor.cpp',
|
||||
]
|
||||
|
||||
IPDL_SOURCES += [
|
||||
'BlobTypes.ipdlh',
|
||||
'DOMTypes.ipdlh',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,9 @@
|
|||
|
||||
EXPORTS += ['nsJSON.h']
|
||||
|
||||
SOURCES += ['nsJSON.cpp']
|
||||
UNIFIED_SOURCES += [
|
||||
'nsJSON.cpp',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += ['/dom/base']
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ EXPORTS += [
|
|||
'nsJSProtocolHandler.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsJSProtocolHandler.cpp',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -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 += [
|
||||
'nsMathMLElement.cpp',
|
||||
'nsMathMLElementFactory.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ EXPORTS += [
|
|||
'FlacFrameParser.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'FlacDecoder.cpp',
|
||||
'FlacDemuxer.cpp',
|
||||
'FlacFrameParser.cpp',
|
||||
|
|
|
|||
|
|
@ -9,10 +9,13 @@ EXPORTS += [
|
|||
'MP4Stream.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'MP4Decoder.cpp',
|
||||
'MP4Demuxer.cpp',
|
||||
'MP4Stream.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'MP4Demuxer.cpp',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ EXPORTS.mozilla.dom += [
|
|||
'ImageCapture.h'
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'CaptureTask.cpp',
|
||||
'ImageCapture.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ EXPORTS.mozilla.dom += [
|
|||
'SourceBufferList.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ContainerParser.cpp',
|
||||
'MediaSource.cpp',
|
||||
'MediaSourceDecoder.cpp',
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ EXPORTS.mozilla.dom += [
|
|||
'VideoTrackList.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AccurateSeekTask.cpp',
|
||||
'ADTSDecoder.cpp',
|
||||
'ADTSDemuxer.cpp',
|
||||
|
|
@ -200,7 +200,6 @@ SOURCES += [
|
|||
'CanvasCaptureMediaStream.cpp',
|
||||
'CubebUtils.cpp',
|
||||
'DecoderDoctorDiagnostics.cpp',
|
||||
'DecoderTraits.cpp',
|
||||
'DOMMediaStream.cpp',
|
||||
'EncodedBufferCache.cpp',
|
||||
'FileBlockCache.cpp',
|
||||
|
|
@ -256,6 +255,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']:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
|||
'MP3Demuxer.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'MP3Decoder.cpp',
|
||||
'MP3Demuxer.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ EXPORTS += [
|
|||
'OpusParser.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'OggCodecState.cpp',
|
||||
'OggCodecStore.cpp',
|
||||
'OggDecoder.cpp',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
|||
'FFVPXRuntimeLinker.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'../FFmpegAudioDecoder.cpp',
|
||||
'../FFmpegDataDecoder.cpp',
|
||||
'../FFmpegDecoderModule.cpp',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ EXPORTS += [
|
|||
'wrappers/H264Converter.h'
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'agnostic/AgnosticDecoderModule.cpp',
|
||||
'agnostic/BlankDecoderModule.cpp',
|
||||
'agnostic/OpusDecoder.cpp',
|
||||
|
|
@ -41,7 +41,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',
|
||||
]
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ if CONFIG['MOZ_AV1']:
|
|||
EXPORTS += [
|
||||
'agnostic/AOMDecoder.h',
|
||||
]
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'agnostic/AOMDecoder.cpp',
|
||||
]
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ if CONFIG['MOZ_APPLEMEDIA']:
|
|||
EXPORTS += [
|
||||
'apple/AppleDecoderModule.h',
|
||||
]
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'apple/AppleATDecoder.cpp',
|
||||
'apple/AppleCMLinker.cpp',
|
||||
'apple/AppleDecoderModule.cpp',
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ EXPORTS += [
|
|||
'OmxDecoderModule.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'OmxDataDecoder.cpp',
|
||||
'OmxDecoderModule.cpp',
|
||||
'OmxPlatformLayer.cpp',
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
if CONFIG['OS_TARGET'] != 'WINNT':
|
||||
Library('media_standalone')
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'../AudioChannelFormat.cpp',
|
||||
'../AudioSegment.cpp',
|
||||
'../SimpleImageBuffer.cpp',
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ if CONFIG['MOZ_WEBRTC']:
|
|||
'LoadManagerFactory.h',
|
||||
'LoadMonitor.h',
|
||||
]
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'CamerasChild.cpp',
|
||||
'CamerasParent.cpp',
|
||||
'LoadManager.cpp',
|
||||
|
|
@ -70,8 +70,7 @@ EXPORTS.mozilla.media += ['CamerasTypes.h',
|
|||
'MediaTaskUtils.h',
|
||||
'MediaUtils.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'MediaChild.cpp',
|
||||
'MediaParent.cpp',
|
||||
'MediaSystemResourceClient.cpp',
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
|||
'WaveDemuxer.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'WaveDecoder.cpp',
|
||||
'WaveDemuxer.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ EXPORTS += [
|
|||
'WebMDemuxer.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'WebMBufferedParser.cpp',
|
||||
'WebMDecoder.cpp',
|
||||
'WebMDemuxer.cpp',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ EXPORTS.mozilla.dom += [
|
|||
'MessagePortParent.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'MessageChannel.cpp',
|
||||
'MessagePort.cpp',
|
||||
'MessagePortChild.cpp',
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ EXPORTS.mozilla.dom.network += [
|
|||
'UDPSocketParent.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'Connection.cpp',
|
||||
'TCPServerSocket.cpp',
|
||||
'TCPServerSocketChild.cpp',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ EXPORTS.mozilla.dom += [
|
|||
'NotificationEvent.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'DesktopNotification.cpp',
|
||||
'Notification.cpp',
|
||||
'NotificationEvent.cpp',
|
||||
|
|
|
|||
|
|
@ -3,10 +3,15 @@
|
|||
# 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/.
|
||||
|
||||
EXPORTS += ['nsDOMOfflineResourceList.h']
|
||||
EXPORTS += [
|
||||
'nsDOMOfflineResourceList.h',
|
||||
]
|
||||
UNIFIED_SOURCES += [
|
||||
'nsDOMOfflineResourceList.cpp',
|
||||
]
|
||||
|
||||
SOURCES += ['nsDOMOfflineResourceList.cpp']
|
||||
|
||||
LOCAL_INCLUDES += ['/dom/base']
|
||||
LOCAL_INCLUDES += [
|
||||
'/dom/base',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.dom += [
|
|||
'PerformanceTiming.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'Performance.cpp',
|
||||
'PerformanceEntry.cpp',
|
||||
'PerformanceMainThread.cpp',
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
|||
'PermissionStatus.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'PermissionObserver.cpp',
|
||||
'Permissions.cpp',
|
||||
'PermissionStatus.cpp',
|
||||
|
|
|
|||
|
|
@ -37,12 +37,10 @@ EXPORTS.mozilla += [
|
|||
'PluginPRLibrary.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsJSNPRuntime.cpp',
|
||||
'nsNPAPIPlugin.cpp',
|
||||
'nsNPAPIPluginInstance.cpp',
|
||||
'nsNPAPIPluginStreamListener.cpp',
|
||||
'nsPluginHost.cpp',
|
||||
'nsPluginInstanceOwner.cpp',
|
||||
'nsPluginModule.cpp',
|
||||
'nsPluginStreamListenerPeer.cpp',
|
||||
|
|
@ -50,19 +48,24 @@ SOURCES += [
|
|||
'PluginPRLibrary.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'nsNPAPIPlugin.cpp', # Conflict with X11 headers
|
||||
'nsPluginHost.cpp', # Conflict with NS_NPAPIPLUGIN_CALLBACK
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginDirServiceProvider.cpp',
|
||||
'nsPluginNativeWindowWin.cpp',
|
||||
'nsPluginsDirWin.cpp',
|
||||
]
|
||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginNativeWindow.cpp',
|
||||
'nsPluginsDirDarwin.cpp',
|
||||
]
|
||||
else:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginsDirUnix.cpp',
|
||||
]
|
||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
|
|
@ -71,7 +74,7 @@ else:
|
|||
'nsPluginNativeWindowGtk.cpp',
|
||||
]
|
||||
else:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsPluginNativeWindow.cpp',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -47,11 +47,13 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
|||
EXPORTS.mozilla.plugins += [
|
||||
'PluginSurfaceParent.h',
|
||||
]
|
||||
SOURCES += [
|
||||
'MiniShmParent.cpp',
|
||||
UNIFIED_SOURCES += [
|
||||
'PluginHangUIParent.cpp',
|
||||
'PluginSurfaceParent.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
'MiniShmParent.cpp', # Issues with CreateEvent
|
||||
]
|
||||
DEFINES['MOZ_HANGUI_PROCESS_NAME'] = '"plugin-hang-ui%s"' % CONFIG['BIN_SUFFIX']
|
||||
LOCAL_INCLUDES += [
|
||||
'/widget',
|
||||
|
|
@ -63,17 +65,15 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|||
'PluginInterposeOSX.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'BrowserStreamChild.cpp',
|
||||
'BrowserStreamParent.cpp',
|
||||
'ChildAsyncCall.cpp',
|
||||
'ChildTimer.cpp',
|
||||
'PluginAsyncSurrogate.cpp',
|
||||
'PluginBackgroundDestroyer.cpp',
|
||||
'PluginInstanceChild.cpp',
|
||||
'PluginInstanceParent.cpp',
|
||||
'PluginMessageUtils.cpp',
|
||||
'PluginModuleChild.cpp',
|
||||
'PluginModuleParent.cpp',
|
||||
'PluginProcessChild.cpp',
|
||||
'PluginProcessParent.cpp',
|
||||
|
|
@ -82,18 +82,23 @@ SOURCES += [
|
|||
'PluginScriptableObjectParent.cpp',
|
||||
'PluginStreamChild.cpp',
|
||||
'PluginStreamParent.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'PluginInstanceChild.cpp', # 'PluginThreadCallback' : ambiguous symbol
|
||||
'PluginModuleChild.cpp', # Redefinition of mozilla::WindowsDllInterceptor sUser32Intercept
|
||||
'PluginWidgetChild.cpp',
|
||||
'PluginWidgetParent.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'PluginInterposeOSX.mm',
|
||||
'PluginUtilsOSX.mm',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'D3D11SurfaceHolder.cpp',
|
||||
'PluginUtilsWin.cpp'
|
||||
]
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ EXPORTS.mozilla.dom.power += [
|
|||
'Types.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'PowerManager.cpp',
|
||||
'PowerManagerService.cpp',
|
||||
'WakeLock.cpp',
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ EXPORTS.mozilla.dom += [
|
|||
'PushUtil.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'PushManager.cpp',
|
||||
'PushNotifier.cpp',
|
||||
'PushSubscription.cpp',
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ EXPORTS.mozilla.dom.quota += [
|
|||
'UsageInfo.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ActorsChild.cpp',
|
||||
'ActorsParent.cpp',
|
||||
'FileStreams.cpp',
|
||||
|
|
|
|||
|
|
@ -23,15 +23,12 @@ EXPORTS += [
|
|||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsCSPContext.cpp',
|
||||
'nsCSPUtils.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'ContentVerifier.cpp',
|
||||
'nsContentSecurityManager.cpp',
|
||||
'nsCSPContext.cpp',
|
||||
'nsCSPParser.cpp',
|
||||
'nsCSPService.cpp',
|
||||
'nsCSPUtils.cpp',
|
||||
'nsMixedContentBlocker.cpp',
|
||||
'SRICheck.cpp',
|
||||
'SRIMetadata.cpp',
|
||||
|
|
|
|||
|
|
@ -31,29 +31,6 @@ GetCspParserLog()
|
|||
#define CSPPARSERLOG(args) MOZ_LOG(GetCspParserLog(), mozilla::LogLevel::Debug, args)
|
||||
#define CSPPARSERLOGENABLED() MOZ_LOG_TEST(GetCspParserLog(), mozilla::LogLevel::Debug)
|
||||
|
||||
static const char16_t COLON = ':';
|
||||
static const char16_t SEMICOLON = ';';
|
||||
static const char16_t SLASH = '/';
|
||||
static const char16_t PLUS = '+';
|
||||
static const char16_t DASH = '-';
|
||||
static const char16_t DOT = '.';
|
||||
static const char16_t UNDERLINE = '_';
|
||||
static const char16_t TILDE = '~';
|
||||
static const char16_t WILDCARD = '*';
|
||||
static const char16_t SINGLEQUOTE = '\'';
|
||||
static const char16_t OPEN_CURL = '{';
|
||||
static const char16_t CLOSE_CURL = '}';
|
||||
static const char16_t NUMBER_SIGN = '#';
|
||||
static const char16_t QUESTIONMARK = '?';
|
||||
static const char16_t PERCENT_SIGN = '%';
|
||||
static const char16_t EXCLAMATION = '!';
|
||||
static const char16_t DOLLAR = '$';
|
||||
static const char16_t AMPERSAND = '&';
|
||||
static const char16_t OPENBRACE = '(';
|
||||
static const char16_t CLOSINGBRACE = ')';
|
||||
static const char16_t EQUALS = '=';
|
||||
static const char16_t ATSYMBOL = '@';
|
||||
|
||||
static const uint32_t kSubHostPathCharacterCutoff = 512;
|
||||
|
||||
static const char *const kHashSourceValidFns [] = { "sha256", "sha384", "sha512" };
|
||||
|
|
@ -158,27 +135,6 @@ nsCSPParser::~nsCSPParser()
|
|||
CSPPARSERLOG(("nsCSPParser::~nsCSPParser"));
|
||||
}
|
||||
|
||||
static bool
|
||||
isCharacterToken(char16_t aSymbol)
|
||||
{
|
||||
return (aSymbol >= 'a' && aSymbol <= 'z') ||
|
||||
(aSymbol >= 'A' && aSymbol <= 'Z');
|
||||
}
|
||||
|
||||
static bool
|
||||
isNumberToken(char16_t aSymbol)
|
||||
{
|
||||
return (aSymbol >= '0' && aSymbol <= '9');
|
||||
}
|
||||
|
||||
static bool
|
||||
isValidHexDig(char16_t aHexDig)
|
||||
{
|
||||
return (isNumberToken(aHexDig) ||
|
||||
(aHexDig >= 'A' && aHexDig <= 'F') ||
|
||||
(aHexDig >= 'a' && aHexDig <= 'f'));
|
||||
}
|
||||
|
||||
void
|
||||
nsCSPParser::resetCurChar(const nsAString& aToken)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -16,10 +16,6 @@
|
|||
#include "nsIURL.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsSandboxFlags.h"
|
||||
#include "nsString.h"
|
||||
#include "mozilla/Logging.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
#define DEFAULT_PORT -1
|
||||
|
||||
|
|
@ -33,29 +29,6 @@ GetCspUtilsLog()
|
|||
#define CSPUTILSLOG(args) MOZ_LOG(GetCspUtilsLog(), mozilla::LogLevel::Debug, args)
|
||||
#define CSPUTILSLOGENABLED() MOZ_LOG_TEST(GetCspUtilsLog(), mozilla::LogLevel::Debug)
|
||||
|
||||
static const char16_t PERCENT_SIGN = '%';
|
||||
|
||||
static bool
|
||||
isCharacterToken(char16_t aSymbol)
|
||||
{
|
||||
return (aSymbol >= 'a' && aSymbol <= 'z') ||
|
||||
(aSymbol >= 'A' && aSymbol <= 'Z');
|
||||
}
|
||||
|
||||
static bool
|
||||
isNumberToken(char16_t aSymbol)
|
||||
{
|
||||
return (aSymbol >= '0' && aSymbol <= '9');
|
||||
}
|
||||
|
||||
static bool
|
||||
isValidHexDig(char16_t aHexDig)
|
||||
{
|
||||
return (isNumberToken(aHexDig) ||
|
||||
(aHexDig >= 'A' && aHexDig <= 'F') ||
|
||||
(aHexDig >= 'a' && aHexDig <= 'f'));
|
||||
}
|
||||
|
||||
void
|
||||
CSP_PercentDecodeStr(const nsAString& aEncStr, nsAString& outDecStr)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,6 +15,54 @@
|
|||
#include "nsUnicharUtils.h"
|
||||
#include "mozilla/Logging.h"
|
||||
|
||||
// ======= Defines and helper functions =======
|
||||
|
||||
static const char16_t COLON = ':';
|
||||
static const char16_t SEMICOLON = ';';
|
||||
static const char16_t SLASH = '/';
|
||||
static const char16_t PLUS = '+';
|
||||
static const char16_t DASH = '-';
|
||||
static const char16_t DOT = '.';
|
||||
static const char16_t UNDERLINE = '_';
|
||||
static const char16_t TILDE = '~';
|
||||
static const char16_t WILDCARD = '*';
|
||||
static const char16_t SINGLEQUOTE = '\'';
|
||||
static const char16_t OPEN_CURL = '{';
|
||||
static const char16_t CLOSE_CURL = '}';
|
||||
static const char16_t NUMBER_SIGN = '#';
|
||||
static const char16_t QUESTIONMARK = '?';
|
||||
static const char16_t PERCENT_SIGN = '%';
|
||||
static const char16_t EXCLAMATION = '!';
|
||||
static const char16_t DOLLAR = '$';
|
||||
static const char16_t AMPERSAND = '&';
|
||||
static const char16_t OPENBRACE = '(';
|
||||
static const char16_t CLOSINGBRACE = ')';
|
||||
static const char16_t EQUALS = '=';
|
||||
static const char16_t ATSYMBOL = '@';
|
||||
|
||||
static bool
|
||||
isCharacterToken(char16_t aSymbol)
|
||||
{
|
||||
return (aSymbol >= 'a' && aSymbol <= 'z') ||
|
||||
(aSymbol >= 'A' && aSymbol <= 'Z');
|
||||
}
|
||||
|
||||
static bool
|
||||
isNumberToken(char16_t aSymbol)
|
||||
{
|
||||
return (aSymbol >= '0' && aSymbol <= '9');
|
||||
}
|
||||
|
||||
static bool
|
||||
isValidHexDig(char16_t aHexDig)
|
||||
{
|
||||
return (isNumberToken(aHexDig) ||
|
||||
(aHexDig >= 'A' && aHexDig <= 'F') ||
|
||||
(aHexDig >= 'a' && aHexDig <= 'f'));
|
||||
}
|
||||
|
||||
// ============================================
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
struct CSP;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ EXPORTS.mozilla.dom += [
|
|||
'TimeEvent.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsSMILAnimationController.cpp',
|
||||
'nsSMILAnimationFunction.cpp',
|
||||
'nsSMILCompositor.cpp',
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
|||
'DOMStorageIPC.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'DOMStorage.cpp',
|
||||
'DOMStorageCache.cpp',
|
||||
'DOMStorageDBThread.cpp',
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ EXPORTS.mozilla.dom += [
|
|||
'SVGZoomEvent.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'DOMSVGAnimatedLengthList.cpp',
|
||||
'DOMSVGAnimatedNumberList.cpp',
|
||||
'DOMSVGLength.cpp',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ EXPORTS.mozilla += [
|
|||
'OSFileConstants.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsDeviceSensors.cpp',
|
||||
'OSFileConstants.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ EXPORTS.mozilla.dom.time += [
|
|||
'TimeService.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'DateCacheCleaner.cpp',
|
||||
'TimeChangeObserver.cpp',
|
||||
'TimeManager.cpp',
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ EXPORTS.mozilla.dom += [
|
|||
'USBToken.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'NSSU2FTokenRemote.cpp',
|
||||
'U2F.cpp',
|
||||
'USBToken.cpp',
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
|||
'URLSearchParams.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'URL.cpp',
|
||||
'URLSearchParams.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ XPIDL_SOURCES += [
|
|||
'nsIWorkerDebuggerManager.idl',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ChromeWorkerScope.cpp',
|
||||
'FileReaderSync.cpp',
|
||||
'Principal.cpp',
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
|||
'WorkletGlobalScope.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'Worklet.cpp',
|
||||
'WorkletGlobalScope.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ EXPORTS.mozilla.dom += [
|
|||
'XBLChildrenElement.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsBindingManager.cpp',
|
||||
'nsXBLBinding.cpp',
|
||||
'nsXBLContentSink.cpp',
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.dom += [
|
|||
'XMLHttpRequestUpload.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'XMLHttpRequest.cpp',
|
||||
'XMLHttpRequestEventTarget.cpp',
|
||||
'XMLHttpRequestMainThread.cpp',
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ EXPORTS.mozilla.dom += [
|
|||
'XMLStylesheetProcessingInstruction.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'CDATASection.cpp',
|
||||
'nsXMLContentSink.cpp',
|
||||
'nsXMLElement.cpp',
|
||||
|
|
|
|||
|
|
@ -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 += [
|
||||
'txDouble.cpp',
|
||||
'txExpandedName.cpp',
|
||||
'txExpandedNameMap.cpp',
|
||||
|
|
|
|||
|
|
@ -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 += [
|
||||
'txXMLParser.cpp',
|
||||
'txXMLUtils.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ EXPORTS.mozilla.dom += [
|
|||
'XPathResult.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'txBooleanExpr.cpp',
|
||||
'txBooleanResult.cpp',
|
||||
'txCoreFunctionCall.cpp',
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ EXPORTS.mozilla.dom += [
|
|||
'txMozillaXSLTProcessor.h'
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'txBufferingHandler.cpp',
|
||||
'txCurrentFunctionCall.cpp',
|
||||
'txDocumentFunctionCall.cpp',
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ XPIDL_SOURCES += [
|
|||
|
||||
XPIDL_MODULE = 'xul'
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsXULControllers.cpp',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ XPIDL_SOURCES += [
|
|||
|
||||
XPIDL_MODULE = 'xultmpl'
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsContentSupportMap.cpp',
|
||||
'nsContentTestNode.cpp',
|
||||
'nsInstantiationNode.cpp',
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ XPIDL_SOURCES += [
|
|||
|
||||
XPIDL_MODULE = 'composer'
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsComposerCommands.cpp',
|
||||
'nsComposerCommandsUpdater.cpp',
|
||||
'nsComposerController.cpp',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ EXPORTS.mozilla += [
|
|||
'TextEditRules.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ChangeAttributeTransaction.cpp',
|
||||
'ChangeStyleTransaction.cpp',
|
||||
'CompositionTransaction.cpp',
|
||||
|
|
|
|||
|
|
@ -12,16 +12,16 @@ EXPORTS.graphite2 += [
|
|||
]
|
||||
|
||||
if CONFIG['GNU_CC']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'direct_machine.cpp'
|
||||
]
|
||||
else:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'call_machine.cpp'
|
||||
]
|
||||
|
||||
# This should contain all of the _SOURCES from files.mk, except *_machine.cpp
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'CachedFace.cpp',
|
||||
'CmapCache.cpp',
|
||||
'Code.cpp',
|
||||
|
|
|
|||
|
|
@ -25,32 +25,35 @@ EXPORTS.harfbuzz += [
|
|||
]
|
||||
|
||||
SOURCES += [
|
||||
'hb-blob.cc',
|
||||
'hb-blob.cc', # error: use of undeclared identifier 'snprintf' (FreeBSD)
|
||||
'hb-common.cc', # error: use of undeclared identifier 'strdup'
|
||||
'hb-ot-math.cc', # conflict with hb-ot-layout.cc
|
||||
'hb-ot-shape-complex-hangul.cc', # error: redefinition of enumerator 'NONE'
|
||||
'hb-ot-shape-complex-indic.cc', # error: redefinition of enumerator 'INIT'
|
||||
'hb-ot-shape-complex-use.cc', # error: redefinition of 'basic_features'
|
||||
'hb-ot-shape.cc', # error: functions that differ only in their return type cannot be overloaded
|
||||
'hb-shape-plan.cc', # error: redefinition of 'hb_ot_shaper_face_data_ensure'
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'hb-buffer.cc',
|
||||
'hb-common.cc',
|
||||
'hb-face.cc',
|
||||
'hb-fallback-shape.cc',
|
||||
'hb-font.cc',
|
||||
'hb-ot-layout.cc',
|
||||
'hb-ot-map.cc',
|
||||
'hb-ot-math.cc',
|
||||
'hb-ot-shape-complex-arabic.cc',
|
||||
'hb-ot-shape-complex-default.cc',
|
||||
'hb-ot-shape-complex-hangul.cc',
|
||||
'hb-ot-shape-complex-hebrew.cc',
|
||||
'hb-ot-shape-complex-indic-table.cc',
|
||||
'hb-ot-shape-complex-indic.cc',
|
||||
'hb-ot-shape-complex-myanmar.cc',
|
||||
'hb-ot-shape-complex-thai.cc',
|
||||
'hb-ot-shape-complex-tibetan.cc',
|
||||
'hb-ot-shape-complex-use-table.cc',
|
||||
'hb-ot-shape-complex-use.cc',
|
||||
'hb-ot-shape-fallback.cc',
|
||||
'hb-ot-shape-normalize.cc',
|
||||
'hb-ot-shape.cc',
|
||||
'hb-ot-tag.cc',
|
||||
'hb-set.cc',
|
||||
'hb-shape-plan.cc',
|
||||
'hb-shape.cc',
|
||||
'hb-shaper.cc',
|
||||
'hb-unicode.cc',
|
||||
|
|
|
|||
|
|
@ -36,12 +36,12 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|||
'SharedDIBSurface.h',
|
||||
'SharedDIBWin.h',
|
||||
]
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'SharedDIBSurface.cpp',
|
||||
'SharedDIBWin.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'CompositorSession.cpp',
|
||||
'CompositorWidgetVsyncObserver.cpp',
|
||||
'D3DMessageUtils.cpp',
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
|||
'../include/ots-memory-stream.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'avar.cc',
|
||||
'cff.cc',
|
||||
'cff_charstring.cc',
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in {
|
|||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
DEFINES['UNICODE'] = True
|
||||
DEFINES['_UNICODE'] = True
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/fonts/SkFontMgr_indirect.cpp',
|
||||
'skia/src/fonts/SkRemotableFontMgr.cpp',
|
||||
]
|
||||
|
|
@ -415,7 +415,7 @@ def write_sources(f, values, indent):
|
|||
else:
|
||||
sources['unified'].add(item)
|
||||
|
||||
write_list(f, "SOURCES", sources['unified'], indent)
|
||||
write_list(f, "UNIFIED_SOURCES", sources['unified'], indent)
|
||||
write_list(f, "SOURCES", sources['nonunified'], indent)
|
||||
|
||||
def write_list(f, name, values, indent):
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ if CONFIG['MOZ_OPTIMIZE']:
|
|||
elif CONFIG['GNU_CC']:
|
||||
skia_opt_flags += ['-O2']
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/core/SkAAClip.cpp',
|
||||
'skia/src/core/SkAlphaRuns.cpp',
|
||||
'skia/src/core/SkAnnotation.cpp',
|
||||
|
|
@ -308,7 +308,7 @@ SOURCES['skia/src/core/SkSpriteBlitter4f.cpp'].flags += skia_opt_flags
|
|||
SOURCES['skia/src/core/SkSpriteBlitter_ARGB32.cpp'].flags += skia_opt_flags
|
||||
SOURCES['skia/src/core/SkSpriteBlitter_RGB16.cpp'].flags += skia_opt_flags
|
||||
if CONFIG['MOZ_ENABLE_SKIA_PDF']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/core/SkMD5.cpp',
|
||||
'skia/src/pdf/SkDeflate.cpp',
|
||||
'skia/src/pdf/SkJpegInfo.cpp',
|
||||
|
|
@ -332,7 +332,7 @@ if CONFIG['MOZ_ENABLE_SKIA_PDF']:
|
|||
'skia/src/pdf/SkPDFFont.cpp',
|
||||
]
|
||||
if CONFIG['MOZ_ENABLE_SKIA_GPU']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp',
|
||||
'skia/src/gpu/batches/GrAnalyticRectBatch.cpp',
|
||||
'skia/src/gpu/batches/GrAtlasTextBatch.cpp',
|
||||
|
|
@ -517,7 +517,7 @@ if CONFIG['MOZ_ENABLE_SKIA_GPU']:
|
|||
'skia/src/image/SkImage_Gpu.cpp',
|
||||
]
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android'):
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/ports/SkDebug_android.cpp',
|
||||
'skia/src/ports/SkOSFile_posix.cpp',
|
||||
'skia/src/ports/SkOSLibrary_posix.cpp',
|
||||
|
|
@ -529,7 +529,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android'):
|
|||
'skia/src/ports/SkFontHost_FreeType_common.cpp',
|
||||
]
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] in {'cocoa', 'uikit'}:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/ports/SkDebug_stdio.cpp',
|
||||
'skia/src/ports/SkOSFile_posix.cpp',
|
||||
'skia/src/ports/SkOSLibrary_posix.cpp',
|
||||
|
|
@ -542,7 +542,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in {'cocoa', 'uikit'}:
|
|||
'skia/src/ports/SkFontHost_mac.cpp',
|
||||
]
|
||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/ports/SkDebug_stdio.cpp',
|
||||
'skia/src/ports/SkOSFile_posix.cpp',
|
||||
'skia/src/ports/SkOSLibrary_posix.cpp',
|
||||
|
|
@ -574,7 +574,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|||
'skia/src/utils/win/SkIStream.cpp',
|
||||
]
|
||||
if CONFIG['INTEL_ARCHITECTURE']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/opts/opts_check_x86.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
|
|
@ -598,7 +598,7 @@ if CONFIG['INTEL_ARCHITECTURE']:
|
|||
SOURCES['skia/src/opts/SkOpts_sse42.cpp'].flags += skia_opt_flags
|
||||
SOURCES['skia/src/opts/SkOpts_ssse3.cpp'].flags += skia_opt_flags
|
||||
elif CONFIG['CPU_ARCH'] in ('arm', 'aarch64') and CONFIG['GNU_CC']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'skia/src/core/SkUtilsArm.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
|
|
|
|||
|
|
@ -55,12 +55,11 @@ if CONFIG['MOZ_X11']:
|
|||
'X11Util.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'DriverCrashGuard.cpp',
|
||||
'FilterSupport.cpp',
|
||||
'gfxTelemetry.cpp',
|
||||
'nsColor.cpp',
|
||||
'nsDeviceContext.cpp',
|
||||
'nsFont.cpp',
|
||||
'nsFontMetrics.cpp',
|
||||
'nsRect.cpp',
|
||||
|
|
@ -72,6 +71,11 @@ SOURCES += [
|
|||
'TiledRegion.cpp',
|
||||
]
|
||||
|
||||
# nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers.
|
||||
SOURCES += [
|
||||
'nsDeviceContext.cpp',
|
||||
]
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ EXPORTS += [
|
|||
'YCbCrUtils.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'scale_yuv_argb.cpp',
|
||||
'ycbcr_to_rgb565.cpp',
|
||||
'YCbCrUtils.cpp',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Library('editline')
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'editline.c',
|
||||
'sysunix.c',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ if CONFIG['JS_SHELL_NAME']:
|
|||
USE_LIBS += ['editline']
|
||||
USE_LIBS += ['static:js']
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'js.cpp',
|
||||
'jsoptparse.cpp',
|
||||
'jsshell.cpp',
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ EXPORTS += [
|
|||
'nsLayoutStatics.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsContentDLF.cpp',
|
||||
'nsLayoutModule.cpp',
|
||||
'nsLayoutStatics.cpp',
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXPORTS += [
|
|||
'nsITextControlFrame.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsButtonFrameRenderer.cpp',
|
||||
'nsColorControlFrame.cpp',
|
||||
'nsComboboxControlFrame.cpp',
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ EXPORTS += [
|
|||
'nsFontFaceList.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'inCSSValueSearch.cpp',
|
||||
'inDeepTreeWalker.cpp',
|
||||
'inDOMUtils.cpp',
|
||||
|
|
|
|||
|
|
@ -13,9 +13,12 @@ EXPORTS.mozilla.layout += [
|
|||
'VsyncParent.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'RenderFrameChild.cpp',
|
||||
'RenderFrameParent.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'VsyncChild.cpp',
|
||||
'VsyncParent.cpp',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ if CONFIG['ENABLE_TESTS']:
|
|||
'tests/chrome.ini',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsMathMLChar.cpp',
|
||||
'nsMathMLContainerFrame.cpp',
|
||||
'nsMathMLFrame.cpp',
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ EXPORTS += [
|
|||
'nsLayoutDebugCIID.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsDebugFactory.cpp',
|
||||
'nsLayoutDebugCLH.cpp',
|
||||
'nsLayoutDebuggingTools.cpp',
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ EXPORTS.mozilla.net += [
|
|||
'ReferrerPolicy.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ArrayBufferInputStream.cpp',
|
||||
'BackgroundFileSaver.cpp',
|
||||
'CaptivePortalService.cpp',
|
||||
|
|
|
|||
2
netwerk/cache/moz.build
vendored
2
netwerk/cache/moz.build
vendored
|
|
@ -20,7 +20,7 @@ EXPORTS += [
|
|||
'nsDeleteDir.h'
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsApplicationCacheService.cpp',
|
||||
'nsCache.cpp',
|
||||
'nsCacheEntry.cpp',
|
||||
|
|
|
|||
2
netwerk/cache/nsApplicationCacheService.cpp
vendored
2
netwerk/cache/nsApplicationCacheService.cpp
vendored
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
using namespace mozilla;
|
||||
|
||||
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// nsApplicationCacheService
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
3
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
3
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
|
|
@ -17,8 +17,6 @@
|
|||
#include "nsCacheService.h"
|
||||
#include "nsApplicationCache.h"
|
||||
|
||||
#include "nsNetCID.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsEscape.h"
|
||||
|
|
@ -55,7 +53,6 @@ using namespace mozilla::storage;
|
|||
using mozilla::NeckoOriginAttributes;
|
||||
|
||||
static const char OFFLINE_CACHE_DEVICE_ID[] = { "offline" };
|
||||
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
|
||||
|
||||
#define LOG(args) CACHE_LOG_DEBUG(args)
|
||||
|
||||
|
|
|
|||
4
netwerk/cache/nsDiskCacheDeviceSQL.h
vendored
4
netwerk/cache/nsDiskCacheDeviceSQL.h
vendored
|
|
@ -21,6 +21,10 @@
|
|||
#include "nsWeakReference.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/Mutex.h"
|
||||
#include "nsNetCID.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
|
||||
|
||||
class nsIURI;
|
||||
class nsOfflineCacheDevice;
|
||||
|
|
|
|||
|
|
@ -20,8 +20,7 @@ EXPORTS += [
|
|||
'CacheStorageService.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'AppCacheStorage.cpp',
|
||||
UNIFIED_SOURCES += [
|
||||
'CacheEntry.cpp',
|
||||
'CacheFile.cpp',
|
||||
'CacheFileChunk.cpp',
|
||||
|
|
@ -43,6 +42,11 @@ SOURCES += [
|
|||
'OldWrappers.cpp',
|
||||
]
|
||||
|
||||
# AppCacheStorage.cpp cannot be built in unified mode because it uses plarena.h.
|
||||
SOURCES += [
|
||||
'AppCacheStorage.cpp',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'/netwerk/base',
|
||||
'/netwerk/cache',
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue