Bug 1262207 - Add a nightly_build entry to mozinfo. r=ahal

--HG--
extra : rebase_source : 5ce90a4c5ac0dd6efe8eeca61a4ec2b90fe9b569
This commit is contained in:
Ryan VanderMeulen 2016-04-06 12:04:29 -04:00
Родитель 0ea6b8c18f
Коммит 76ab6cf240
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -98,6 +98,13 @@ mozconfig
Optional.
nightly_build
Whether this is a nightly build.
Values are ``true`` and ``false``.
Always defined.
os
The operating system the build is produced for. Values for tier-1
supported platforms are ``linux``, ``win``, ``mac``, ``b2g``, and

Просмотреть файл

@ -80,6 +80,7 @@ def build_dict(config, env=os.environ):
# other CPUs will wind up with unknown bits
d['debug'] = substs.get('MOZ_DEBUG') == '1'
d['nightly_build'] = substs.get('NIGHTLY_BUILD') == '1'
d['release_build'] = substs.get('RELEASE_BUILD') == '1'
d['pgo'] = substs.get('MOZ_PGO') == '1'
d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER'))