Skip to content

Commit

Permalink
Bug 1746986 - Move --disable-universalchardet to python configure. r=…
Browse files Browse the repository at this point in the history
…firefox-build-system-reviewers,mhentges

Differential Revision: https://phabricator.services.mozilla.com/D134344
  • Loading branch information
glandium committed Dec 21, 2021
1 parent 915c66d commit acca21b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
1 change: 0 additions & 1 deletion build/moz.configure/old.configure
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def old_configure_options(*options):
"--cache-file",
"--datadir",
"--enable-official-branding",
"--enable-universalchardet",
"--enable-updater",
"--enable-zipwriter",
"--includedir",
Expand Down
11 changes: 0 additions & 11 deletions old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,6 @@ MOZ_ARG_HEADER(Application)

MOZ_BRANDING_DIRECTORY=
MOZ_OFFICIAL_BRANDING=
MOZ_UNIVERSALCHARDET=1
MOZ_ZIPWRITER=1
MOZ_NO_SMART_CARDS=
MOZ_BINARY_EXTENSIONS=
Expand Down Expand Up @@ -1385,15 +1384,6 @@ if test -n "$MOZ_APPLEMEDIA"; then
fi
fi # COMPILE_ENVIRONMENT

dnl ========================================================
dnl = Universalchardet
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(universalchardet,
[ --disable-universalchardet
Disable universal encoding detection],
MOZ_UNIVERSALCHARDET=,
MOZ_UNIVERSALCHARDET=1 )

dnl ========================================================
dnl Gamepad support
dnl ========================================================
Expand Down Expand Up @@ -1763,7 +1753,6 @@ AC_SUBST_LIST(ASFLAGS)
AC_SUBST_LIST(MOZ_DEBUG_LDFLAGS)
AC_SUBST_LIST(WARNINGS_CFLAGS)

AC_SUBST(MOZ_UNIVERSALCHARDET)
AC_SUBST(MOZ_STUB_INSTALLER)
AC_SUBST(MOZ_UPDATER)

Expand Down
8 changes: 8 additions & 0 deletions toolkit/moz.configure
Original file line number Diff line number Diff line change
Expand Up @@ -2855,3 +2855,11 @@ with only_when(compile_environment):
# Set MOZ_PIXMAN_CFLAGS to an explicit empty value when --enable-system-pixman is *not* used,
# for layout/style/extra-bindgen-flags
set_config("MOZ_PIXMAN_CFLAGS", [], when=in_tree_pixman)


# Universalchardet
# ==============================================================
with only_when(compile_environment):
option("--disable-universalchardet", help="Disable universal encoding detection")

set_config("MOZ_UNIVERSALCHARDET", True, when="--enable-universalchardet")

0 comments on commit acca21b

Please sign in to comment.