mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
Add the necessary XPCOM components to handle prompts for GeckoView. The JS code mostly package the prompts into GeckoView:Prompt events, and send them to the Java side if in parent process, or to the parent process if in child process.
55 lines
1.4 KiB
INI
55 lines
1.4 KiB
INI
# -*- 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/.
|
|
|
|
with Files('**'):
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
with Files('extensions/**'):
|
|
BUG_COMPONENT = ('Toolkit', 'WebExtensions: Android')
|
|
|
|
XPIDL_SOURCES += [
|
|
'SessionStore.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'MobileComponents'
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'AboutRedirector.js',
|
|
'AddonUpdateService.js',
|
|
'BlocklistPrompt.js',
|
|
'BrowserCLH.js',
|
|
'ColorPicker.js',
|
|
'ContentDispatchChooser.js',
|
|
'ContentPermissionPrompt.js',
|
|
'DirectoryProvider.js',
|
|
'FilePicker.js',
|
|
'FxAccountsPush.js',
|
|
'HelperAppDialog.js',
|
|
'ImageBlockingPolicy.js',
|
|
'LoginManagerPrompter.js',
|
|
'NSSDialogService.js',
|
|
'PersistentNotificationHandler.js',
|
|
'PresentationDevicePrompt.js',
|
|
'PresentationRequestUIGlue.js',
|
|
'PromptService.js',
|
|
'SessionStore.js',
|
|
'Snippets.js',
|
|
'TabSource.js',
|
|
'XPIDialogService.js',
|
|
]
|
|
|
|
# Keep it this way if at all possible. If you need preprocessing,
|
|
# consider adding fields to AppConstants.jsm.
|
|
EXTRA_PP_COMPONENTS += [
|
|
'MobileComponents.manifest',
|
|
]
|
|
|
|
DIRS += [
|
|
'extensions',
|
|
'build',
|
|
'geckoview',
|
|
]
|