summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules/moz.build')
-rw-r--r--toolkit/modules/moz.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolkit/modules/moz.build b/toolkit/modules/moz.build
index 9e08fe9f0..257741274 100644
--- a/toolkit/modules/moz.build
+++ b/toolkit/modules/moz.build
@@ -85,7 +85,6 @@ EXTRA_JS_MODULES += [
'SelectContentHelper.jsm',
'SelectParentHelper.jsm',
'ServiceRequest.jsm',
- 'Services.jsm',
'SessionRecorder.jsm',
'sessionstore/FormData.jsm',
'sessionstore/ScrollPosition.jsm',
@@ -105,6 +104,9 @@ EXTRA_JS_MODULES += [
EXTRA_JS_MODULES.third_party.jsesc += ['third_party/jsesc/jsesc.js']
EXTRA_JS_MODULES.sessionstore += ['sessionstore/Utils.jsm']
+if not CONFIG['MOZ_WEBEXTENSIONS']:
+ EXTRA_PP_JS_MODULES += ['UpdateChannel.jsm']
+
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'cocoa'):
DEFINES['CAN_DRAW_IN_TITLEBAR'] = 1
@@ -116,6 +118,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'gtk3', 'cocoa'):
EXTRA_PP_JS_MODULES += [
'AppConstants.jsm',
+ 'Services.jsm',
]
if 'Android' != CONFIG['OS_TARGET']: