mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1262207 - Add a nightly_build entry to mozinfo. r=ahal
--HG-- extra : rebase_source : 5ce90a4c5ac0dd6efe8eeca61a4ec2b90fe9b569
This commit is contained in:
parent
0ea6b8c18f
commit
76ab6cf240
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user