diff options
Diffstat (limited to '')
-rw-r--r-- | netwerk/dns/mdns/libmdns/components.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/netwerk/dns/mdns/libmdns/components.conf b/netwerk/dns/mdns/libmdns/components.conf new file mode 100644 index 0000000000..6e64140c82 --- /dev/null +++ b/netwerk/dns/mdns/libmdns/components.conf @@ -0,0 +1,24 @@ +# -*- 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': '{14a50f2b-7ff6-48a5-88e3-615fd111f5d3}', + 'contract_ids': ['@mozilla.org/toolkit/components/mdnsresponder/dns-info;1'], + 'type': 'mozilla::net::nsDNSServiceInfo', + 'headers': ['/netwerk/dns/mdns/libmdns/nsDNSServiceInfo.h'], + }, +] + +if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] != 'cocoa': + Classes += [ + { + 'cid': '{f9346d98-f27a-4e89-b744-493843416480}', + 'contract_ids': ['@mozilla.org/toolkit/components/mdnsresponder/dns-sd;1'], + 'jsm': 'resource://gre/modules/DNSServiceDiscovery.jsm', + 'constructor': 'nsDNSServiceDiscovery', + }, + ] |