From 7da587d0aaa6cfbb53fbfd9af55ba8c27ce8f385 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Mon, 29 Nov 2021 17:34:58 -0500 Subject: 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. --- python/mozbuild/mozbuild/mozinfo.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'python') diff --git a/python/mozbuild/mozbuild/mozinfo.py b/python/mozbuild/mozbuild/mozinfo.py index 8fca024c97..d0087d31a8 100755 --- a/python/mozbuild/mozbuild/mozinfo.py +++ b/python/mozbuild/mozbuild/mozinfo.py @@ -79,12 +79,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')) -- cgit v1.2.3