mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-02 05:17:31 +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 += [
|
UNIFIED_SOURCES += [
|
||||||
'KeyframeEffect.cpp',
|
|
||||||
'KeyframeEffectReadOnly.cpp',
|
|
||||||
]
|
|
||||||
|
|
||||||
SOURCES += [
|
|
||||||
'Animation.cpp',
|
'Animation.cpp',
|
||||||
'AnimationEffectReadOnly.cpp',
|
'AnimationEffectReadOnly.cpp',
|
||||||
'AnimationEffectTiming.cpp',
|
'AnimationEffectTiming.cpp',
|
||||||
|
|
@ -54,7 +49,9 @@ SOURCES += [
|
||||||
'DocumentTimeline.cpp',
|
'DocumentTimeline.cpp',
|
||||||
'EffectCompositor.cpp',
|
'EffectCompositor.cpp',
|
||||||
'EffectSet.cpp',
|
'EffectSet.cpp',
|
||||||
|
'KeyframeEffect.cpp',
|
||||||
'KeyframeEffectParams.cpp',
|
'KeyframeEffectParams.cpp',
|
||||||
|
'KeyframeEffectReadOnly.cpp',
|
||||||
'KeyframeUtils.cpp',
|
'KeyframeUtils.cpp',
|
||||||
'PendingAnimationTracker.cpp',
|
'PendingAnimationTracker.cpp',
|
||||||
'TimingParams.cpp',
|
'TimingParams.cpp',
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ EXPORTS += [
|
||||||
'AudioChannelService.h',
|
'AudioChannelService.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AudioChannelAgent.cpp',
|
'AudioChannelAgent.cpp',
|
||||||
'AudioChannelService.cpp',
|
'AudioChannelService.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ LOCAL_INCLUDES += [
|
||||||
'/media/webrtc/signaling/src/peerconnection',
|
'/media/webrtc/signaling/src/peerconnection',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'BindingUtils.cpp',
|
'BindingUtils.cpp',
|
||||||
'CallbackInterface.cpp',
|
'CallbackInterface.cpp',
|
||||||
'CallbackObject.cpp',
|
'CallbackObject.cpp',
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'BroadcastChannel.h',
|
'BroadcastChannel.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'BroadcastChannel.cpp',
|
'BroadcastChannel.cpp',
|
||||||
'BroadcastChannelChild.cpp',
|
'BroadcastChannelChild.cpp',
|
||||||
'BroadcastChannelParent.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',
|
'TypeUtils.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Action.cpp',
|
'Action.cpp',
|
||||||
'ActorChild.cpp',
|
'ActorChild.cpp',
|
||||||
'AutoUtils.cpp',
|
'AutoUtils.cpp',
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'Console.h',
|
'Console.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Console.cpp',
|
'Console.cpp',
|
||||||
'ConsoleReportCollector.cpp',
|
'ConsoleReportCollector.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'WebCryptoThreadPool.h'
|
'WebCryptoThreadPool.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CryptoBuffer.cpp',
|
'CryptoBuffer.cpp',
|
||||||
'CryptoKey.cpp',
|
'CryptoKey.cpp',
|
||||||
'KeyAlgorithmProxy.cpp',
|
'KeyAlgorithmProxy.cpp',
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'TextEncoder.h',
|
'TextEncoder.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'EncodingUtils.cpp',
|
'EncodingUtils.cpp',
|
||||||
'FallbackEncoding.cpp',
|
'FallbackEncoding.cpp',
|
||||||
'TextDecoder.cpp',
|
'TextDecoder.cpp',
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'XULCommandEvent.h',
|
'XULCommandEvent.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AnimationEvent.cpp',
|
'AnimationEvent.cpp',
|
||||||
'AsyncEventDispatcher.cpp',
|
'AsyncEventDispatcher.cpp',
|
||||||
'BeforeAfterKeyboardEvent.cpp',
|
'BeforeAfterKeyboardEvent.cpp',
|
||||||
|
|
@ -95,7 +95,6 @@ SOURCES += [
|
||||||
'EventDispatcher.cpp',
|
'EventDispatcher.cpp',
|
||||||
'EventListenerManager.cpp',
|
'EventListenerManager.cpp',
|
||||||
'EventListenerService.cpp',
|
'EventListenerService.cpp',
|
||||||
'EventStateManager.cpp',
|
|
||||||
'EventTarget.cpp',
|
'EventTarget.cpp',
|
||||||
'FocusEvent.cpp',
|
'FocusEvent.cpp',
|
||||||
'ImageCaptureError.cpp',
|
'ImageCaptureError.cpp',
|
||||||
|
|
@ -125,6 +124,11 @@ SOURCES += [
|
||||||
'XULCommandEvent.cpp',
|
'XULCommandEvent.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# nsEventStateManager.cpp should be built separately because of Mac OS X headers.
|
||||||
|
SOURCES += [
|
||||||
|
'EventStateManager.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
include('/ipc/chromium/chromium-config.mozbuild')
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'MutableFileBase.h',
|
'MutableFileBase.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ActorsChild.cpp',
|
'ActorsChild.cpp',
|
||||||
'ActorsParent.cpp',
|
'ActorsParent.cpp',
|
||||||
'FileHandleBase.cpp',
|
'FileHandleBase.cpp',
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'OSFileSystem.h',
|
'OSFileSystem.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Directory.cpp',
|
'Directory.cpp',
|
||||||
'FileSystemBase.cpp',
|
'FileSystemBase.cpp',
|
||||||
'FileSystemRequestParent.cpp',
|
'FileSystemRequestParent.cpp',
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ SOURCES += [
|
||||||
'nsGeolocation.cpp',
|
'nsGeolocation.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MLSFallback.cpp',
|
'MLSFallback.cpp',
|
||||||
'nsGeoPosition.cpp',
|
'nsGeoPosition.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'GridTracks.h',
|
'GridTracks.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Grid.cpp',
|
'Grid.cpp',
|
||||||
'GridArea.cpp',
|
'GridArea.cpp',
|
||||||
'GridDimension.cpp',
|
'GridDimension.cpp',
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'ValidityState.h',
|
'ValidityState.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'HTMLAllCollection.cpp',
|
'HTMLAllCollection.cpp',
|
||||||
'HTMLAnchorElement.cpp',
|
'HTMLAnchorElement.cpp',
|
||||||
'HTMLAreaElement.cpp',
|
'HTMLAreaElement.cpp',
|
||||||
|
|
@ -203,7 +203,6 @@ SOURCES += [
|
||||||
'nsIConstraintValidation.cpp',
|
'nsIConstraintValidation.cpp',
|
||||||
'nsRadioVisitor.cpp',
|
'nsRadioVisitor.cpp',
|
||||||
'nsTextEditorState.cpp',
|
'nsTextEditorState.cpp',
|
||||||
'PluginDocument.cpp',
|
|
||||||
'RadioNodeList.cpp',
|
'RadioNodeList.cpp',
|
||||||
'TextTrackManager.cpp',
|
'TextTrackManager.cpp',
|
||||||
'TimeRanges.cpp',
|
'TimeRanges.cpp',
|
||||||
|
|
@ -211,6 +210,11 @@ SOURCES += [
|
||||||
'VideoDocument.cpp',
|
'VideoDocument.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
SOURCES += [
|
||||||
|
# Includes npapi.h.
|
||||||
|
'PluginDocument.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
EXTRA_COMPONENTS += [
|
EXTRA_COMPONENTS += [
|
||||||
'htmlMenuBuilder.js',
|
'htmlMenuBuilder.js',
|
||||||
'htmlMenuBuilder.manifest'
|
'htmlMenuBuilder.manifest'
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ EXPORTS.mozilla.dom.indexedDB += [
|
||||||
'SerializationHelpers.h',
|
'SerializationHelpers.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ActorsChild.cpp',
|
'ActorsChild.cpp',
|
||||||
'FileInfo.cpp',
|
'FileInfo.cpp',
|
||||||
'FileSnapshot.cpp',
|
'FileSnapshot.cpp',
|
||||||
|
|
|
||||||
|
|
@ -43,13 +43,11 @@ EXPORTS.mozilla += [
|
||||||
'ProcessPriorityManager.h',
|
'ProcessPriorityManager.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AppProcessChecker.cpp',
|
'AppProcessChecker.cpp',
|
||||||
'Blob.cpp',
|
|
||||||
'ColorPickerParent.cpp',
|
'ColorPickerParent.cpp',
|
||||||
'ContentBridgeChild.cpp',
|
'ContentBridgeChild.cpp',
|
||||||
'ContentBridgeParent.cpp',
|
'ContentBridgeParent.cpp',
|
||||||
'ContentChild.cpp',
|
|
||||||
'ContentParent.cpp',
|
'ContentParent.cpp',
|
||||||
'ContentProcess.cpp',
|
'ContentProcess.cpp',
|
||||||
'ContentProcessManager.cpp',
|
'ContentProcessManager.cpp',
|
||||||
|
|
@ -58,7 +56,6 @@ SOURCES += [
|
||||||
'nsIContentParent.cpp',
|
'nsIContentParent.cpp',
|
||||||
'PermissionMessageUtils.cpp',
|
'PermissionMessageUtils.cpp',
|
||||||
'PreallocatedProcessManager.cpp',
|
'PreallocatedProcessManager.cpp',
|
||||||
'ProcessHangMonitor.cpp',
|
|
||||||
'ProcessPriorityManager.cpp',
|
'ProcessPriorityManager.cpp',
|
||||||
'ScreenManagerParent.cpp',
|
'ScreenManagerParent.cpp',
|
||||||
'StructuredCloneData.cpp',
|
'StructuredCloneData.cpp',
|
||||||
|
|
@ -68,6 +65,14 @@ SOURCES += [
|
||||||
'TabParent.cpp',
|
'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 += [
|
IPDL_SOURCES += [
|
||||||
'BlobTypes.ipdlh',
|
'BlobTypes.ipdlh',
|
||||||
'DOMTypes.ipdlh',
|
'DOMTypes.ipdlh',
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@
|
||||||
|
|
||||||
EXPORTS += ['nsJSON.h']
|
EXPORTS += ['nsJSON.h']
|
||||||
|
|
||||||
SOURCES += ['nsJSON.cpp']
|
UNIFIED_SOURCES += [
|
||||||
|
'nsJSON.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
LOCAL_INCLUDES += ['/dom/base']
|
LOCAL_INCLUDES += ['/dom/base']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ EXPORTS += [
|
||||||
'nsJSProtocolHandler.h',
|
'nsJSProtocolHandler.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsJSProtocolHandler.cpp',
|
'nsJSProtocolHandler.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsMathMLElement.cpp',
|
'nsMathMLElement.cpp',
|
||||||
'nsMathMLElementFactory.cpp',
|
'nsMathMLElementFactory.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ EXPORTS += [
|
||||||
'FlacFrameParser.h',
|
'FlacFrameParser.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'FlacDecoder.cpp',
|
'FlacDecoder.cpp',
|
||||||
'FlacDemuxer.cpp',
|
'FlacDemuxer.cpp',
|
||||||
'FlacFrameParser.cpp',
|
'FlacFrameParser.cpp',
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,13 @@ EXPORTS += [
|
||||||
'MP4Stream.h',
|
'MP4Stream.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MP4Decoder.cpp',
|
'MP4Decoder.cpp',
|
||||||
'MP4Demuxer.cpp',
|
|
||||||
'MP4Stream.cpp',
|
'MP4Stream.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
SOURCES += [
|
||||||
|
'MP4Demuxer.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'ImageCapture.h'
|
'ImageCapture.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CaptureTask.cpp',
|
'CaptureTask.cpp',
|
||||||
'ImageCapture.cpp',
|
'ImageCapture.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AudioSinkWrapper.cpp',
|
'AudioSinkWrapper.cpp',
|
||||||
'DecodedAudioDataSink.cpp',
|
'DecodedAudioDataSink.cpp',
|
||||||
'DecodedStream.cpp',
|
'DecodedStream.cpp',
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'SourceBufferList.h',
|
'SourceBufferList.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ContainerParser.cpp',
|
'ContainerParser.cpp',
|
||||||
'MediaSource.cpp',
|
'MediaSource.cpp',
|
||||||
'MediaSourceDecoder.cpp',
|
'MediaSourceDecoder.cpp',
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'VideoTrackList.h',
|
'VideoTrackList.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AccurateSeekTask.cpp',
|
'AccurateSeekTask.cpp',
|
||||||
'ADTSDecoder.cpp',
|
'ADTSDecoder.cpp',
|
||||||
'ADTSDemuxer.cpp',
|
'ADTSDemuxer.cpp',
|
||||||
|
|
@ -200,7 +200,6 @@ SOURCES += [
|
||||||
'CanvasCaptureMediaStream.cpp',
|
'CanvasCaptureMediaStream.cpp',
|
||||||
'CubebUtils.cpp',
|
'CubebUtils.cpp',
|
||||||
'DecoderDoctorDiagnostics.cpp',
|
'DecoderDoctorDiagnostics.cpp',
|
||||||
'DecoderTraits.cpp',
|
|
||||||
'DOMMediaStream.cpp',
|
'DOMMediaStream.cpp',
|
||||||
'EncodedBufferCache.cpp',
|
'EncodedBufferCache.cpp',
|
||||||
'FileBlockCache.cpp',
|
'FileBlockCache.cpp',
|
||||||
|
|
@ -256,6 +255,11 @@ SOURCES += [
|
||||||
if CONFIG['OS_TARGET'] == 'WINNT':
|
if CONFIG['OS_TARGET'] == 'WINNT':
|
||||||
SOURCES += [ 'ThreadPoolCOMListener.cpp' ]
|
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
|
# Some codec-related code uses multi-character constants, which GCC and clang
|
||||||
# warn about. Suppress turning this warning into an error.
|
# warn about. Suppress turning this warning into an error.
|
||||||
if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:
|
if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
||||||
'MP3Demuxer.h',
|
'MP3Demuxer.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MP3Decoder.cpp',
|
'MP3Decoder.cpp',
|
||||||
'MP3Demuxer.cpp',
|
'MP3Demuxer.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ EXPORTS += [
|
||||||
'OpusParser.h',
|
'OpusParser.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'OggCodecState.cpp',
|
'OggCodecState.cpp',
|
||||||
'OggCodecStore.cpp',
|
'OggCodecStore.cpp',
|
||||||
'OggDecoder.cpp',
|
'OggDecoder.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'../FFmpegAudioDecoder.cpp',
|
'../FFmpegAudioDecoder.cpp',
|
||||||
'../FFmpegDataDecoder.cpp',
|
'../FFmpegDataDecoder.cpp',
|
||||||
'../FFmpegDecoderModule.cpp',
|
'../FFmpegDecoderModule.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'../FFmpegAudioDecoder.cpp',
|
'../FFmpegAudioDecoder.cpp',
|
||||||
'../FFmpegDataDecoder.cpp',
|
'../FFmpegDataDecoder.cpp',
|
||||||
'../FFmpegDecoderModule.cpp',
|
'../FFmpegDecoderModule.cpp',
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
||||||
'FFVPXRuntimeLinker.h',
|
'FFVPXRuntimeLinker.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'../FFmpegAudioDecoder.cpp',
|
'../FFmpegAudioDecoder.cpp',
|
||||||
'../FFmpegDataDecoder.cpp',
|
'../FFmpegDataDecoder.cpp',
|
||||||
'../FFmpegDecoderModule.cpp',
|
'../FFmpegDecoderModule.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'../FFmpegAudioDecoder.cpp',
|
'../FFmpegAudioDecoder.cpp',
|
||||||
'../FFmpegDataDecoder.cpp',
|
'../FFmpegDataDecoder.cpp',
|
||||||
'../FFmpegDecoderModule.cpp',
|
'../FFmpegDecoderModule.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'../FFmpegAudioDecoder.cpp',
|
'../FFmpegAudioDecoder.cpp',
|
||||||
'../FFmpegDataDecoder.cpp',
|
'../FFmpegDataDecoder.cpp',
|
||||||
'../FFmpegDecoderModule.cpp',
|
'../FFmpegDecoderModule.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'../FFmpegAudioDecoder.cpp',
|
'../FFmpegAudioDecoder.cpp',
|
||||||
'../FFmpegDataDecoder.cpp',
|
'../FFmpegDataDecoder.cpp',
|
||||||
'../FFmpegDecoderModule.cpp',
|
'../FFmpegDecoderModule.cpp',
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ EXPORTS += [
|
||||||
'wrappers/H264Converter.h'
|
'wrappers/H264Converter.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'agnostic/AgnosticDecoderModule.cpp',
|
'agnostic/AgnosticDecoderModule.cpp',
|
||||||
'agnostic/BlankDecoderModule.cpp',
|
'agnostic/BlankDecoderModule.cpp',
|
||||||
'agnostic/OpusDecoder.cpp',
|
'agnostic/OpusDecoder.cpp',
|
||||||
|
|
@ -41,7 +41,7 @@ if CONFIG['MOZ_WMF']:
|
||||||
|
|
||||||
if CONFIG['MOZ_FFVPX'] or CONFIG['MOZ_FFMPEG']:
|
if CONFIG['MOZ_FFVPX'] or CONFIG['MOZ_FFMPEG']:
|
||||||
# common code to either FFmpeg or FFVPX
|
# common code to either FFmpeg or FFVPX
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ffmpeg/FFmpegLibWrapper.cpp',
|
'ffmpeg/FFmpegLibWrapper.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -59,7 +59,7 @@ if CONFIG['MOZ_AV1']:
|
||||||
EXPORTS += [
|
EXPORTS += [
|
||||||
'agnostic/AOMDecoder.h',
|
'agnostic/AOMDecoder.h',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'agnostic/AOMDecoder.cpp',
|
'agnostic/AOMDecoder.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ if CONFIG['MOZ_APPLEMEDIA']:
|
||||||
EXPORTS += [
|
EXPORTS += [
|
||||||
'apple/AppleDecoderModule.h',
|
'apple/AppleDecoderModule.h',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'apple/AppleATDecoder.cpp',
|
'apple/AppleATDecoder.cpp',
|
||||||
'apple/AppleCMLinker.cpp',
|
'apple/AppleCMLinker.cpp',
|
||||||
'apple/AppleDecoderModule.cpp',
|
'apple/AppleDecoderModule.cpp',
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ EXPORTS += [
|
||||||
'OmxDecoderModule.h',
|
'OmxDecoderModule.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'OmxDataDecoder.cpp',
|
'OmxDataDecoder.cpp',
|
||||||
'OmxDecoderModule.cpp',
|
'OmxDecoderModule.cpp',
|
||||||
'OmxPlatformLayer.cpp',
|
'OmxPlatformLayer.cpp',
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
if CONFIG['OS_TARGET'] != 'WINNT':
|
if CONFIG['OS_TARGET'] != 'WINNT':
|
||||||
Library('media_standalone')
|
Library('media_standalone')
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'../AudioChannelFormat.cpp',
|
'../AudioChannelFormat.cpp',
|
||||||
'../AudioSegment.cpp',
|
'../AudioSegment.cpp',
|
||||||
'../SimpleImageBuffer.cpp',
|
'../SimpleImageBuffer.cpp',
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if CONFIG['MOZ_WEBRTC']:
|
||||||
'LoadManagerFactory.h',
|
'LoadManagerFactory.h',
|
||||||
'LoadMonitor.h',
|
'LoadMonitor.h',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CamerasChild.cpp',
|
'CamerasChild.cpp',
|
||||||
'CamerasParent.cpp',
|
'CamerasParent.cpp',
|
||||||
'LoadManager.cpp',
|
'LoadManager.cpp',
|
||||||
|
|
@ -70,8 +70,7 @@ EXPORTS.mozilla.media += ['CamerasTypes.h',
|
||||||
'MediaTaskUtils.h',
|
'MediaTaskUtils.h',
|
||||||
'MediaUtils.h',
|
'MediaUtils.h',
|
||||||
]
|
]
|
||||||
|
UNIFIED_SOURCES += [
|
||||||
SOURCES += [
|
|
||||||
'MediaChild.cpp',
|
'MediaChild.cpp',
|
||||||
'MediaParent.cpp',
|
'MediaParent.cpp',
|
||||||
'MediaSystemResourceClient.cpp',
|
'MediaSystemResourceClient.cpp',
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
||||||
'WaveDemuxer.h',
|
'WaveDemuxer.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'WaveDecoder.cpp',
|
'WaveDecoder.cpp',
|
||||||
'WaveDemuxer.cpp',
|
'WaveDemuxer.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ EXPORTS += [
|
||||||
'WebMDemuxer.h',
|
'WebMDemuxer.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'WebMBufferedParser.cpp',
|
'WebMBufferedParser.cpp',
|
||||||
'WebMDecoder.cpp',
|
'WebMDecoder.cpp',
|
||||||
'WebMDemuxer.cpp',
|
'WebMDemuxer.cpp',
|
||||||
|
|
|
||||||
|
|
@ -30,14 +30,15 @@ if CONFIG['MOZ_WEBRTC']:
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MediaEngineCameraVideoSource.cpp',
|
'MediaEngineCameraVideoSource.cpp',
|
||||||
'MediaEngineRemoteVideoSource.cpp',
|
'MediaEngineRemoteVideoSource.cpp',
|
||||||
]
|
|
||||||
SOURCES += [
|
|
||||||
'MediaEngineTabVideoSource.cpp',
|
'MediaEngineTabVideoSource.cpp',
|
||||||
'MediaEngineWebRTC.cpp',
|
|
||||||
'MediaEngineWebRTCAudio.cpp',
|
'MediaEngineWebRTCAudio.cpp',
|
||||||
'RTCCertificate.cpp',
|
'RTCCertificate.cpp',
|
||||||
'RTCIdentityProviderRegistrar.cpp',
|
'RTCIdentityProviderRegistrar.cpp',
|
||||||
]
|
]
|
||||||
|
# MediaEngineWebRTC.cpp needs to be built separately.
|
||||||
|
SOURCES += [
|
||||||
|
'MediaEngineWebRTC.cpp',
|
||||||
|
]
|
||||||
LOCAL_INCLUDES += [
|
LOCAL_INCLUDES += [
|
||||||
'/dom/base',
|
'/dom/base',
|
||||||
'/media/libyuv/include',
|
'/media/libyuv/include',
|
||||||
|
|
@ -51,10 +52,8 @@ XPIDL_SOURCES += [
|
||||||
]
|
]
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MediaTrackConstraints.cpp',
|
|
||||||
]
|
|
||||||
SOURCES += [
|
|
||||||
'MediaEngineDefault.cpp',
|
'MediaEngineDefault.cpp',
|
||||||
|
'MediaTrackConstraints.cpp',
|
||||||
'PeerIdentity.cpp',
|
'PeerIdentity.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsPicoService.cpp',
|
'nsPicoService.cpp',
|
||||||
'PicoModule.cpp'
|
'PicoModule.cpp'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'SpeechDispatcherModule.cpp',
|
'SpeechDispatcherModule.cpp',
|
||||||
'SpeechDispatcherService.cpp'
|
'SpeechDispatcherService.cpp'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'SapiModule.cpp',
|
'SapiModule.cpp',
|
||||||
'SapiService.cpp'
|
'SapiService.cpp'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'MessagePortParent.h',
|
'MessagePortParent.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MessageChannel.cpp',
|
'MessageChannel.cpp',
|
||||||
'MessagePort.cpp',
|
'MessagePort.cpp',
|
||||||
'MessagePortChild.cpp',
|
'MessagePortChild.cpp',
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ EXPORTS.mozilla.dom.network += [
|
||||||
'UDPSocketParent.h',
|
'UDPSocketParent.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Connection.cpp',
|
'Connection.cpp',
|
||||||
'TCPServerSocket.cpp',
|
'TCPServerSocket.cpp',
|
||||||
'TCPServerSocketChild.cpp',
|
'TCPServerSocketChild.cpp',
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'NotificationEvent.h',
|
'NotificationEvent.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'DesktopNotification.cpp',
|
'DesktopNotification.cpp',
|
||||||
'Notification.cpp',
|
'Notification.cpp',
|
||||||
'NotificationEvent.cpp',
|
'NotificationEvent.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,15 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# 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'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'PerformanceTiming.h',
|
'PerformanceTiming.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Performance.cpp',
|
'Performance.cpp',
|
||||||
'PerformanceEntry.cpp',
|
'PerformanceEntry.cpp',
|
||||||
'PerformanceMainThread.cpp',
|
'PerformanceMainThread.cpp',
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'PermissionStatus.h',
|
'PermissionStatus.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'PermissionObserver.cpp',
|
'PermissionObserver.cpp',
|
||||||
'Permissions.cpp',
|
'Permissions.cpp',
|
||||||
'PermissionStatus.cpp',
|
'PermissionStatus.cpp',
|
||||||
|
|
|
||||||
|
|
@ -37,12 +37,10 @@ EXPORTS.mozilla += [
|
||||||
'PluginPRLibrary.h',
|
'PluginPRLibrary.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsJSNPRuntime.cpp',
|
'nsJSNPRuntime.cpp',
|
||||||
'nsNPAPIPlugin.cpp',
|
|
||||||
'nsNPAPIPluginInstance.cpp',
|
'nsNPAPIPluginInstance.cpp',
|
||||||
'nsNPAPIPluginStreamListener.cpp',
|
'nsNPAPIPluginStreamListener.cpp',
|
||||||
'nsPluginHost.cpp',
|
|
||||||
'nsPluginInstanceOwner.cpp',
|
'nsPluginInstanceOwner.cpp',
|
||||||
'nsPluginModule.cpp',
|
'nsPluginModule.cpp',
|
||||||
'nsPluginStreamListenerPeer.cpp',
|
'nsPluginStreamListenerPeer.cpp',
|
||||||
|
|
@ -50,19 +48,24 @@ SOURCES += [
|
||||||
'PluginPRLibrary.cpp',
|
'PluginPRLibrary.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
SOURCES += [
|
||||||
|
'nsNPAPIPlugin.cpp', # Conflict with X11 headers
|
||||||
|
'nsPluginHost.cpp', # Conflict with NS_NPAPIPLUGIN_CALLBACK
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsPluginDirServiceProvider.cpp',
|
'nsPluginDirServiceProvider.cpp',
|
||||||
'nsPluginNativeWindowWin.cpp',
|
'nsPluginNativeWindowWin.cpp',
|
||||||
'nsPluginsDirWin.cpp',
|
'nsPluginsDirWin.cpp',
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsPluginNativeWindow.cpp',
|
'nsPluginNativeWindow.cpp',
|
||||||
'nsPluginsDirDarwin.cpp',
|
'nsPluginsDirDarwin.cpp',
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsPluginsDirUnix.cpp',
|
'nsPluginsDirUnix.cpp',
|
||||||
]
|
]
|
||||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||||
|
|
@ -71,7 +74,7 @@ else:
|
||||||
'nsPluginNativeWindowGtk.cpp',
|
'nsPluginNativeWindowGtk.cpp',
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsPluginNativeWindow.cpp',
|
'nsPluginNativeWindow.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,11 +47,13 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
||||||
EXPORTS.mozilla.plugins += [
|
EXPORTS.mozilla.plugins += [
|
||||||
'PluginSurfaceParent.h',
|
'PluginSurfaceParent.h',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MiniShmParent.cpp',
|
|
||||||
'PluginHangUIParent.cpp',
|
'PluginHangUIParent.cpp',
|
||||||
'PluginSurfaceParent.cpp',
|
'PluginSurfaceParent.cpp',
|
||||||
]
|
]
|
||||||
|
SOURCES += [
|
||||||
|
'MiniShmParent.cpp', # Issues with CreateEvent
|
||||||
|
]
|
||||||
DEFINES['MOZ_HANGUI_PROCESS_NAME'] = '"plugin-hang-ui%s"' % CONFIG['BIN_SUFFIX']
|
DEFINES['MOZ_HANGUI_PROCESS_NAME'] = '"plugin-hang-ui%s"' % CONFIG['BIN_SUFFIX']
|
||||||
LOCAL_INCLUDES += [
|
LOCAL_INCLUDES += [
|
||||||
'/widget',
|
'/widget',
|
||||||
|
|
@ -63,17 +65,15 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||||
'PluginInterposeOSX.h',
|
'PluginInterposeOSX.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'BrowserStreamChild.cpp',
|
'BrowserStreamChild.cpp',
|
||||||
'BrowserStreamParent.cpp',
|
'BrowserStreamParent.cpp',
|
||||||
'ChildAsyncCall.cpp',
|
'ChildAsyncCall.cpp',
|
||||||
'ChildTimer.cpp',
|
'ChildTimer.cpp',
|
||||||
'PluginAsyncSurrogate.cpp',
|
'PluginAsyncSurrogate.cpp',
|
||||||
'PluginBackgroundDestroyer.cpp',
|
'PluginBackgroundDestroyer.cpp',
|
||||||
'PluginInstanceChild.cpp',
|
|
||||||
'PluginInstanceParent.cpp',
|
'PluginInstanceParent.cpp',
|
||||||
'PluginMessageUtils.cpp',
|
'PluginMessageUtils.cpp',
|
||||||
'PluginModuleChild.cpp',
|
|
||||||
'PluginModuleParent.cpp',
|
'PluginModuleParent.cpp',
|
||||||
'PluginProcessChild.cpp',
|
'PluginProcessChild.cpp',
|
||||||
'PluginProcessParent.cpp',
|
'PluginProcessParent.cpp',
|
||||||
|
|
@ -82,18 +82,23 @@ SOURCES += [
|
||||||
'PluginScriptableObjectParent.cpp',
|
'PluginScriptableObjectParent.cpp',
|
||||||
'PluginStreamChild.cpp',
|
'PluginStreamChild.cpp',
|
||||||
'PluginStreamParent.cpp',
|
'PluginStreamParent.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
|
SOURCES += [
|
||||||
|
'PluginInstanceChild.cpp', # 'PluginThreadCallback' : ambiguous symbol
|
||||||
|
'PluginModuleChild.cpp', # Redefinition of mozilla::WindowsDllInterceptor sUser32Intercept
|
||||||
'PluginWidgetChild.cpp',
|
'PluginWidgetChild.cpp',
|
||||||
'PluginWidgetParent.cpp',
|
'PluginWidgetParent.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'PluginInterposeOSX.mm',
|
'PluginInterposeOSX.mm',
|
||||||
'PluginUtilsOSX.mm',
|
'PluginUtilsOSX.mm',
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'D3D11SurfaceHolder.cpp',
|
'D3D11SurfaceHolder.cpp',
|
||||||
'PluginUtilsWin.cpp'
|
'PluginUtilsWin.cpp'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ EXPORTS.mozilla.dom.power += [
|
||||||
'Types.h',
|
'Types.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'PowerManager.cpp',
|
'PowerManager.cpp',
|
||||||
'PowerManagerService.cpp',
|
'PowerManagerService.cpp',
|
||||||
'WakeLock.cpp',
|
'WakeLock.cpp',
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'PushUtil.h',
|
'PushUtil.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'PushManager.cpp',
|
'PushManager.cpp',
|
||||||
'PushNotifier.cpp',
|
'PushNotifier.cpp',
|
||||||
'PushSubscription.cpp',
|
'PushSubscription.cpp',
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ EXPORTS.mozilla.dom.quota += [
|
||||||
'UsageInfo.h',
|
'UsageInfo.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ActorsChild.cpp',
|
'ActorsChild.cpp',
|
||||||
'ActorsParent.cpp',
|
'ActorsParent.cpp',
|
||||||
'FileStreams.cpp',
|
'FileStreams.cpp',
|
||||||
|
|
|
||||||
|
|
@ -23,15 +23,12 @@ EXPORTS += [
|
||||||
]
|
]
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsCSPContext.cpp',
|
|
||||||
'nsCSPUtils.cpp',
|
|
||||||
]
|
|
||||||
|
|
||||||
SOURCES += [
|
|
||||||
'ContentVerifier.cpp',
|
'ContentVerifier.cpp',
|
||||||
'nsContentSecurityManager.cpp',
|
'nsContentSecurityManager.cpp',
|
||||||
|
'nsCSPContext.cpp',
|
||||||
'nsCSPParser.cpp',
|
'nsCSPParser.cpp',
|
||||||
'nsCSPService.cpp',
|
'nsCSPService.cpp',
|
||||||
|
'nsCSPUtils.cpp',
|
||||||
'nsMixedContentBlocker.cpp',
|
'nsMixedContentBlocker.cpp',
|
||||||
'SRICheck.cpp',
|
'SRICheck.cpp',
|
||||||
'SRIMetadata.cpp',
|
'SRIMetadata.cpp',
|
||||||
|
|
|
||||||
|
|
@ -31,29 +31,6 @@ GetCspParserLog()
|
||||||
#define CSPPARSERLOG(args) MOZ_LOG(GetCspParserLog(), mozilla::LogLevel::Debug, args)
|
#define CSPPARSERLOG(args) MOZ_LOG(GetCspParserLog(), mozilla::LogLevel::Debug, args)
|
||||||
#define CSPPARSERLOGENABLED() MOZ_LOG_TEST(GetCspParserLog(), mozilla::LogLevel::Debug)
|
#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 uint32_t kSubHostPathCharacterCutoff = 512;
|
||||||
|
|
||||||
static const char *const kHashSourceValidFns [] = { "sha256", "sha384", "sha512" };
|
static const char *const kHashSourceValidFns [] = { "sha256", "sha384", "sha512" };
|
||||||
|
|
@ -158,27 +135,6 @@ nsCSPParser::~nsCSPParser()
|
||||||
CSPPARSERLOG(("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
|
void
|
||||||
nsCSPParser::resetCurChar(const nsAString& aToken)
|
nsCSPParser::resetCurChar(const nsAString& aToken)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,6 @@
|
||||||
#include "nsIURL.h"
|
#include "nsIURL.h"
|
||||||
#include "nsReadableUtils.h"
|
#include "nsReadableUtils.h"
|
||||||
#include "nsSandboxFlags.h"
|
#include "nsSandboxFlags.h"
|
||||||
#include "nsString.h"
|
|
||||||
#include "mozilla/Logging.h"
|
|
||||||
|
|
||||||
using namespace mozilla;
|
|
||||||
|
|
||||||
#define DEFAULT_PORT -1
|
#define DEFAULT_PORT -1
|
||||||
|
|
||||||
|
|
@ -33,29 +29,6 @@ GetCspUtilsLog()
|
||||||
#define CSPUTILSLOG(args) MOZ_LOG(GetCspUtilsLog(), mozilla::LogLevel::Debug, args)
|
#define CSPUTILSLOG(args) MOZ_LOG(GetCspUtilsLog(), mozilla::LogLevel::Debug, args)
|
||||||
#define CSPUTILSLOGENABLED() MOZ_LOG_TEST(GetCspUtilsLog(), mozilla::LogLevel::Debug)
|
#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
|
void
|
||||||
CSP_PercentDecodeStr(const nsAString& aEncStr, nsAString& outDecStr)
|
CSP_PercentDecodeStr(const nsAString& aEncStr, nsAString& outDecStr)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,54 @@
|
||||||
#include "nsUnicharUtils.h"
|
#include "nsUnicharUtils.h"
|
||||||
#include "mozilla/Logging.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 mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
struct CSP;
|
struct CSP;
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'TimeEvent.h',
|
'TimeEvent.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsSMILAnimationController.cpp',
|
'nsSMILAnimationController.cpp',
|
||||||
'nsSMILAnimationFunction.cpp',
|
'nsSMILAnimationFunction.cpp',
|
||||||
'nsSMILCompositor.cpp',
|
'nsSMILCompositor.cpp',
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'DOMStorageIPC.h',
|
'DOMStorageIPC.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'DOMStorage.cpp',
|
'DOMStorage.cpp',
|
||||||
'DOMStorageCache.cpp',
|
'DOMStorageCache.cpp',
|
||||||
'DOMStorageDBThread.cpp',
|
'DOMStorageDBThread.cpp',
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'SVGZoomEvent.h',
|
'SVGZoomEvent.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'DOMSVGAnimatedLengthList.cpp',
|
'DOMSVGAnimatedLengthList.cpp',
|
||||||
'DOMSVGAnimatedNumberList.cpp',
|
'DOMSVGAnimatedNumberList.cpp',
|
||||||
'DOMSVGLength.cpp',
|
'DOMSVGLength.cpp',
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ EXPORTS.mozilla += [
|
||||||
'OSFileConstants.h',
|
'OSFileConstants.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsDeviceSensors.cpp',
|
'nsDeviceSensors.cpp',
|
||||||
'OSFileConstants.cpp',
|
'OSFileConstants.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ EXPORTS.mozilla.dom.time += [
|
||||||
'TimeService.h',
|
'TimeService.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'DateCacheCleaner.cpp',
|
'DateCacheCleaner.cpp',
|
||||||
'TimeChangeObserver.cpp',
|
'TimeChangeObserver.cpp',
|
||||||
'TimeManager.cpp',
|
'TimeManager.cpp',
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'USBToken.h',
|
'USBToken.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'NSSU2FTokenRemote.cpp',
|
'NSSU2FTokenRemote.cpp',
|
||||||
'U2F.cpp',
|
'U2F.cpp',
|
||||||
'USBToken.cpp',
|
'USBToken.cpp',
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'URLSearchParams.h',
|
'URLSearchParams.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'URL.cpp',
|
'URL.cpp',
|
||||||
'URLSearchParams.cpp',
|
'URLSearchParams.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ XPIDL_SOURCES += [
|
||||||
'nsIWorkerDebuggerManager.idl',
|
'nsIWorkerDebuggerManager.idl',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ChromeWorkerScope.cpp',
|
'ChromeWorkerScope.cpp',
|
||||||
'FileReaderSync.cpp',
|
'FileReaderSync.cpp',
|
||||||
'Principal.cpp',
|
'Principal.cpp',
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'WorkletGlobalScope.h',
|
'WorkletGlobalScope.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Worklet.cpp',
|
'Worklet.cpp',
|
||||||
'WorkletGlobalScope.cpp',
|
'WorkletGlobalScope.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'XBLChildrenElement.h',
|
'XBLChildrenElement.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsBindingManager.cpp',
|
'nsBindingManager.cpp',
|
||||||
'nsXBLBinding.cpp',
|
'nsXBLBinding.cpp',
|
||||||
'nsXBLContentSink.cpp',
|
'nsXBLContentSink.cpp',
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'XMLHttpRequestUpload.h',
|
'XMLHttpRequestUpload.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'XMLHttpRequest.cpp',
|
'XMLHttpRequest.cpp',
|
||||||
'XMLHttpRequestEventTarget.cpp',
|
'XMLHttpRequestEventTarget.cpp',
|
||||||
'XMLHttpRequestMainThread.cpp',
|
'XMLHttpRequestMainThread.cpp',
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'XMLStylesheetProcessingInstruction.h',
|
'XMLStylesheetProcessingInstruction.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CDATASection.cpp',
|
'CDATASection.cpp',
|
||||||
'nsXMLContentSink.cpp',
|
'nsXMLContentSink.cpp',
|
||||||
'nsXMLElement.cpp',
|
'nsXMLElement.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'txDouble.cpp',
|
'txDouble.cpp',
|
||||||
'txExpandedName.cpp',
|
'txExpandedName.cpp',
|
||||||
'txExpandedNameMap.cpp',
|
'txExpandedNameMap.cpp',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'txXMLParser.cpp',
|
'txXMLParser.cpp',
|
||||||
'txXMLUtils.cpp',
|
'txXMLUtils.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'XPathResult.h',
|
'XPathResult.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'txBooleanExpr.cpp',
|
'txBooleanExpr.cpp',
|
||||||
'txBooleanResult.cpp',
|
'txBooleanResult.cpp',
|
||||||
'txCoreFunctionCall.cpp',
|
'txCoreFunctionCall.cpp',
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'txMozillaXSLTProcessor.h'
|
'txMozillaXSLTProcessor.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'txBufferingHandler.cpp',
|
'txBufferingHandler.cpp',
|
||||||
'txCurrentFunctionCall.cpp',
|
'txCurrentFunctionCall.cpp',
|
||||||
'txDocumentFunctionCall.cpp',
|
'txDocumentFunctionCall.cpp',
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ XPIDL_SOURCES += [
|
||||||
|
|
||||||
XPIDL_MODULE = 'xul'
|
XPIDL_MODULE = 'xul'
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsXULControllers.cpp',
|
'nsXULControllers.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ XPIDL_SOURCES += [
|
||||||
|
|
||||||
XPIDL_MODULE = 'xultmpl'
|
XPIDL_MODULE = 'xultmpl'
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsContentSupportMap.cpp',
|
'nsContentSupportMap.cpp',
|
||||||
'nsContentTestNode.cpp',
|
'nsContentTestNode.cpp',
|
||||||
'nsInstantiationNode.cpp',
|
'nsInstantiationNode.cpp',
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ XPIDL_SOURCES += [
|
||||||
|
|
||||||
XPIDL_MODULE = 'composer'
|
XPIDL_MODULE = 'composer'
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsComposerCommands.cpp',
|
'nsComposerCommands.cpp',
|
||||||
'nsComposerCommandsUpdater.cpp',
|
'nsComposerCommandsUpdater.cpp',
|
||||||
'nsComposerController.cpp',
|
'nsComposerController.cpp',
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ EXPORTS.mozilla += [
|
||||||
'TextEditRules.h',
|
'TextEditRules.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ChangeAttributeTransaction.cpp',
|
'ChangeAttributeTransaction.cpp',
|
||||||
'ChangeStyleTransaction.cpp',
|
'ChangeStyleTransaction.cpp',
|
||||||
'CompositionTransaction.cpp',
|
'CompositionTransaction.cpp',
|
||||||
|
|
|
||||||
|
|
@ -12,16 +12,16 @@ EXPORTS.graphite2 += [
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['GNU_CC']:
|
if CONFIG['GNU_CC']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'direct_machine.cpp'
|
'direct_machine.cpp'
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'call_machine.cpp'
|
'call_machine.cpp'
|
||||||
]
|
]
|
||||||
|
|
||||||
# This should contain all of the _SOURCES from files.mk, except *_machine.cpp
|
# This should contain all of the _SOURCES from files.mk, except *_machine.cpp
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CachedFace.cpp',
|
'CachedFace.cpp',
|
||||||
'CmapCache.cpp',
|
'CmapCache.cpp',
|
||||||
'Code.cpp',
|
'Code.cpp',
|
||||||
|
|
|
||||||
|
|
@ -25,32 +25,35 @@ EXPORTS.harfbuzz += [
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
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-buffer.cc',
|
||||||
'hb-common.cc',
|
|
||||||
'hb-face.cc',
|
'hb-face.cc',
|
||||||
'hb-fallback-shape.cc',
|
'hb-fallback-shape.cc',
|
||||||
'hb-font.cc',
|
'hb-font.cc',
|
||||||
'hb-ot-layout.cc',
|
'hb-ot-layout.cc',
|
||||||
'hb-ot-map.cc',
|
'hb-ot-map.cc',
|
||||||
'hb-ot-math.cc',
|
|
||||||
'hb-ot-shape-complex-arabic.cc',
|
'hb-ot-shape-complex-arabic.cc',
|
||||||
'hb-ot-shape-complex-default.cc',
|
'hb-ot-shape-complex-default.cc',
|
||||||
'hb-ot-shape-complex-hangul.cc',
|
|
||||||
'hb-ot-shape-complex-hebrew.cc',
|
'hb-ot-shape-complex-hebrew.cc',
|
||||||
'hb-ot-shape-complex-indic-table.cc',
|
'hb-ot-shape-complex-indic-table.cc',
|
||||||
'hb-ot-shape-complex-indic.cc',
|
|
||||||
'hb-ot-shape-complex-myanmar.cc',
|
'hb-ot-shape-complex-myanmar.cc',
|
||||||
'hb-ot-shape-complex-thai.cc',
|
'hb-ot-shape-complex-thai.cc',
|
||||||
'hb-ot-shape-complex-tibetan.cc',
|
'hb-ot-shape-complex-tibetan.cc',
|
||||||
'hb-ot-shape-complex-use-table.cc',
|
'hb-ot-shape-complex-use-table.cc',
|
||||||
'hb-ot-shape-complex-use.cc',
|
|
||||||
'hb-ot-shape-fallback.cc',
|
'hb-ot-shape-fallback.cc',
|
||||||
'hb-ot-shape-normalize.cc',
|
'hb-ot-shape-normalize.cc',
|
||||||
'hb-ot-shape.cc',
|
|
||||||
'hb-ot-tag.cc',
|
'hb-ot-tag.cc',
|
||||||
'hb-set.cc',
|
'hb-set.cc',
|
||||||
'hb-shape-plan.cc',
|
|
||||||
'hb-shape.cc',
|
'hb-shape.cc',
|
||||||
'hb-shaper.cc',
|
'hb-shaper.cc',
|
||||||
'hb-unicode.cc',
|
'hb-unicode.cc',
|
||||||
|
|
|
||||||
|
|
@ -36,12 +36,12 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||||
'SharedDIBSurface.h',
|
'SharedDIBSurface.h',
|
||||||
'SharedDIBWin.h',
|
'SharedDIBWin.h',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'SharedDIBSurface.cpp',
|
'SharedDIBSurface.cpp',
|
||||||
'SharedDIBWin.cpp',
|
'SharedDIBWin.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CompositorSession.cpp',
|
'CompositorSession.cpp',
|
||||||
'CompositorWidgetVsyncObserver.cpp',
|
'CompositorWidgetVsyncObserver.cpp',
|
||||||
'D3DMessageUtils.cpp',
|
'D3DMessageUtils.cpp',
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ EXPORTS += [
|
||||||
'../include/ots-memory-stream.h',
|
'../include/ots-memory-stream.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'avar.cc',
|
'avar.cc',
|
||||||
'cff.cc',
|
'cff.cc',
|
||||||
'cff_charstring.cc',
|
'cff_charstring.cc',
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in {
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||||
DEFINES['UNICODE'] = True
|
DEFINES['UNICODE'] = True
|
||||||
DEFINES['_UNICODE'] = True
|
DEFINES['_UNICODE'] = True
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/fonts/SkFontMgr_indirect.cpp',
|
'skia/src/fonts/SkFontMgr_indirect.cpp',
|
||||||
'skia/src/fonts/SkRemotableFontMgr.cpp',
|
'skia/src/fonts/SkRemotableFontMgr.cpp',
|
||||||
]
|
]
|
||||||
|
|
@ -415,7 +415,7 @@ def write_sources(f, values, indent):
|
||||||
else:
|
else:
|
||||||
sources['unified'].add(item)
|
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)
|
write_list(f, "SOURCES", sources['nonunified'], indent)
|
||||||
|
|
||||||
def write_list(f, name, values, indent):
|
def write_list(f, name, values, indent):
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ if CONFIG['MOZ_OPTIMIZE']:
|
||||||
elif CONFIG['GNU_CC']:
|
elif CONFIG['GNU_CC']:
|
||||||
skia_opt_flags += ['-O2']
|
skia_opt_flags += ['-O2']
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/core/SkAAClip.cpp',
|
'skia/src/core/SkAAClip.cpp',
|
||||||
'skia/src/core/SkAlphaRuns.cpp',
|
'skia/src/core/SkAlphaRuns.cpp',
|
||||||
'skia/src/core/SkAnnotation.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_ARGB32.cpp'].flags += skia_opt_flags
|
||||||
SOURCES['skia/src/core/SkSpriteBlitter_RGB16.cpp'].flags += skia_opt_flags
|
SOURCES['skia/src/core/SkSpriteBlitter_RGB16.cpp'].flags += skia_opt_flags
|
||||||
if CONFIG['MOZ_ENABLE_SKIA_PDF']:
|
if CONFIG['MOZ_ENABLE_SKIA_PDF']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/core/SkMD5.cpp',
|
'skia/src/core/SkMD5.cpp',
|
||||||
'skia/src/pdf/SkDeflate.cpp',
|
'skia/src/pdf/SkDeflate.cpp',
|
||||||
'skia/src/pdf/SkJpegInfo.cpp',
|
'skia/src/pdf/SkJpegInfo.cpp',
|
||||||
|
|
@ -332,7 +332,7 @@ if CONFIG['MOZ_ENABLE_SKIA_PDF']:
|
||||||
'skia/src/pdf/SkPDFFont.cpp',
|
'skia/src/pdf/SkPDFFont.cpp',
|
||||||
]
|
]
|
||||||
if CONFIG['MOZ_ENABLE_SKIA_GPU']:
|
if CONFIG['MOZ_ENABLE_SKIA_GPU']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp',
|
'skia/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp',
|
||||||
'skia/src/gpu/batches/GrAnalyticRectBatch.cpp',
|
'skia/src/gpu/batches/GrAnalyticRectBatch.cpp',
|
||||||
'skia/src/gpu/batches/GrAtlasTextBatch.cpp',
|
'skia/src/gpu/batches/GrAtlasTextBatch.cpp',
|
||||||
|
|
@ -517,7 +517,7 @@ if CONFIG['MOZ_ENABLE_SKIA_GPU']:
|
||||||
'skia/src/image/SkImage_Gpu.cpp',
|
'skia/src/image/SkImage_Gpu.cpp',
|
||||||
]
|
]
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android'):
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android'):
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/ports/SkDebug_android.cpp',
|
'skia/src/ports/SkDebug_android.cpp',
|
||||||
'skia/src/ports/SkOSFile_posix.cpp',
|
'skia/src/ports/SkOSFile_posix.cpp',
|
||||||
'skia/src/ports/SkOSLibrary_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',
|
'skia/src/ports/SkFontHost_FreeType_common.cpp',
|
||||||
]
|
]
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] in {'cocoa', 'uikit'}:
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in {'cocoa', 'uikit'}:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/ports/SkDebug_stdio.cpp',
|
'skia/src/ports/SkDebug_stdio.cpp',
|
||||||
'skia/src/ports/SkOSFile_posix.cpp',
|
'skia/src/ports/SkOSFile_posix.cpp',
|
||||||
'skia/src/ports/SkOSLibrary_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',
|
'skia/src/ports/SkFontHost_mac.cpp',
|
||||||
]
|
]
|
||||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/ports/SkDebug_stdio.cpp',
|
'skia/src/ports/SkDebug_stdio.cpp',
|
||||||
'skia/src/ports/SkOSFile_posix.cpp',
|
'skia/src/ports/SkOSFile_posix.cpp',
|
||||||
'skia/src/ports/SkOSLibrary_posix.cpp',
|
'skia/src/ports/SkOSLibrary_posix.cpp',
|
||||||
|
|
@ -574,7 +574,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||||
'skia/src/utils/win/SkIStream.cpp',
|
'skia/src/utils/win/SkIStream.cpp',
|
||||||
]
|
]
|
||||||
if CONFIG['INTEL_ARCHITECTURE']:
|
if CONFIG['INTEL_ARCHITECTURE']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/opts/opts_check_x86.cpp',
|
'skia/src/opts/opts_check_x86.cpp',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
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_sse42.cpp'].flags += skia_opt_flags
|
||||||
SOURCES['skia/src/opts/SkOpts_ssse3.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']:
|
elif CONFIG['CPU_ARCH'] in ('arm', 'aarch64') and CONFIG['GNU_CC']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'skia/src/core/SkUtilsArm.cpp',
|
'skia/src/core/SkUtilsArm.cpp',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
|
|
|
||||||
|
|
@ -55,12 +55,11 @@ if CONFIG['MOZ_X11']:
|
||||||
'X11Util.cpp',
|
'X11Util.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'DriverCrashGuard.cpp',
|
'DriverCrashGuard.cpp',
|
||||||
'FilterSupport.cpp',
|
'FilterSupport.cpp',
|
||||||
'gfxTelemetry.cpp',
|
'gfxTelemetry.cpp',
|
||||||
'nsColor.cpp',
|
'nsColor.cpp',
|
||||||
'nsDeviceContext.cpp',
|
|
||||||
'nsFont.cpp',
|
'nsFont.cpp',
|
||||||
'nsFontMetrics.cpp',
|
'nsFontMetrics.cpp',
|
||||||
'nsRect.cpp',
|
'nsRect.cpp',
|
||||||
|
|
@ -72,6 +71,11 @@ SOURCES += [
|
||||||
'TiledRegion.cpp',
|
'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')
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
|
|
||||||
LOCAL_INCLUDES += [
|
LOCAL_INCLUDES += [
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ EXPORTS += [
|
||||||
'YCbCrUtils.h',
|
'YCbCrUtils.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'scale_yuv_argb.cpp',
|
'scale_yuv_argb.cpp',
|
||||||
'ycbcr_to_rgb565.cpp',
|
'ycbcr_to_rgb565.cpp',
|
||||||
'YCbCrUtils.cpp',
|
'YCbCrUtils.cpp',
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
Library('editline')
|
Library('editline')
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'editline.c',
|
'editline.c',
|
||||||
'sysunix.c',
|
'sysunix.c',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if CONFIG['JS_SHELL_NAME']:
|
||||||
USE_LIBS += ['editline']
|
USE_LIBS += ['editline']
|
||||||
USE_LIBS += ['static:js']
|
USE_LIBS += ['static:js']
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'js.cpp',
|
'js.cpp',
|
||||||
'jsoptparse.cpp',
|
'jsoptparse.cpp',
|
||||||
'jsshell.cpp',
|
'jsshell.cpp',
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ EXPORTS += [
|
||||||
'nsLayoutStatics.h',
|
'nsLayoutStatics.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsContentDLF.cpp',
|
'nsContentDLF.cpp',
|
||||||
'nsLayoutModule.cpp',
|
'nsLayoutModule.cpp',
|
||||||
'nsLayoutStatics.cpp',
|
'nsLayoutStatics.cpp',
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ EXPORTS += [
|
||||||
'nsITextControlFrame.h',
|
'nsITextControlFrame.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsButtonFrameRenderer.cpp',
|
'nsButtonFrameRenderer.cpp',
|
||||||
'nsColorControlFrame.cpp',
|
'nsColorControlFrame.cpp',
|
||||||
'nsComboboxControlFrame.cpp',
|
'nsComboboxControlFrame.cpp',
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ EXPORTS += [
|
||||||
'nsFontFaceList.h',
|
'nsFontFaceList.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'inCSSValueSearch.cpp',
|
'inCSSValueSearch.cpp',
|
||||||
'inDeepTreeWalker.cpp',
|
'inDeepTreeWalker.cpp',
|
||||||
'inDOMUtils.cpp',
|
'inDOMUtils.cpp',
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,12 @@ EXPORTS.mozilla.layout += [
|
||||||
'VsyncParent.h',
|
'VsyncParent.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'RenderFrameChild.cpp',
|
'RenderFrameChild.cpp',
|
||||||
'RenderFrameParent.cpp',
|
'RenderFrameParent.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
|
SOURCES += [
|
||||||
'VsyncChild.cpp',
|
'VsyncChild.cpp',
|
||||||
'VsyncParent.cpp',
|
'VsyncParent.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if CONFIG['ENABLE_TESTS']:
|
||||||
'tests/chrome.ini',
|
'tests/chrome.ini',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsMathMLChar.cpp',
|
'nsMathMLChar.cpp',
|
||||||
'nsMathMLContainerFrame.cpp',
|
'nsMathMLContainerFrame.cpp',
|
||||||
'nsMathMLFrame.cpp',
|
'nsMathMLFrame.cpp',
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ EXPORTS += [
|
||||||
'nsLayoutDebugCIID.h',
|
'nsLayoutDebugCIID.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsDebugFactory.cpp',
|
'nsDebugFactory.cpp',
|
||||||
'nsLayoutDebugCLH.cpp',
|
'nsLayoutDebugCLH.cpp',
|
||||||
'nsLayoutDebuggingTools.cpp',
|
'nsLayoutDebuggingTools.cpp',
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ EXPORTS.mozilla.net += [
|
||||||
'ReferrerPolicy.h',
|
'ReferrerPolicy.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ArrayBufferInputStream.cpp',
|
'ArrayBufferInputStream.cpp',
|
||||||
'BackgroundFileSaver.cpp',
|
'BackgroundFileSaver.cpp',
|
||||||
'CaptivePortalService.cpp',
|
'CaptivePortalService.cpp',
|
||||||
|
|
|
||||||
2
netwerk/cache/moz.build
vendored
2
netwerk/cache/moz.build
vendored
|
|
@ -20,7 +20,7 @@ EXPORTS += [
|
||||||
'nsDeleteDir.h'
|
'nsDeleteDir.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsApplicationCacheService.cpp',
|
'nsApplicationCacheService.cpp',
|
||||||
'nsCache.cpp',
|
'nsCache.cpp',
|
||||||
'nsCacheEntry.cpp',
|
'nsCacheEntry.cpp',
|
||||||
|
|
|
||||||
2
netwerk/cache/nsApplicationCacheService.cpp
vendored
2
netwerk/cache/nsApplicationCacheService.cpp
vendored
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
|
||||||
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// nsApplicationCacheService
|
// nsApplicationCacheService
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
3
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
3
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
|
|
@ -17,8 +17,6 @@
|
||||||
#include "nsCacheService.h"
|
#include "nsCacheService.h"
|
||||||
#include "nsApplicationCache.h"
|
#include "nsApplicationCache.h"
|
||||||
|
|
||||||
#include "nsNetCID.h"
|
|
||||||
#include "nsNetUtil.h"
|
|
||||||
#include "nsIURI.h"
|
#include "nsIURI.h"
|
||||||
#include "nsAutoPtr.h"
|
#include "nsAutoPtr.h"
|
||||||
#include "nsEscape.h"
|
#include "nsEscape.h"
|
||||||
|
|
@ -55,7 +53,6 @@ using namespace mozilla::storage;
|
||||||
using mozilla::NeckoOriginAttributes;
|
using mozilla::NeckoOriginAttributes;
|
||||||
|
|
||||||
static const char OFFLINE_CACHE_DEVICE_ID[] = { "offline" };
|
static const char OFFLINE_CACHE_DEVICE_ID[] = { "offline" };
|
||||||
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
|
|
||||||
|
|
||||||
#define LOG(args) CACHE_LOG_DEBUG(args)
|
#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 "nsWeakReference.h"
|
||||||
#include "mozilla/Attributes.h"
|
#include "mozilla/Attributes.h"
|
||||||
#include "mozilla/Mutex.h"
|
#include "mozilla/Mutex.h"
|
||||||
|
#include "nsNetCID.h"
|
||||||
|
#include "nsNetUtil.h"
|
||||||
|
|
||||||
|
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
|
||||||
|
|
||||||
class nsIURI;
|
class nsIURI;
|
||||||
class nsOfflineCacheDevice;
|
class nsOfflineCacheDevice;
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,7 @@ EXPORTS += [
|
||||||
'CacheStorageService.h',
|
'CacheStorageService.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AppCacheStorage.cpp',
|
|
||||||
'CacheEntry.cpp',
|
'CacheEntry.cpp',
|
||||||
'CacheFile.cpp',
|
'CacheFile.cpp',
|
||||||
'CacheFileChunk.cpp',
|
'CacheFileChunk.cpp',
|
||||||
|
|
@ -43,6 +42,11 @@ SOURCES += [
|
||||||
'OldWrappers.cpp',
|
'OldWrappers.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# AppCacheStorage.cpp cannot be built in unified mode because it uses plarena.h.
|
||||||
|
SOURCES += [
|
||||||
|
'AppCacheStorage.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
LOCAL_INCLUDES += [
|
LOCAL_INCLUDES += [
|
||||||
'/netwerk/base',
|
'/netwerk/base',
|
||||||
'/netwerk/cache',
|
'/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