From 6b00722f4b310b577bab103441294c9b1b2deb77 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Thu, 27 Feb 2025 08:20:56 +0000 Subject: [PATCH] Bug 1950637 - Move MOZ_APP_PROFILE from old-configure to moz.configure r=glandium Differential Revision: https://phabricator.services.mozilla.com/D239821 --- old-configure.in | 3 --- toolkit/moz.configure | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/old-configure.in b/old-configure.in index 73a64adabc346..7118e9acf5c2a 100644 --- a/old-configure.in +++ b/old-configure.in @@ -84,8 +84,6 @@ AC_SUBST(MOZ_EME_PROCESS_BUNDLEID) # - MOZ_APP_DISPLAYNAME: Used in user-visible fields (DLL properties, # Mac Bundle name, Updater, Installer), it is typically used for nightly # builds (e.g. Aurora for Firefox). -# - MOZ_APP_PROFILE: When set, used for application.ini's -# "Profile" field, which controls profile location. # The following environment variables used to have an effect, but don't anymore: # - MOZ_APP_VERSION: Defines the application version number. This was replaced with @@ -97,7 +95,6 @@ AC_SUBST(MOZ_EME_PROCESS_BUNDLEID) # browser/config/version_display.txt. AC_SUBST(MOZ_APP_DISPLAYNAME) -AC_SUBST(MOZ_APP_PROFILE) AC_DEFINE_UNQUOTED(MOZ_APP_UA_VERSION, "$MOZ_APP_VERSION") dnl Set various defines and substitutions diff --git a/toolkit/moz.configure b/toolkit/moz.configure index fa3642c2bdb69..4ebf2e11ff931 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -33,6 +33,12 @@ project_flag( help="Application name in the User Agent string", ) +confvar( + "MOZ_APP_PROFILE", + nargs=1, + help='Used for application.ini\'s "Profile" field, which controls profile location', +) + project_flag( env="MOZ_DEVTOOLS", default="server",