Bug 930849 - add a datareporting field to mozinfo. r=ted

This commit is contained in:
Mark Hammond 2013-11-04 11:18:20 +11:00
parent 7fab5d2be4
commit 93f6902bd7
2 changed files with 8 additions and 0 deletions

View File

@ -66,6 +66,13 @@ crashreporter
Always defined.
datareporting
Whether data reporting (MOZ_DATA_REPORTING) is enabled for this build.
Values are ``true`` and ``false``.
Always defined.
debug
Whether this is a debug build.

View File

@ -74,6 +74,7 @@ def build_dict(config, env=os.environ):
d['debug'] = substs.get('MOZ_DEBUG') == '1'
d['crashreporter'] = bool(substs.get('MOZ_CRASHREPORTER'))
d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING'))
d['asan'] = substs.get('MOZ_ASAN') == '1'
d['tests_enabled'] = substs.get('ENABLE_TESTS') == "1"
d['bin_suffix'] = substs.get('BIN_SUFFIX', '')