Bug 1215676 - Disable leak reporting during packaging; r=glandium

This commit is contained in:
Ehsan Akhgari 2015-10-14 20:08:02 -04:00
parent 51c57d84c3
commit a817a92522

View File

@ -149,6 +149,8 @@ def precompile_cache(formatter, source_path, gre_path, app_path):
extra_env = {'MOZ_STARTUP_CACHE': cache}
if buildconfig.substs.get('MOZ_TSAN'):
extra_env['TSAN_OPTIONS'] = 'report_bugs=0'
if buildconfig.substs.get('MOZ_ASAN'):
extra_env['ASAN_OPTIONS'] = 'detect_leaks=0'
if launcher.launch(['xpcshell', '-g', gre_path, '-a', app_path,
'-f', os.path.join(os.path.dirname(__file__),
'precompile_cache.js'),