Files
tubestation/toolkit/components/backgroundhangmonitor/moz.build
Doug Thayer 35bd3f0b0d Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika
Fairly straightforward, just a blanket removal. Haven't heard
anything on dev-platform or fx-data-dev regarding this removal,
so I think it's likely safe to remove on Nightly, and we can
revert if anyone makes a fuss.

As part of removing the HangMonitor, I renamed a few things and
reorganized the namespaces to not depend on a HangMonitor
namespace. Hopefully this doesn't produce too much noise in the
diff, it just seemed appropriate to move everything around
rather than keep dangling vestiges of the old system.

MozReview-Commit-ID: 8C8NFnOP5GU
2018-04-29 18:21:20 -07:00

62 lines
1.6 KiB
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# NOTE: These config options must match the ones in both android/'s and
# browser/'s package-manifest.in.
# BHR disabled outside of Nightly builds due to expected high ping frequency.
# BHR disabled for Release builds because of bug 965392.
# BHR disabled for debug builds because of bug 979069.
# BHR disabled for TSan builds because of bug 1121216.
# BHR disabled for ASan builds because of bug 1445441.
if CONFIG['NIGHTLY_BUILD'] and \
not CONFIG['MOZ_DEBUG'] and \
not CONFIG['MOZ_TSAN'] and \
not CONFIG['MOZ_ASAN']:
DEFINES['MOZ_ENABLE_BACKGROUND_HANG_MONITOR'] = 1
EXTRA_COMPONENTS += [
'BHRTelemetryService.js',
'BHRTelemetryService.manifest',
]
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
XPIDL_SOURCES += [
'nsIHangDetails.idl',
]
XPIDL_MODULE = 'backgroundhangmonitor'
EXPORTS.mozilla += [
'BackgroundHangMonitor.h',
'HangAnnotations.h',
'HangDetails.h',
]
UNIFIED_SOURCES += [
'BackgroundHangMonitor.cpp',
'HangAnnotations.cpp',
'HangDetails.cpp',
]
IPDL_SOURCES += [
'HangTypes.ipdlh',
]
if CONFIG['MOZ_GECKO_PROFILER']:
UNIFIED_SOURCES += [
'ThreadStackHelper.cpp',
]
LOCAL_INCLUDES += [
'/caps', # For nsScriptSecurityManager.h
]
FINAL_LIBRARY = 'xul'
include('/ipc/chromium/chromium-config.mozbuild')