summaryrefslogtreecommitdiffstats
path: root/devtools/startup/components.conf
blob: f88b9146da903028f5ce75423b13ab3799f14d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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',
        },
    ]