summaryrefslogtreecommitdiffstats
path: root/devtools/startup/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/startup/components.conf')
-rw-r--r--devtools/startup/components.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/devtools/startup/components.conf b/devtools/startup/components.conf
new file mode 100644
index 0000000000..f88b9146da
--- /dev/null
+++ b/devtools/startup/components.conf
@@ -0,0 +1,30 @@
+# -*- 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/.
+
+Classes = []
+
+if buildconfig.substs['MOZ_DEVTOOLS'] == 'all':
+ Classes += [
+ {
+ 'cid': '{9e9a9283-0ce9-4e4a-8f1c-ba129a032c32}',
+ 'contract_ids': ['@mozilla.org/devtools/startup-clh;1'],
+ 'esModule': 'resource:///modules/DevToolsStartup.sys.mjs',
+ 'constructor': 'DevToolsStartup',
+ 'categories': {'command-line-handler': 'm-devtools'},
+ },
+ {
+ 'cid': '{1060afaf-dc9e-43da-8646-23a2faf48493}',
+ 'contract_ids': ['@mozilla.org/network/protocol/about;1?what=debugging'],
+ 'esModule': 'resource:///modules/AboutDebuggingRegistration.sys.mjs',
+ 'constructor': 'AboutDebugging',
+ },
+ {
+ 'cid': '{11342911-3135-45a8-8d71-737a2b0ad469}',
+ 'contract_ids': ['@mozilla.org/network/protocol/about;1?what=devtools-toolbox'],
+ 'esModule': 'resource:///modules/AboutDevToolsToolboxRegistration.sys.mjs',
+ 'constructor': 'AboutDevtoolsToolbox',
+ },
+ ]