components.conf (875B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 Classes = [ 8 { 9 'cid': '{cde1d019-fad8-4044-b141-65fb4fb7a245}', 10 'contract_ids': ['@mozilla.org/push/PushManager;1'], 11 'esModule': 'resource://gre/modules/Push.sys.mjs', 12 'constructor': 'Push', 13 }, 14 ] 15 16 if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] not in ('android', 'uikit'): 17 Classes += [ 18 { 19 'cid': '{daaa8d73-677e-4233-8acd-2c404bd01658}', 20 'contract_ids': ['@mozilla.org/push/Service;1'], 21 'esModule': 'resource://gre/modules/PushComponents.sys.mjs', 22 'constructor': 'Service', 23 }, 24 ]