mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 15:17:29 +09:00
Issue #80 - Re-unify most of DOM
This commit is contained in:
parent
142f08ce1f
commit
60e4e33442
16 changed files with 29 additions and 34 deletions
|
|
@ -222,7 +222,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'WindowOrientationObserver.h',
|
'WindowOrientationObserver.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AnonymousContent.cpp',
|
'AnonymousContent.cpp',
|
||||||
'Attr.cpp',
|
'Attr.cpp',
|
||||||
'BarProps.cpp',
|
'BarProps.cpp',
|
||||||
|
|
@ -238,7 +238,6 @@ SOURCES += [
|
||||||
'DirectionalityUtils.cpp',
|
'DirectionalityUtils.cpp',
|
||||||
'DocGroup.cpp',
|
'DocGroup.cpp',
|
||||||
'DocumentFragment.cpp',
|
'DocumentFragment.cpp',
|
||||||
'DocumentOrShadowRoot.cpp',
|
|
||||||
'DocumentType.cpp',
|
'DocumentType.cpp',
|
||||||
'DOMCursor.cpp',
|
'DOMCursor.cpp',
|
||||||
'DOMError.cpp',
|
'DOMError.cpp',
|
||||||
|
|
@ -373,12 +372,14 @@ SOURCES += [
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_WEBRTC']:
|
if CONFIG['MOZ_WEBRTC']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsDOMDataChannel.cpp',
|
'nsDOMDataChannel.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
# these files couldn't be in UNIFIED_SOURCES for now for reasons given below:
|
# these files couldn't be in UNIFIED_SOURCES for now for reasons given below:
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
|
# DocumentOrShadowRoot conflicts with mozilla::dom::ShadowRoot
|
||||||
|
'DocumentOrShadowRoot.cpp',
|
||||||
# Several conflicts with other bindings.
|
# Several conflicts with other bindings.
|
||||||
'DOMIntersectionObserver.cpp',
|
'DOMIntersectionObserver.cpp',
|
||||||
# Because of OS X headers.
|
# Because of OS X headers.
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
#include "ImageBitmapColorUtils.h"
|
#include "ImageBitmapColorUtils.h"
|
||||||
|
|
||||||
#include "js/LegacyIntTypes.h"
|
|
||||||
#include <cmath>
|
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ EXPORTS.mozilla.dom += [
|
||||||
]
|
]
|
||||||
|
|
||||||
# Canvas 2D and common sources
|
# Canvas 2D and common sources
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CanvasImageCache.cpp',
|
'CanvasImageCache.cpp',
|
||||||
'CanvasRenderingContext2D.cpp',
|
'CanvasRenderingContext2D.cpp',
|
||||||
'CanvasRenderingContextHelper.cpp',
|
'CanvasRenderingContextHelper.cpp',
|
||||||
|
|
@ -59,7 +59,7 @@ SOURCES += [
|
||||||
]
|
]
|
||||||
|
|
||||||
# WebGL Sources
|
# WebGL Sources
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'TexUnpackBlob.cpp',
|
'TexUnpackBlob.cpp',
|
||||||
'WebGL1Context.cpp',
|
'WebGL1Context.cpp',
|
||||||
'WebGL1ContextUniforms.cpp',
|
'WebGL1ContextUniforms.cpp',
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,9 @@ EXPORTS.mozilla.dom += [
|
||||||
]
|
]
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
|
'ChannelInfo.cpp',
|
||||||
'Fetch.cpp',
|
'Fetch.cpp',
|
||||||
'FetchConsumer.cpp',
|
'FetchConsumer.cpp',
|
||||||
'Request.cpp',
|
|
||||||
'Response.cpp',
|
|
||||||
]
|
|
||||||
|
|
||||||
SOURCES += [
|
|
||||||
'ChannelInfo.cpp',
|
|
||||||
'FetchDriver.cpp',
|
'FetchDriver.cpp',
|
||||||
'FetchObserver.cpp',
|
'FetchObserver.cpp',
|
||||||
'FetchUtil.cpp',
|
'FetchUtil.cpp',
|
||||||
|
|
@ -34,6 +29,8 @@ SOURCES += [
|
||||||
'InternalHeaders.cpp',
|
'InternalHeaders.cpp',
|
||||||
'InternalRequest.cpp',
|
'InternalRequest.cpp',
|
||||||
'InternalResponse.cpp',
|
'InternalResponse.cpp',
|
||||||
|
'Request.cpp',
|
||||||
|
'Response.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
IPDL_SOURCES += [
|
IPDL_SOURCES += [
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ if CONFIG['MOZ_GAMEPAD']:
|
||||||
'ipc/GamepadTestChannelParent.h'
|
'ipc/GamepadTestChannelParent.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES = [
|
UNIFIED_SOURCES = [
|
||||||
'Gamepad.cpp',
|
'Gamepad.cpp',
|
||||||
'GamepadButton.cpp',
|
'GamepadButton.cpp',
|
||||||
'GamepadManager.cpp',
|
'GamepadManager.cpp',
|
||||||
|
|
@ -45,23 +45,23 @@ if CONFIG['MOZ_GAMEPAD']:
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_GAMEPAD_BACKEND'] == 'stub':
|
if CONFIG['MOZ_GAMEPAD_BACKEND'] == 'stub':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'fallback/FallbackGamepad.cpp'
|
'fallback/FallbackGamepad.cpp'
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'cocoa':
|
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'cocoa':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'cocoa/CocoaGamepad.cpp'
|
'cocoa/CocoaGamepad.cpp'
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'windows':
|
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'windows':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'windows/WindowsGamepad.cpp'
|
'windows/WindowsGamepad.cpp'
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'linux':
|
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'linux':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'linux/LinuxGamepad.cpp'
|
'linux/LinuxGamepad.cpp'
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'android':
|
elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'android':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'android/AndroidGamepad.cpp'
|
'android/AndroidGamepad.cpp'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ EXPORTS.mozilla += [
|
||||||
'EMEUtils.h',
|
'EMEUtils.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'CDMCaps.cpp',
|
'CDMCaps.cpp',
|
||||||
'DetailedPromise.cpp',
|
'DetailedPromise.cpp',
|
||||||
'EMEUtils.cpp',
|
'EMEUtils.cpp',
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ EXPORTS += [
|
||||||
'TrackMetadataBase.h',
|
'TrackMetadataBase.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MediaEncoder.cpp',
|
'MediaEncoder.cpp',
|
||||||
'OpusTrackEncoder.cpp',
|
'OpusTrackEncoder.cpp',
|
||||||
'TrackEncoder.cpp',
|
'TrackEncoder.cpp',
|
||||||
|
|
@ -25,7 +25,7 @@ if CONFIG['MOZ_WEBM_ENCODER']:
|
||||||
EXPORTS += ['VP8TrackEncoder.h',
|
EXPORTS += ['VP8TrackEncoder.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += ['VP8TrackEncoder.cpp',
|
UNIFIED_SOURCES += ['VP8TrackEncoder.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
LOCAL_INCLUDES += ['/media/libyuv/include']
|
LOCAL_INCLUDES += ['/media/libyuv/include']
|
||||||
|
|
|
||||||
|
|
@ -79,14 +79,14 @@ if CONFIG['MOZ_EME']:
|
||||||
# We link GMPLoader into xul on B2G/Fennec as its code does not need to be
|
# We link GMPLoader into xul on B2G/Fennec as its code does not need to be
|
||||||
# covered by a DRM vendor's voucher.
|
# covered by a DRM vendor's voucher.
|
||||||
if CONFIG['OS_TARGET'] == 'Android':
|
if CONFIG['OS_TARGET'] == 'Android':
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'GMPLoader.cpp',
|
'GMPLoader.cpp',
|
||||||
]
|
]
|
||||||
USE_LIBS += [
|
USE_LIBS += [
|
||||||
'rlz',
|
'rlz',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'GMPAudioDecoderChild.cpp',
|
'GMPAudioDecoderChild.cpp',
|
||||||
'GMPAudioDecoderParent.cpp',
|
'GMPAudioDecoderParent.cpp',
|
||||||
'GMPAudioHost.cpp',
|
'GMPAudioHost.cpp',
|
||||||
|
|
@ -122,7 +122,7 @@ SOURCES += [
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_EME']:
|
if CONFIG['MOZ_EME']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'GMPCDMCallbackProxy.cpp',
|
'GMPCDMCallbackProxy.cpp',
|
||||||
'GMPCDMProxy.cpp',
|
'GMPCDMProxy.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ EXPORTS += [
|
||||||
'SamplesWaitingForKey.h',
|
'SamplesWaitingForKey.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'EMEAudioDecoder.cpp',
|
'EMEAudioDecoder.cpp',
|
||||||
'EMEDecoderModule.cpp',
|
'EMEDecoderModule.cpp',
|
||||||
'EMEVideoDecoder.cpp',
|
'EMEVideoDecoder.cpp',
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ EXPORTS += [
|
||||||
'MediaDataDecoderProxy.h',
|
'MediaDataDecoderProxy.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'GMPAudioDecoder.cpp',
|
'GMPAudioDecoder.cpp',
|
||||||
'GMPDecoderModule.cpp',
|
'GMPDecoderModule.cpp',
|
||||||
'GMPVideoDecoder.cpp',
|
'GMPVideoDecoder.cpp',
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ DIRS += [
|
||||||
'ffmpeg58',
|
'ffmpeg58',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'FFmpegRuntimeLinker.cpp',
|
'FFmpegRuntimeLinker.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'WaveShaperNode.h',
|
'WaveShaperNode.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AnalyserNode.cpp',
|
'AnalyserNode.cpp',
|
||||||
'AudioBlock.cpp',
|
'AudioBlock.cpp',
|
||||||
'AudioBuffer.cpp',
|
'AudioBuffer.cpp',
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'SpeechSynthesisVoice.h',
|
'SpeechSynthesisVoice.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ipc/SpeechSynthesisChild.cpp',
|
'ipc/SpeechSynthesisChild.cpp',
|
||||||
'ipc/SpeechSynthesisParent.cpp',
|
'ipc/SpeechSynthesisParent.cpp',
|
||||||
'nsSpeechTask.cpp',
|
'nsSpeechTask.cpp',
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
Program('plugin-hang-ui')
|
Program('plugin-hang-ui')
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'MiniShmChild.cpp',
|
'MiniShmChild.cpp',
|
||||||
'PluginHangUIChild.cpp',
|
'PluginHangUIChild.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
SharedLibrary('plugin_child_interpose')
|
SharedLibrary('plugin_child_interpose')
|
||||||
|
|
||||||
SOURCES += [ "%s.mm" % (LIBRARY_NAME) ]
|
UNIFIED_SOURCES += [ "%s.mm" % (LIBRARY_NAME) ]
|
||||||
|
|
||||||
OS_LIBS += ['-framework Carbon']
|
OS_LIBS += ['-framework Carbon']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ if CONFIG['MOZ_XUL']:
|
||||||
'nsIXULDocument.h',
|
'nsIXULDocument.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsXULCommandDispatcher.cpp',
|
'nsXULCommandDispatcher.cpp',
|
||||||
'nsXULContentSink.cpp',
|
'nsXULContentSink.cpp',
|
||||||
'nsXULElement.cpp',
|
'nsXULElement.cpp',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue