1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

Issue #21 - Remove unused telemetry build variables.

Hard-code the values in AppConstants.jsm for compatibility, even if
nobody should actually be using this in extensions or what not.
This commit is contained in:
Moonchild
2021-11-29 17:34:58 -05:00
committed by roytam1
parent 2ed3e31c4f
commit d356440fa3
3 changed files with 4 additions and 54 deletions
-3
View File
@@ -80,12 +80,9 @@ def build_dict(config, env=os.environ):
d['nightly_build'] = substs.get('NIGHTLY_BUILD') == '1'
d['release_or_beta'] = substs.get('RELEASE_OR_BETA') == '1'
d['pgo'] = substs.get('MOZ_PGO') == '1'
d['datareporting'] = bool(substs.get('MOZ_DATA_REPORTING'))
d['healthreport'] = substs.get('MOZ_SERVICES_HEALTHREPORT') == '1'
d['sync'] = substs.get('MOZ_SERVICES_SYNC') == '1'
d['asan'] = substs.get('MOZ_ASAN') == '1'
d['tsan'] = substs.get('MOZ_TSAN') == '1'
d['telemetry'] = substs.get('MOZ_TELEMETRY_REPORTING') == '1'
d['tests_enabled'] = substs.get('ENABLE_TESTS') == "1"
d['bin_suffix'] = substs.get('BIN_SUFFIX', '')
d['official'] = bool(substs.get('MC_OFFICIAL'))