In order to rewrite the Gecko Profiler add-on as a WebExtension, we need an API for the profiler which allows us to control the nsIProfiler, and symbolicate the stacks that it provides. This is the implementation of the simpler parts of that API. TODO: - Support profiling of remote targets through a new devtools API. - Support the dump_syms breakpad code which was asm.js in the old extension by directly calling into native code. - Figure out a faster way to send the large volume of data from getSymbols all the way from our extension down to the content process and then into the page's context. MozReview-Commit-ID: JzDbV4l2eXd
31 lines
803 B
Python
31 lines
803 B
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", "WebExtensions: Untriaged")
|
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'extensions-browser.manifest',
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'ExtensionPopups.jsm',
|
|
'ParseSymbols-worker.js',
|
|
'ParseSymbols.jsm',
|
|
]
|
|
|
|
DIRS += ['schemas']
|
|
|
|
BROWSER_CHROME_MANIFESTS += [
|
|
'test/browser/browser-remote.ini',
|
|
'test/browser/browser.ini',
|
|
]
|
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest/mochitest.ini']
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
|