diff options
Diffstat (limited to 'toolkit/modules')
-rw-r--r-- | toolkit/modules/Services.jsm | 3 | ||||
-rw-r--r-- | toolkit/modules/moz.build | 16 |
2 files changed, 7 insertions, 12 deletions
diff --git a/toolkit/modules/Services.jsm b/toolkit/modules/Services.jsm index 9b5082efd..09e5df077 100644 --- a/toolkit/modules/Services.jsm +++ b/toolkit/modules/Services.jsm @@ -51,9 +51,6 @@ XPCOMUtils.defineLazyGetter(Services, "ppmm", () => { }); var initTable = [ -#ifdef MOZ_WIDGET_ANDROID - ["androidBridge", "@mozilla.org/android/bridge;1", "nsIAndroidBridge"], -#endif ["appShell", "@mozilla.org/appshell/appShellService;1", "nsIAppShellService"], ["cache", "@mozilla.org/network/cache-service;1", "nsICacheService"], ["cache2", "@mozilla.org/netwerk/cache-storage-service;1", "nsICacheStorageService"], diff --git a/toolkit/modules/moz.build b/toolkit/modules/moz.build index c386759e7..062388d24 100644 --- a/toolkit/modules/moz.build +++ b/toolkit/modules/moz.build @@ -105,16 +105,14 @@ EXTRA_PP_JS_MODULES += [ 'Services.jsm', ] -if 'Android' != CONFIG['OS_TARGET']: - EXTRA_PP_JS_MODULES += [ - 'LightweightThemeConsumer.jsm', - ] - DIRS += [ - 'subprocess', - ] -else: - DEFINES['ANDROID'] = True +EXTRA_PP_JS_MODULES += [ + 'LightweightThemeConsumer.jsm', +] + +DIRS += [ + 'subprocess', +] if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |