feat: conditional compilation for Normandy

This commit is contained in:
Alex Kontos
2025-07-24 14:44:45 +01:00
parent 4deead3275
commit a08400d015
2 changed files with 5 additions and 1 deletions

View File

@@ -86,7 +86,9 @@ category browser-quit-application-granted resource:///modules/Interactions.sys.m
category browser-quit-application-granted resource:///modules/pagedata/PageDataService.sys.mjs PageDataService.uninit
category browser-quit-application-granted resource://gre/modules/PageThumbs.sys.mjs PageThumbs.uninit
category browser-quit-application-granted resource://gre/modules/NewTabUtils.sys.mjs NewTabUtils.uninit
#ifdef MOZ_NORMANDY
category browser-quit-application-granted resource://normandy/Normandy.sys.mjs Normandy.uninit
#endif
category browser-quit-application-granted resource://gre/modules/RFPHelper.sys.mjs RFPHelper.uninit
category browser-quit-application-granted resource:///modules/asrouter/ASRouterNewTabHook.sys.mjs ASRouterNewTabHook.destroy
category browser-quit-application-granted moz-src:///browser/components/search/SERPCategorization.sys.mjs SERPCategorization.uninit

View File

@@ -135,7 +135,9 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] not in ("android", "windows"):
DIRS += ["aboutwebauthn"]
if CONFIG["MOZ_BUILD_APP"] == "browser":
DIRS += ["messaging-system", "normandy"]
if CONFIG["MOZ_NORMANDY"]:
DIRS += ["normandy"]
DIRS += ["messaging-system"]
DIRS += ["nimbus"]