diff options
Diffstat (limited to 'mailnews/base/util/moz.build')
-rw-r--r-- | mailnews/base/util/moz.build | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mailnews/base/util/moz.build b/mailnews/base/util/moz.build index 134a46ae1..0f1295ffe 100644 --- a/mailnews/base/util/moz.build +++ b/mailnews/base/util/moz.build @@ -60,13 +60,17 @@ EXTRA_JS_MODULES += [ 'mailnewsMigrator.js', 'mailServices.js', 'msgDBCacheManager.js', - 'OAuth2.jsm', - 'OAuth2Providers.jsm', 'StringBundle.js', 'templateUtils.js', 'traceHelper.js', ] +if CONFIG['MOZ_MAILNEWS_OAUTH2']: + EXTRA_JS_MODULES += [ + 'OAuth2.jsm', + 'OAuth2Providers.jsm', + ] + LOCAL_INCLUDES += [ '/netwerk/base' ] |