summaryrefslogtreecommitdiff
path: root/dom/webidl/moz.build
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-10 10:45:11 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-10 10:45:11 -0500
commit05909d49b86e40faf18060fa513e9788c4fa99c1 (patch)
tree19750570928118ef98b9472cb08d840a05a236c7 /dom/webidl/moz.build
parentdeea787c2efbb9c89caec8d9efc023ffafe75613 (diff)
downloaduxp-05909d49b86e40faf18060fa513e9788c4fa99c1.tar.gz
Hook up the Tycho Add-on Manager to the build system
Diffstat (limited to 'dom/webidl/moz.build')
-rw-r--r--dom/webidl/moz.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build
index 0b415d4487..f24c366e82 100644
--- a/dom/webidl/moz.build
+++ b/dom/webidl/moz.build
@@ -18,7 +18,6 @@ PREPROCESSED_WEBIDL_FILES = [
WEBIDL_FILES = [
'AbstractWorker.webidl',
- 'AddonManager.webidl',
'AnalyserNode.webidl',
'Animatable.webidl',
'Animation.webidl',
@@ -592,6 +591,9 @@ WEBIDL_FILES = [
'XULElement.webidl',
]
+if CONFIG['MOZ_WEBEXTENSIONS']:
+ WEBIDL_FILES += ['AddonManager.webidl']
+
if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']:
WEBIDL_FILES += [
'AudioChannelManager.webidl',
@@ -692,7 +694,6 @@ else:
]
GENERATED_EVENTS_WEBIDL_FILES = [
- 'AddonEvent.webidl',
'AnimationPlaybackEvent.webidl',
'AutocompleteErrorEvent.webidl',
'BlobEvent.webidl',
@@ -734,6 +735,9 @@ GENERATED_EVENTS_WEBIDL_FILES = [
'WebGLContextEvent.webidl',
]
+if CONFIG['MOZ_WEBEXTENSIONS']:
+ GENERATED_EVENTS_WEBIDL_FILES += ['AddonEvent.webidl']
+
if CONFIG['MOZ_WEBRTC']:
GENERATED_EVENTS_WEBIDL_FILES += [
'RTCDataChannelEvent.webidl',