Files
tubestation/toolkit/components/perfmonitoring/moz.build
Tarek Ziadé ff711b57c6 Bug 1447768 - part 1 - Add PerformanceUtils helpers - r=baku
This new module simplifies how we interact with PerformanceInfo counters:

- CollectPerformanceInfo: returns all PerformanceInfo instances
- NotifyPerformanceInfo: converts PerformanceInfo in XPCOM and notify them

MozReview-Commit-ID: JedKEtsbQTF
2018-04-04 10:12:02 +02:00

49 lines
1.0 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/.
with Files('**'):
BUG_COMPONENT = ('Toolkit', 'Performance Monitoring')
BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
XPIDL_MODULE = 'toolkit_perfmonitoring'
EXTRA_JS_MODULES += [
'PerformanceStats-content.js',
'PerformanceStats.jsm',
'PerformanceWatcher-content.js',
'PerformanceWatcher.jsm',
]
XPIDL_SOURCES += [
'nsIPerformanceStats.idl',
]
UNIFIED_SOURCES += [
'nsPerformanceStats.cpp'
]
if not CONFIG['RELEASE_OR_BETA']:
UNIFIED_SOURCES += [
'PerformanceUtils.cpp'
]
EXPORTS.mozilla += [
'PerformanceUtils.h'
]
EXPORTS += [
'nsPerformanceStats.h'
]
LOCAL_INCLUDES += [
'/dom/base',
]
FINAL_LIBRARY = 'xul'
include('/ipc/chromium/chromium-config.mozbuild')