# -*- 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', }, ] if defined('NIGHTLY_BUILD'): Classes += [ { 'cid': '{610e4e26-26bd-4a7d-aebc-69211d5a3be0}', 'contract_ids': ['@mozilla.org/network/protocol/about;1?what=debugging-new'], 'jsm': 'resource:///modules/AboutDebuggingNewRegistration.jsm', 'constructor': 'AboutDebuggingNew', }, ]