summaryrefslogtreecommitdiffstats
path: root/devtools/startup/components.conf
blob: f91c54c55025d08200a0819771869e3ba776285f (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'],
            'jsm': 'resource:///modules/DevToolsStartup.jsm',
            'constructor': 'DevToolsStartup',
            'categories': {'command-line-handler': 'm-devtools'},
        },
        {
            'cid': '{1060afaf-dc9e-43da-8646-23a2faf48493}',
            'contract_ids': ['@mozilla.org/network/protocol/about;1?what=debugging'],
            'jsm': 'resource:///modules/AboutDebuggingRegistration.jsm',
            'constructor': 'AboutDebugging',
        },
        {
            'cid': '{11342911-3135-45a8-8d71-737a2b0ad469}',
            'contract_ids': ['@mozilla.org/network/protocol/about;1?what=devtools-toolbox'],
            'jsm': 'resource:///modules/AboutDevToolsToolboxRegistration.jsm',
            'constructor': 'AboutDevtoolsToolbox',
        },
    ]