# -*- 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',
        },
    ]
