зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1898183 - Move MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212362
This commit is contained in:
Родитель
8386175a59
Коммит
d848f7c2d5
|
@ -776,10 +776,6 @@ if test "$MOZILLA_OFFICIAL"; then
|
||||||
MOZ_INCLUDE_SOURCE_INFO=1
|
MOZ_INCLUDE_SOURCE_INFO=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# External builds (specifically Ubuntu) may drop the hg repo information, so we allow to
|
|
||||||
# explicitly set the repository and changeset information in.
|
|
||||||
AC_SUBST(MOZ_SOURCE_REPO)
|
|
||||||
AC_SUBST(MOZ_SOURCE_CHANGESET)
|
|
||||||
AC_SUBST(MOZ_INCLUDE_SOURCE_INFO)
|
AC_SUBST(MOZ_INCLUDE_SOURCE_INFO)
|
||||||
|
|
||||||
dnl Echo the CFLAGS to remove extra whitespace.
|
dnl Echo the CFLAGS to remove extra whitespace.
|
||||||
|
|
|
@ -29,6 +29,13 @@ set_define(
|
||||||
"BROWSER_CHROME_URL_QUOTED", depends_if("BROWSER_CHROME_URL")(lambda v: f'"{v[0]}"')
|
"BROWSER_CHROME_URL_QUOTED", depends_if("BROWSER_CHROME_URL")(lambda v: f'"{v[0]}"')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# External builds (specifically Ubuntu) may drop the hg repo information, so we allow to
|
||||||
|
# explicitly set the repository and changeset information in.
|
||||||
|
option(env="MOZ_SOURCE_REPO", nargs=1, help="project source repository")
|
||||||
|
set_config("MOZ_SOURCE_REPO", depends_if("MOZ_SOURCE_REPO")(lambda src: src[0]))
|
||||||
|
option(env="MOZ_SOURCE_CHANGESET", nargs=1, help="source changeset")
|
||||||
|
set_config("MOZ_SOURCE_CHANGESET", depends_if("MOZ_SOURCE_CHANGESET")(lambda v: v[0]))
|
||||||
|
|
||||||
|
|
||||||
# Set the MOZ_CONFIGURE_OPTIONS variable with all the options that
|
# Set the MOZ_CONFIGURE_OPTIONS variable with all the options that
|
||||||
# were passed somehow (environment, command line, mozconfig)
|
# were passed somehow (environment, command line, mozconfig)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче