diff options
Diffstat (limited to '')
-rw-r--r-- | dom/presentation/components.conf | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dom/presentation/components.conf b/dom/presentation/components.conf new file mode 100644 index 0000000000..c71ad39ef4 --- /dev/null +++ b/dom/presentation/components.conf @@ -0,0 +1,36 @@ +# -*- 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 = [ + { + 'cid': '{a2b5ef38-a650-4bee-b488-3739f1f3afe7}', + 'contract_ids': ['@mozilla.org/presentation/mockedsockettransport;1'], + 'headers': ['/dom/presentation/MockedSocketTransport.h'], + 'type': 'mozilla::dom::MockedSocketTransport', + }, + { + 'cid': '{dd2bbf2f-3399-4389-8f5f-d382afb8b2d6}', + 'contract_ids': ['@mozilla.org/presentation/datachanneltransport;1'], + 'jsm': 'resource://gre/modules/PresentationDataChannelSessionTransport.jsm', + 'constructor': 'PresentationTransport', + }, + { + 'cid': '{215b2f62-46e2-4004-a3d1-6858e56c20f3}', + 'contract_ids': ['@mozilla.org/presentation/datachanneltransportbuilder;1'], + 'jsm': 'resource://gre/modules/PresentationDataChannelSessionTransport.jsm', + 'constructor': 'PresentationTransportBuilder', + }, +] + +if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] == 'android': + Classes += [ + { + 'cid': '{5fb96caa-6d49-4f6b-9a4b-65dd0d51f92d}', + 'contract_ids': ['@mozilla.org/presentation-device/networkHelper;1'], + 'jsm': 'resource://gre/modules/PresentationNetworkHelper.jsm', + 'constructor': 'PresentationNetworkHelper', + }, + ] |