Bug 1554928 - Remove configure options that have been deprecated for a while. r=nalexander

- DISABLE_SHARED_JS and DISABLE_EXPORT_JS have been deprecated for 3
years,
- MOZ_JEMALLOC4 has been deprecated for 2 years.

Differential Revision: https://phabricator.services.mozilla.com/D32928

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-05-29 02:01:02 +00:00
parent b173205f5e
commit cfe985532a
2 changed files with 0 additions and 26 deletions

View file

@ -5,11 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@deprecated_option(env='MOZ_JEMALLOC4')
def moz_jemalloc4(value):
die('MOZ_JEMALLOC4 is deprecated')
@depends(target)
def jemalloc_default(target):
return target.kernel in ('Darwin', 'Linux', 'WINNT')

View file

@ -85,27 +85,6 @@ def static_js(value):
set_define('MOZ_STATIC_JS', static_js)
@deprecated_option(env='DISABLE_SHARED_JS', nargs='?')
def disable_shared_js(value):
# DISABLE_SHARED_JS=1 gets us an empty PositiveOptionValue
if value and not len(value):
suggestion = '--disable-shared-js'
else:
suggestion = '--enable-shared-js'
die('Setting %s is deprecated, use %s instead.',
value.format('DISABLE_SHARED_JS'), suggestion)
@deprecated_option(env='DISABLE_EXPORT_JS', nargs='?')
def disable_export_js(value):
# DISABLE_EXPORT_JS=1 gets us an empty PositiveOptionValue
if value and not len(value):
suggestion = '--disable-export-js'
else:
suggestion = '--enable-export-js'
die('Setting %s is deprecated, use %s instead.',
value.format('DISABLE_EXPORT_JS'), suggestion)
# JIT support
# =======================================================