summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.com>2017-06-30 15:29:25 -0500
committertrav90 <travawine@protonmail.com>2017-06-30 15:41:34 -0500
commiteff8e3a8499bcfd7cb554be7268087b9fd698788 (patch)
tree740f2e485c2d0a18c40a55df6d9603e7a2eff57e /dom/webidl
parent4dfb94710280c43247892455d7a65b180895798c (diff)
downloadpalemoon-gre-eff8e3a8499bcfd7cb554be7268087b9fd698788.tar.gz
Disable more code under --disable-webrtc
Also move some WebRTC files out of /dom/media and into proper WebRTC location.
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/moz.build28
1 files changed, 16 insertions, 12 deletions
diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build
index 68495b486..3b3c2da7d 100644
--- a/dom/webidl/moz.build
+++ b/dom/webidl/moz.build
@@ -355,15 +355,6 @@ WEBIDL_FILES = [
'ResourceStatsManager.webidl',
'Response.webidl',
'RGBColor.webidl',
- 'RTCConfiguration.webidl',
- 'RTCIceCandidate.webidl',
- 'RTCIdentityAssertion.webidl',
- 'RTCIdentityProvider.webidl',
- 'RTCPeerConnection.webidl',
- 'RTCPeerConnectionStatic.webidl',
- 'RTCRtpReceiver.webidl',
- 'RTCRtpSender.webidl',
- 'RTCSessionDescription.webidl',
'RTCStatsReport.webidl',
'Screen.webidl',
'ScriptProcessorNode.webidl',
@@ -581,6 +572,15 @@ if CONFIG['MOZ_WEBRTC']:
'PeerConnectionImplEnums.webidl',
'PeerConnectionObserver.webidl',
'PeerConnectionObserverEnums.webidl',
+ 'RTCConfiguration.webidl',
+ 'RTCIceCandidate.webidl',
+ 'RTCIdentityAssertion.webidl',
+ 'RTCIdentityProvider.webidl',
+ 'RTCPeerConnection.webidl',
+ 'RTCPeerConnectionStatic.webidl',
+ 'RTCRtpReceiver.webidl',
+ 'RTCRtpSender.webidl',
+ 'RTCSessionDescription.webidl',
'WebrtcGlobalInformation.webidl',
]
@@ -718,7 +718,6 @@ GENERATED_EVENTS_WEBIDL_FILES = [
'IccChangeEvent.webidl',
'ImageCaptureErrorEvent.webidl',
'MediaStreamEvent.webidl',
- 'MediaStreamTrackEvent.webidl',
'MozApplicationEvent.webidl',
'MozCellBroadcastEvent.webidl',
'MozClirModeEvent.webidl',
@@ -739,8 +738,6 @@ GENERATED_EVENTS_WEBIDL_FILES = [
'PopupBlockedEvent.webidl',
'ProgressEvent.webidl',
'RecordErrorEvent.webidl',
- 'RTCDataChannelEvent.webidl',
- 'RTCPeerConnectionIceEvent.webidl',
'ScrollViewChangeEvent.webidl',
'SelectionStateChangedEvent.webidl',
'StyleRuleChangeEvent.webidl',
@@ -756,6 +753,13 @@ GENERATED_EVENTS_WEBIDL_FILES = [
'USSDReceivedEvent.webidl',
]
+if CONFIG['MOZ_WEBRTC']:
+ GENERATED_EVENTS_WEBIDL_FILES += [
+ 'MediaStreamTrackEvent.webidl',
+ 'RTCDataChannelEvent.webidl',
+ 'RTCPeerConnectionIceEvent.webidl',
+ ]
+
if CONFIG['MOZ_WEBSPEECH']:
GENERATED_EVENTS_WEBIDL_FILES += [
'SpeechRecognitionEvent.webidl',