diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 76fc036ea7cf..5d0a7ea82cfc 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -991,10 +991,8 @@ pref("touchcaret.enabled", false); pref("selectioncaret.enabled", false); // Enable sync and mozId with Firefox Accounts. -#ifdef MOZ_SERVICES_FXACCOUNTS pref("services.sync.fxaccounts.enabled", true); pref("identity.fxaccounts.enabled", true); -#endif // Mobile Identity API. pref("services.mobileid.server.uri", "https://msisdn-dev.stage.mozaws.net"); diff --git a/b2g/app/moz.build b/b2g/app/moz.build index a2cf28202489..90a30cf82339 100644 --- a/b2g/app/moz.build +++ b/b2g/app/moz.build @@ -19,7 +19,7 @@ if not CONFIG['LIBXUL_SDK']: DEFINES['XPCOM_GLUE'] = True -for var in ('MOZ_APP_NAME', 'MOZ_APP_VERSION', 'MOZ_UPDATER', 'MOZ_SERVICES_FXACCOUNTS'): +for var in ('MOZ_APP_NAME', 'MOZ_APP_VERSION', 'MOZ_UPDATER'): DEFINES[var] = CONFIG[var] GENERATED_INCLUDES += [ diff --git a/b2g/chrome/content/shell.js b/b2g/chrome/content/shell.js index 58ece9d052a9..ea94ceb40f01 100644 --- a/b2g/chrome/content/shell.js +++ b/b2g/chrome/content/shell.js @@ -26,10 +26,7 @@ Cu.import('resource://gre/modules/ResourceStatsService.jsm'); Cu.import('resource://gre/modules/SignInToWebsite.jsm'); SignInToWebsiteController.init(); -#ifdef MOZ_SERVICES_FXACCOUNTS Cu.import('resource://gre/modules/FxAccountsMgmtService.jsm'); -#endif - Cu.import('resource://gre/modules/DownloadsAPI.jsm'); Cu.import('resource://gre/modules/MobileIdentityManager.jsm'); diff --git a/b2g/components/B2GComponents.manifest b/b2g/components/B2GComponents.manifest index 80191f0c49bc..38b641b4674d 100644 --- a/b2g/components/B2GComponents.manifest +++ b/b2g/components/B2GComponents.manifest @@ -80,11 +80,9 @@ component {637b0f77-2429-49a0-915f-abf5d0db8b9a} WebappsUpdateTimer.js contract @mozilla.org/b2g/webapps-update-timer;1 {637b0f77-2429-49a0-915f-abf5d0db8b9a} category update-timer WebappsUpdateTimer @mozilla.org/b2g/webapps-update-timer;1,getService,background-update-timer,webapps.update.interval,86400 -#ifdef MOZ_SERVICES_FXACCOUNTS # FxAccountsUIGlue.js component {51875c14-91d7-4b8c-b65d-3549e101228c} FxAccountsUIGlue.js contract @mozilla.org/fxaccounts/fxaccounts-ui-glue;1 {51875c14-91d7-4b8c-b65d-3549e101228c} -#endif # HelperAppDialog.js component {710322af-e6ae-4b0c-b2c9-1474a87b077e} HelperAppDialog.js diff --git a/b2g/components/moz.build b/b2g/components/moz.build index 5c8046ccbf95..81cca8fadbeb 100644 --- a/b2g/components/moz.build +++ b/b2g/components/moz.build @@ -12,6 +12,7 @@ EXTRA_COMPONENTS += [ 'B2GAboutRedirector.js', 'ContentPermissionPrompt.js', 'FilePicker.js', + 'FxAccountsUIGlue.js' 'HelperAppDialog.js', 'InterAppCommUIGlue.js', 'MailtoProtocolHandler.js', @@ -48,6 +49,7 @@ EXTRA_JS_MODULES += [ 'AppFrames.jsm', 'ContentRequestHelper.jsm', 'ErrorPage.jsm', + 'FxAccountsMgmtService.jsm' 'SignInToWebsite.jsm', 'SystemAppProxy.jsm', 'TelURIParser.jsm', @@ -58,11 +60,3 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk': EXTRA_JS_MODULES += [ 'GlobalSimulatorScreen.jsm' ] - -if CONFIG['MOZ_SERVICES_FXACCOUNTS']: - EXTRA_COMPONENTS += [ - 'FxAccountsUIGlue.js' - ] - EXTRA_JS_MODULES += [ - 'FxAccountsMgmtService.jsm' - ] diff --git a/b2g/confvars.sh b/b2g/confvars.sh index 2efe690aff64..2eda0389e80a 100644 --- a/b2g/confvars.sh +++ b/b2g/confvars.sh @@ -64,8 +64,6 @@ MOZ_FOLD_LIBS=1 MOZ_JSDOWNLOADS=1 -MOZ_SERVICES_FXACCOUNTS=1 - MOZ_BUNDLED_FONTS=1 # Enable exact rooting on b2g. diff --git a/b2g/installer/package-manifest.in b/b2g/installer/package-manifest.in index 139078e538a1..1049754d130d 100644 --- a/b2g/installer/package-manifest.in +++ b/b2g/installer/package-manifest.in @@ -832,10 +832,8 @@ bin/components/@DLL_PREFIX@nkgnomevfs@DLL_SUFFIX@ @BINPATH@/components/SimulatorScreen.js #endif -#ifdef MOZ_SERVICES_FXACCOUNTS @BINPATH@/components/FxAccountsUIGlue.js @BINPATH@/components/services_fxaccounts.xpt -#endif @BINPATH@/components/DataStore.manifest @BINPATH@/components/DataStoreImpl.js diff --git a/browser/confvars.sh b/browser/confvars.sh index 88ff0872a2d0..78cac0afd149 100755 --- a/browser/confvars.sh +++ b/browser/confvars.sh @@ -28,7 +28,6 @@ MOZ_DISABLE_EXPORT_JS=1 MOZ_SAFE_BROWSING=1 MOZ_SERVICES_COMMON=1 MOZ_SERVICES_CRYPTO=1 -MOZ_SERVICES_FXACCOUNTS=1 MOZ_SERVICES_HEALTHREPORT=1 MOZ_SERVICES_METRICS=1 MOZ_SERVICES_SYNC=1 diff --git a/configure.in b/configure.in index 9c15cf7916b9..14a0994ea1be 100644 --- a/configure.in +++ b/configure.in @@ -7551,14 +7551,6 @@ if test -n "$MOZ_AUDIO_CHANNEL_MANAGER"; then fi AC_SUBST(MOZ_AUDIO_CHANNEL_MANAGER) -dnl ======================================================== -dnl = Enable Support for Firefox Accounts (services/fxaccounts) -dnl ======================================================== -if test -n "$MOZ_SERVICES_FXACCOUNTS"; then - AC_DEFINE(MOZ_SERVICES_FXACCOUNTS) -fi -AC_SUBST(MOZ_SERVICES_FXACCOUNTS) - dnl ======================================================== dnl = Support for demangling undefined symbols dnl ======================================================== diff --git a/mobile/android/confvars.sh b/mobile/android/confvars.sh index 31fbde484c89..c2f3a3a1be97 100644 --- a/mobile/android/confvars.sh +++ b/mobile/android/confvars.sh @@ -58,9 +58,6 @@ MOZ_PAY=1 # Enable UI for healthreporter MOZ_SERVICES_HEALTHREPORT=1 -# Enable FirefoxAccounts -MOZ_SERVICES_FXACCOUNTS=1 - # Wifi-AP/cell tower data reporting is enabled on non-release builds. if test ! "$RELEASE_BUILD"; then MOZ_DATA_REPORTING=1 diff --git a/python/mozbuild/mozbuild/mozinfo.py b/python/mozbuild/mozbuild/mozinfo.py index b3e72711df72..cfc77366deef 100755 --- a/python/mozbuild/mozbuild/mozinfo.py +++ b/python/mozbuild/mozbuild/mozinfo.py @@ -78,7 +78,6 @@ def build_dict(config, env=os.environ): d['debug'] = substs.get('MOZ_DEBUG') == '1' d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER')) d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING')) - d['fxaccounts'] = substs.get('MOZ_SERVICES_FXACCOUNTS') == '1' d['healthreport'] = substs.get('MOZ_SERVICES_HEALTHREPORT') == '1' d['asan'] = substs.get('MOZ_ASAN') == '1' d['tests_enabled'] = substs.get('ENABLE_TESTS') == "1" diff --git a/services/moz.build b/services/moz.build index 629969c2e3ad..e75e0914a7a5 100644 --- a/services/moz.build +++ b/services/moz.build @@ -6,7 +6,8 @@ PARALLEL_DIRS += [ 'common', - 'crypto' + 'crypto', + 'fxaccounts', ] if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android': @@ -21,9 +22,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android': if CONFIG['MOZ_SERVICES_METRICS']: PARALLEL_DIRS += ['metrics'] -if CONFIG['MOZ_SERVICES_FXACCOUNTS']: - PARALLEL_DIRS += ['fxaccounts'] - if CONFIG['MOZ_SERVICES_SYNC']: PARALLEL_DIRS += ['sync']