Commit a19bffab authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by brizental
Browse files

Bug 41635: Disable the Normandy component

Do not include Normandy at all whenever MOZ_NORMANDY is False.
parent 80cba2b4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2206,7 +2206,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.ShoppingUtils.uninit(),
      () => lazy.ASRouterNewTabHook.destroy(),
+3 −1
Original line number Diff line number Diff line
@@ -130,7 +130,9 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] not in ("android", "windows"):
    DIRS += ["aboutwebauthn"]

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

DIRS += ["nimbus"]