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.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/toolkit/modules/moz.build b/toolkit/modules/moz.build
index 9e08fe9f0..60f3cc3da 100644
--- a/toolkit/modules/moz.build
+++ b/toolkit/modules/moz.build
@@ -57,7 +57,6 @@ EXTRA_JS_MODULES += [
'Locale.jsm',
'Log.jsm',
'Memory.jsm',
- 'NewTabUtils.jsm',
'NLP.jsm',
'ObjectUtils.jsm',
'PageMenu.jsm',
@@ -85,7 +84,6 @@ EXTRA_JS_MODULES += [
'SelectContentHelper.jsm',
'SelectParentHelper.jsm',
'ServiceRequest.jsm',
- 'Services.jsm',
'SessionRecorder.jsm',
'sessionstore/FormData.jsm',
'sessionstore/ScrollPosition.jsm',
@@ -105,6 +103,11 @@ EXTRA_JS_MODULES += [
EXTRA_JS_MODULES.third_party.jsesc += ['third_party/jsesc/jsesc.js']
EXTRA_JS_MODULES.sessionstore += ['sessionstore/Utils.jsm']
+EXTRA_PP_JS_MODULES += ['NewTabUtils.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 +119,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'gtk3', 'cocoa'):
EXTRA_PP_JS_MODULES += [
'AppConstants.jsm',
+ 'Services.jsm',
]
if 'Android' != CONFIG['OS_TARGET']: