mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1180275 - Part 1: Add a release mozinfo variable; r=ted
This commit is contained in:
parent
87abc69fb0
commit
29da2a2523
@ -122,6 +122,13 @@ processor
|
||||
|
||||
Always defined.
|
||||
|
||||
release
|
||||
Whether this is a release build.
|
||||
|
||||
Values are ``true`` and ``false``.
|
||||
|
||||
Always defined.
|
||||
|
||||
tests_enabled
|
||||
Whether tests are enabled for this build.
|
||||
|
||||
|
@ -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['release'] = substs.get('RELEASE_BUILD') == '1'
|
||||
d['pgo'] = substs.get('MOZ_PGO') == '1'
|
||||
d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER'))
|
||||
d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING'))
|
||||
|
Loading…
Reference in New Issue
Block a user