gecko-dev/intl/build/components.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 строки
680 B
Plaintext
Исходник Обычный вид История

# -*- 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 = [
{
Bug 1686616 - register all Services.py services with components.conf. r=kmag,necko-reviewers,valentin These services had their name added to components.conf: * GfxInfo * ThirdPartyUtil * History * HttpActivityDistributor * UUIDGenerator * ServiceWorkerManager * PermissionManager These services were added to componenets.conf under a different name: * DirectoryService => Directory * IOService => IO * StringBundleService => StringBundle * CacheStorageService => CacheStorage * StreamTransportService => StreamTransport * SocketTransportService => SocketTransport These services weren't migrated to components.conf because only Rust code uses them: * RemoteAgent * XULRuntime * PrefService These services weren't migrated to components.conf because they're unused: * ToolkitChromeRegistry (used as ChromeRegistry) * XULChromeRegistry (used as ChromeRegistry) * Bits (completely unused) These services were already available in components.conf but are still used by rust code: * URIFixup These services weren't migrated because they will be handled in subsequent patchsets: * ObserverService For the record, the following Services are being used by Rust code and must remain until a Rust version of Components.h is written: * RemoteAgent * XULRuntime * PrefService * URIFixup * ObserverService * DirectoryService * ThirdPartyUtil Also the cocoa GfxInfo service was changed to use components.conf instead of registering it at runtime, as all the other widgets were already doing it this way. Differential Revision: https://phabricator.services.mozilla.com/D105521
2021-02-18 16:26:28 +03:00
'name': 'StringBundle',
'js_name': 'strings',
'cid': '{d85a17c1-aa7c-11d2-9b8c-00805f8a16d9}',
'contract_ids': ['@mozilla.org/intl/stringbundle;1'],
'interfaces': ['nsIStringBundleService'],
'type': 'nsStringBundleService',
'headers': ['/intl/strres/nsStringBundleService.h'],
'init_method': 'Init',
},
]