Skip to content

Commit

Permalink
Bug 1950637 - Move MOZ_APP_PROFILE from old-configure to moz.configur…
Browse files Browse the repository at this point in the history
…e r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D239821
  • Loading branch information
serge-sans-paille committed Feb 27, 2025
1 parent effef55 commit 6b00722
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions toolkit/moz.configure
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6b00722

Please sign in to comment.