2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:19:09 +04:00
|
|
|
# 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/.
|
|
|
|
|
2018-05-18 23:03:24 +03:00
|
|
|
include('../components/telemetry/telemetry-constants.mozbuild')
|
|
|
|
|
2017-04-09 12:43:43 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'General')
|
|
|
|
|
|
|
|
with Files('docs/**'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
|
|
|
|
|
|
|
with Files('subprocess/**'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
|
|
|
|
|
|
|
with Files('tests/browser/*AsyncPrefs*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Security: Process Sandboxing')
|
|
|
|
|
|
|
|
with Files('tests/browser/*Finder*'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Find Toolbar')
|
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_Color.js'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Find Toolbar')
|
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_DeferredTask.js'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_FinderIterator.js'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Find Toolbar')
|
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_Integration.js'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_JSONFile.js'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Form Manager')
|
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_Match*.js'):
|
2018-06-20 21:41:59 +03:00
|
|
|
BUG_COMPONENT = ('WebExtensions', 'General')
|
2017-04-09 12:43:43 +03:00
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_NewTabUtils.js'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'New Tab Page')
|
|
|
|
|
|
|
|
with Files('tests/xpcshell/test_UpdateUtils*.js'):
|
2017-10-06 20:55:20 +03:00
|
|
|
BUG_COMPONENT = ('Toolkit', 'Application Update')
|
2017-04-09 12:43:43 +03:00
|
|
|
|
|
|
|
with Files('AsyncPrefs.jsm'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Security: Process Sandboxing')
|
|
|
|
|
|
|
|
with Files('CharsetMenu.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Toolbars and Customization')
|
|
|
|
|
|
|
|
with Files('Color.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Find Toolbar')
|
|
|
|
|
|
|
|
with Files('Console.jsm'):
|
2018-06-20 21:34:40 +03:00
|
|
|
BUG_COMPONENT = ('DevTools', 'Console')
|
2017-04-09 12:43:43 +03:00
|
|
|
|
2018-06-10 00:46:35 +03:00
|
|
|
with Files('DateTimePicker*.jsm'):
|
2017-04-09 12:43:43 +03:00
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Form Controls ')
|
|
|
|
|
|
|
|
with Files('DeferredTask.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
|
|
|
|
2017-12-12 15:35:16 +03:00
|
|
|
with Files("E10SUtils.jsm"):
|
|
|
|
BUG_COMPONENT = ("Core", "Security: Process Sandboxing")
|
|
|
|
|
2017-04-09 12:43:43 +03:00
|
|
|
with Files('Finder*.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Find Toolbar')
|
|
|
|
|
|
|
|
with Files('FormLikeFactory.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Password Manager')
|
|
|
|
|
|
|
|
with Files('IndexedDB.jsm'):
|
2019-04-25 21:05:36 +03:00
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
2017-04-09 12:43:43 +03:00
|
|
|
|
|
|
|
with Files('InlineSpellChecker*.jsm'):
|
2019-12-04 16:55:45 +03:00
|
|
|
BUG_COMPONENT = ('Core', 'Spelling checker')
|
2017-04-09 12:43:43 +03:00
|
|
|
|
|
|
|
with Files('Integration.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
|
|
|
|
|
|
|
with Files('JSONFile.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Form Manager')
|
|
|
|
|
|
|
|
with Files('LightweightThemeConsumer.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Toolbars and Customization')
|
|
|
|
|
|
|
|
with Files('NLP.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Find Toolbar')
|
|
|
|
|
|
|
|
with Files('NewTabUtils.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Tabbed Browser')
|
|
|
|
|
|
|
|
with Files('ObjectUtils.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Telemetry')
|
|
|
|
|
2018-04-12 20:16:02 +03:00
|
|
|
with Files("offlineAppCache.jsm"):
|
|
|
|
BUG_COMPONENT = ("Toolkit", "Preferences")
|
|
|
|
|
2017-04-09 12:43:43 +03:00
|
|
|
with Files('PageMenu.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Menus')
|
|
|
|
|
|
|
|
with Files('PermissionsUtils.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Add-ons Manager')
|
|
|
|
|
|
|
|
with Files('PopupNotifications.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Password Manager')
|
|
|
|
|
|
|
|
with Files('PrivateBrowsingUtils.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Private Browsing')
|
|
|
|
|
|
|
|
with Files('Promise*.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Async Tooling')
|
|
|
|
|
2020-01-07 03:04:57 +03:00
|
|
|
with Files('RemoteController.jsm'):
|
2017-04-09 12:43:43 +03:00
|
|
|
BUG_COMPONENT = ('Core', 'Widget')
|
|
|
|
|
|
|
|
with Files('RemoteSecurityUI.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Tabbed Browser')
|
|
|
|
|
|
|
|
with Files('RemoteWebProgress.jsm'):
|
2019-11-08 15:17:57 +03:00
|
|
|
BUG_COMPONENT = ('Core', 'DOM: Navigation')
|
2017-04-09 12:43:43 +03:00
|
|
|
|
|
|
|
with Files('ResponsivenessMonitor.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Migration')
|
|
|
|
|
|
|
|
with Files('ShortcutUtils.jsm'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Toolbars and Customization')
|
|
|
|
|
|
|
|
with Files('Sqlite.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Storage')
|
|
|
|
|
|
|
|
with Files('UpdateUtils.jsm'):
|
2017-10-06 20:55:20 +03:00
|
|
|
BUG_COMPONENT = ('Toolkit', 'Application Update')
|
2017-04-09 12:43:43 +03:00
|
|
|
|
|
|
|
with Files('WindowsRegistry.jsm'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'General')
|
|
|
|
|
|
|
|
|
2014-02-07 01:00:20 +04:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
|
2013-06-17 23:22:56 +04:00
|
|
|
|
2016-02-03 15:58:03 +03:00
|
|
|
TESTING_JS_MODULES += [
|
2017-01-31 16:17:03 +03:00
|
|
|
'tests/modules/MockDocument.jsm',
|
|
|
|
'tests/modules/PromiseTestUtils.jsm',
|
2019-01-04 11:41:58 +03:00
|
|
|
'tests/modules/Task.jsm',
|
2016-04-18 16:21:01 +03:00
|
|
|
'tests/xpcshell/TestIntegration.jsm',
|
2016-02-03 15:58:03 +03:00
|
|
|
]
|
|
|
|
|
2014-05-12 21:01:00 +04:00
|
|
|
SPHINX_TREES['toolkit_modules'] = 'docs'
|
|
|
|
|
2017-10-02 21:22:56 +03:00
|
|
|
with Files('docs/**'):
|
|
|
|
SCHEDULES.exclusive = ['docs']
|
|
|
|
|
2013-06-17 23:22:56 +04:00
|
|
|
EXTRA_JS_MODULES += [
|
2018-09-21 03:31:02 +03:00
|
|
|
'AboutPagesUtils.jsm',
|
2018-08-12 01:27:12 +03:00
|
|
|
'ActorChild.jsm',
|
|
|
|
'ActorManagerChild.jsm',
|
|
|
|
'ActorManagerParent.jsm',
|
2017-05-18 23:22:27 +03:00
|
|
|
'AppMenuNotifications.jsm',
|
2016-03-13 16:10:16 +03:00
|
|
|
'AsyncPrefs.jsm',
|
2014-03-29 10:31:05 +04:00
|
|
|
'BinarySearch.jsm',
|
2014-02-09 05:40:27 +04:00
|
|
|
'BrowserUtils.jsm',
|
2016-04-18 13:02:42 +03:00
|
|
|
'CanonicalJSON.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'CertUtils.jsm',
|
2014-01-06 12:44:19 +04:00
|
|
|
'CharsetMenu.jsm',
|
2016-06-22 20:22:05 +03:00
|
|
|
'Color.jsm',
|
2015-10-15 13:45:22 +03:00
|
|
|
'Console.jsm',
|
2019-06-08 04:09:29 +03:00
|
|
|
'ContentDOMReference.jsm',
|
2018-05-15 19:41:35 +03:00
|
|
|
'CreditCard.jsm',
|
2018-12-22 00:51:57 +03:00
|
|
|
'DateTimePickerPanel.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'DeferredTask.jsm',
|
|
|
|
'Deprecated.jsm',
|
2017-12-12 15:35:16 +03:00
|
|
|
'E10SUtils.jsm',
|
2017-04-25 19:54:35 +03:00
|
|
|
'EventEmitter.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'FileUtils.jsm',
|
2018-07-30 07:38:21 +03:00
|
|
|
'FindBarContent.jsm',
|
2013-09-13 18:41:23 +04:00
|
|
|
'Finder.jsm',
|
2016-06-09 14:30:48 +03:00
|
|
|
'FinderHighlighter.jsm',
|
2016-07-28 13:34:13 +03:00
|
|
|
'FinderIterator.jsm',
|
2018-07-30 22:25:58 +03:00
|
|
|
'FinderParent.jsm',
|
2019-08-31 19:14:20 +03:00
|
|
|
'FirstStartup.jsm',
|
2016-10-18 23:31:09 +03:00
|
|
|
'FormLikeFactory.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'Geometry.jsm',
|
2017-06-13 23:29:28 +03:00
|
|
|
'GMPExtractorWorker.js',
|
2015-04-07 11:09:49 +03:00
|
|
|
'GMPInstallManager.jsm',
|
|
|
|
'GMPUtils.jsm',
|
2019-08-08 00:33:49 +03:00
|
|
|
'HiddenFrame.jsm',
|
2013-06-20 16:38:32 +04:00
|
|
|
'Http.jsm',
|
2019-08-06 00:52:36 +03:00
|
|
|
'IgnoreLists.jsm',
|
2017-02-26 09:48:22 +03:00
|
|
|
'IndexedDB.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'InlineSpellChecker.jsm',
|
2014-10-03 18:52:37 +04:00
|
|
|
'InlineSpellCheckerContent.jsm',
|
2016-04-18 16:21:01 +03:00
|
|
|
'Integration.jsm',
|
2016-09-21 12:29:48 +03:00
|
|
|
'JSONFile.jsm',
|
2013-08-26 22:55:58 +04:00
|
|
|
'Log.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'NewTabUtils.jsm',
|
2016-08-25 21:11:44 +03:00
|
|
|
'NLP.jsm',
|
2015-04-02 22:33:46 +03:00
|
|
|
'ObjectUtils.jsm',
|
2018-04-12 20:16:02 +03:00
|
|
|
'offlineAppCache.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'PageMenu.jsm',
|
2014-09-26 09:54:34 +04:00
|
|
|
'PermissionsUtils.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'PopupNotifications.jsm',
|
|
|
|
'Preferences.jsm',
|
|
|
|
'PrivateBrowsingUtils.jsm',
|
2015-03-07 19:53:36 +03:00
|
|
|
'ProfileAge.jsm',
|
2014-03-05 22:39:19 +04:00
|
|
|
'Promise-backend.js',
|
2013-06-17 23:22:56 +04:00
|
|
|
'Promise.jsm',
|
2015-07-30 18:56:12 +03:00
|
|
|
'PromiseMessage.jsm',
|
2014-10-30 15:21:00 +03:00
|
|
|
'PromiseUtils.jsm',
|
2020-01-07 03:04:57 +03:00
|
|
|
'RemoteController.jsm',
|
2013-07-10 06:45:07 +04:00
|
|
|
'RemoteSecurityUI.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'RemoteWebProgress.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'ResetProfile.jsm',
|
2017-02-18 02:01:50 +03:00
|
|
|
'ResponsivenessMonitor.jsm',
|
2016-12-23 02:56:37 +03:00
|
|
|
'ServiceRequest.jsm',
|
2015-04-14 01:37:20 +03:00
|
|
|
'Services.jsm',
|
2013-10-21 00:50:37 +04:00
|
|
|
'ShortcutUtils.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'Sqlite.jsm',
|
|
|
|
'Timer.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'Troubleshoot.jsm',
|
2015-09-14 21:04:19 +03:00
|
|
|
'UpdateUtils.jsm',
|
2014-08-01 09:42:00 +04:00
|
|
|
'WebChannel.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
]
|
2017-05-04 18:49:42 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'PropertyListUtils.jsm',
|
|
|
|
]
|
|
|
|
|
2016-02-24 17:40:55 +03:00
|
|
|
EXTRA_JS_MODULES.third_party.jsesc += ['third_party/jsesc/jsesc.js']
|
2017-02-01 01:05:31 +03:00
|
|
|
EXTRA_JS_MODULES.sessionstore += [
|
2018-04-25 23:33:50 +03:00
|
|
|
'sessionstore/PrivacyFilter.jsm',
|
2017-02-01 01:05:31 +03:00
|
|
|
'sessionstore/PrivacyLevel.jsm',
|
2017-02-18 22:54:09 +03:00
|
|
|
'sessionstore/SessionHistory.jsm',
|
2017-02-01 01:05:31 +03:00
|
|
|
'sessionstore/Utils.jsm',
|
|
|
|
]
|
2013-06-17 23:22:56 +04:00
|
|
|
|
2019-08-21 15:25:42 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk'):
|
2016-01-23 22:55:27 +03:00
|
|
|
DEFINES['MENUBAR_CAN_AUTOHIDE'] = 1
|
|
|
|
|
2019-08-21 15:25:42 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk', 'cocoa'):
|
2016-08-14 04:58:42 +03:00
|
|
|
DEFINES['HAVE_SHELL_SERVICE'] = 1
|
|
|
|
|
2013-08-02 11:03:25 +04:00
|
|
|
EXTRA_PP_JS_MODULES += [
|
2015-04-07 11:09:49 +03:00
|
|
|
'AppConstants.jsm',
|
2013-08-02 11:03:25 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
if 'Android' != CONFIG['OS_TARGET']:
|
2015-04-07 11:09:49 +03:00
|
|
|
EXTRA_JS_MODULES += [
|
2013-08-02 11:03:25 +04:00
|
|
|
'LightweightThemeConsumer.jsm',
|
|
|
|
]
|
2016-05-30 03:15:47 +03:00
|
|
|
|
|
|
|
DIRS += [
|
|
|
|
'subprocess',
|
|
|
|
]
|
2014-09-12 20:42:28 +04:00
|
|
|
else:
|
|
|
|
DEFINES['ANDROID'] = True
|
2018-06-07 00:15:21 +03:00
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'secondscreen/RokuApp.jsm',
|
|
|
|
'secondscreen/SimpleServiceDiscovery.jsm',
|
|
|
|
]
|
2013-08-02 11:03:25 +04:00
|
|
|
|
2014-03-21 04:23:36 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'WindowsRegistry.jsm',
|
|
|
|
]
|
|
|
|
|
2015-03-05 19:18:20 +03:00
|
|
|
for var in ('ANDROID_PACKAGE_NAME',
|
|
|
|
'MOZ_APP_NAME',
|
2015-04-07 11:09:49 +03:00
|
|
|
'MOZ_APP_VERSION',
|
2015-07-12 04:37:54 +03:00
|
|
|
'MOZ_APP_VERSION_DISPLAY',
|
2017-07-27 03:20:37 +03:00
|
|
|
'MOZ_BING_API_CLIENTID',
|
|
|
|
'MOZ_BING_API_KEY',
|
2019-03-10 18:29:41 +03:00
|
|
|
'MOZ_GOOGLE_LOCATION_SERVICE_API_KEY',
|
|
|
|
'MOZ_GOOGLE_SAFEBROWSING_API_KEY',
|
2016-01-05 02:59:44 +03:00
|
|
|
'MOZ_MACBUNDLE_NAME',
|
2017-07-27 03:20:37 +03:00
|
|
|
'MOZ_MOZILLA_API_KEY',
|
2015-05-21 19:42:07 +03:00
|
|
|
'MOZ_WIDGET_TOOLKIT',
|
|
|
|
'DLL_PREFIX',
|
2015-08-06 10:27:39 +03:00
|
|
|
'DLL_SUFFIX',
|
2019-04-20 08:09:31 +03:00
|
|
|
'DEBUG_JS_MODULES',
|
|
|
|
'OMNIJAR_NAME'):
|
2015-03-05 19:18:20 +03:00
|
|
|
DEFINES[var] = CONFIG[var]
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2020-02-05 02:27:10 +03:00
|
|
|
for var in ('MOZ_ALLOW_ADDON_SIDELOAD',
|
|
|
|
'MOZ_SYSTEM_NSS',
|
2018-05-28 10:15:13 +03:00
|
|
|
'MOZ_UNSIGNED_APP_SCOPE',
|
|
|
|
'MOZ_UNSIGNED_SYSTEM_SCOPE',
|
2019-10-04 23:55:11 +03:00
|
|
|
'MOZ_UPDATER'):
|
2015-03-05 19:18:20 +03:00
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = True
|
2016-02-10 07:38:31 +03:00
|
|
|
|
2017-07-12 10:53:59 +03:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
|
|
|
|
2016-02-10 07:38:31 +03:00
|
|
|
DEFINES['TOPOBJDIR'] = TOPOBJDIR
|