зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1272748 Expose --enable-sm-promise config setting in mozinfo.json. r=mshal
This commit is contained in:
Родитель
f03abf7727
Коммит
8ddb26fdbe
|
@ -136,6 +136,14 @@ release_build
|
|||
|
||||
Always defined.
|
||||
|
||||
sm_promise
|
||||
Whether spidermonkey promises have been enabled or not. This is set
|
||||
by adding --enable-sm-promise to the mozconfig file.
|
||||
|
||||
Values are ``true`` and ``false``.
|
||||
|
||||
Always defined.
|
||||
|
||||
tests_enabled
|
||||
Whether tests are enabled for this build.
|
||||
|
||||
|
|
|
@ -95,6 +95,7 @@ def build_dict(config, env=os.environ):
|
|||
d['addon_signing'] = substs.get('MOZ_ADDON_SIGNING') == '1'
|
||||
d['require_signing'] = substs.get('MOZ_REQUIRE_SIGNING') == '1'
|
||||
d['official'] = bool(substs.get('MOZILLA_OFFICIAL'))
|
||||
d['sm_promise'] = bool(substs.get('SPIDERMONKEY_PROMISE'))
|
||||
|
||||
def guess_platform():
|
||||
if d['buildapp'] in ('browser', 'mulet'):
|
||||
|
|
Загрузка…
Ссылка в новой задаче