Bug 1180533 - Disable BackgroundHangMonitor on gonk. r=vladan, a=jocheng
authorFabrice Desré <fabrice@mozilla.com>
Sun, 05 Jul 2015 18:30:51 -0700
changeset 238750 4a68ed6cfd8ca96494f074d29e805717e82e78d1
parent 238749 813cb3d271f08775de31237d2a1f7b75d916a468
child 238751 9dc122c2afd68827acc258360f4d703672cfb026
push id759
push userryanvm@gmail.com
push dateWed, 29 Jul 2015 14:32:08 +0000
treeherdermozilla-b2g37_v2_2@4a68ed6cfd8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvladan, jocheng
bugs1180533
milestone37.0
Bug 1180533 - Disable BackgroundHangMonitor on gonk. r=vladan, a=jocheng
xpcom/threads/moz.build
--- a/xpcom/threads/moz.build
+++ b/xpcom/threads/moz.build
@@ -54,13 +54,19 @@ MSVC_ENABLE_PGO = True
 
 LOCAL_INCLUDES += [
     '../build',
     '/caps',
     '/toolkit/crashreporter/google-breakpad/src',
     '/tools/profiler',
 ]
 
+# BHR disabled for Release builds because of bug 965392.
+# BHR disabled for debug builds because of bug 979069.
+# BHR disabled on gonk because of bug 1180533
+if CONFIG['MOZ_UPDATE_CHANNEL'] not in ('release') and not CONFIG['MOZ_DEBUG'] and not CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
+    DEFINES['MOZ_ENABLE_BACKGROUND_HANG_MONITOR'] = 1
+
 FAIL_ON_WARNINGS = True
 
 FINAL_LIBRARY = 'xul'
 
 include('/ipc/chromium/chromium-config.mozbuild')