Backed out changeset b06f5fef9488 (bug 1244143) for OS 10.7 opt build trouble

This commit is contained in:
Carsten "Tomcat" Book 2016-02-10 15:58:09 +01:00
parent 60db75464b
commit fb7fb37fd7

View File

@ -495,17 +495,8 @@ class Build(MachCommandBase):
telemetry_handler = getattr(self._mach_context,
'telemetry_handler', None)
telemetry_data = monitor.record_resource_usage()
# Record build configuration data. For now, we cherry pick
# items we need rather than grabbing everything, in order
# to avoid accidentally disclosing PII.
telemetry_data['substs'] = {
'MOZ_ARTIFACT_BUILDS': self.substs.get('MOZ_ARTIFACT_BUILDS',
False)
}
telemetry_handler(self._mach_context, telemetry_data)
usage = monitor.record_resource_usage()
telemetry_handler(self._mach_context, usage)
# Only for full builds because incremental builders likely don't
# need to be burdened with this.