Commit 353f2973 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by morgan
Browse files

Bug 41635: Disable the Normandy component

Do not include Normandy at all whenever MOZ_NORMANDY is False.
parent 4a21d34f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1974,7 +1974,11 @@ BrowserGlue.prototype = {
      () => lazy.PageDataService.uninit(),
      () => lazy.PageThumbs.uninit(),
      () => lazy.NewTabUtils.uninit(),
      () => lazy.Normandy.uninit(),
      () => {
        if (AppConstants.MOZ_NORMANDY) {
          lazy.Normandy.uninit();
        }
      },
      () => lazy.RFPHelper.uninit(),
      () => lazy.ASRouterNewTabHook.destroy(),
      () => {
+3 −1
Original line number Diff line number Diff line
@@ -125,7 +125,9 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
    ]

if CONFIG["MOZ_BUILD_APP"] == "browser":
    DIRS += ["normandy", "messaging-system"]
    if CONFIG["MOZ_NORMANDY"]:
        DIRS += ["normandy"]
    DIRS += ["messaging-system"]

DIRS += ["nimbus"]