2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:19:09 -08: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/.
|
|
|
|
|
2014-02-06 13:00:20 -08:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
|
2013-06-17 12:22:56 -07:00
|
|
|
|
2014-05-12 10:01:00 -07:00
|
|
|
SPHINX_TREES['toolkit_modules'] = 'docs'
|
|
|
|
|
2013-06-17 12:22:56 -07:00
|
|
|
EXTRA_JS_MODULES += [
|
2015-06-03 12:43:44 -07:00
|
|
|
'addons/MatchPattern.jsm',
|
2015-06-03 14:53:12 -07:00
|
|
|
'addons/WebNavigation.jsm',
|
|
|
|
'addons/WebNavigationContent.js',
|
2015-04-17 22:01:55 -07:00
|
|
|
'addons/WebRequest.jsm',
|
|
|
|
'addons/WebRequestCommon.jsm',
|
|
|
|
'addons/WebRequestContent.js',
|
2014-06-30 20:50:00 -07:00
|
|
|
'Battery.jsm',
|
2014-03-28 23:31:05 -07:00
|
|
|
'BinarySearch.jsm',
|
2014-02-08 17:40:27 -08:00
|
|
|
'BrowserUtils.jsm',
|
2015-04-07 01:09:49 -07:00
|
|
|
'CertUtils.jsm',
|
2014-01-06 00:44:19 -08:00
|
|
|
'CharsetMenu.jsm',
|
2015-04-02 22:53:00 -07:00
|
|
|
'ClientID.jsm',
|
2015-10-15 03:45:22 -07:00
|
|
|
'Console.jsm',
|
2013-10-23 16:05:43 -07:00
|
|
|
'debug.js',
|
2013-06-17 12:22:56 -07:00
|
|
|
'DeferredTask.jsm',
|
|
|
|
'Deprecated.jsm',
|
|
|
|
'FileUtils.jsm',
|
2013-09-13 07:41:23 -07:00
|
|
|
'Finder.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'Geometry.jsm',
|
2015-04-07 01:09:49 -07:00
|
|
|
'GMPInstallManager.jsm',
|
|
|
|
'GMPUtils.jsm',
|
2013-06-20 05:38:32 -07:00
|
|
|
'Http.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'InlineSpellChecker.jsm',
|
2014-10-03 07:52:37 -07:00
|
|
|
'InlineSpellCheckerContent.jsm',
|
2013-09-20 02:11:25 -07:00
|
|
|
'LoadContextInfo.jsm',
|
2015-06-03 15:34:44 -07:00
|
|
|
'Locale.jsm',
|
2013-08-26 11:55:58 -07:00
|
|
|
'Log.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'NewTabUtils.jsm',
|
2015-04-02 12:33:46 -07:00
|
|
|
'ObjectUtils.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'PageMenu.jsm',
|
2015-03-05 14:43:05 -08:00
|
|
|
'PageMetadata.jsm',
|
2014-09-25 22:54:34 -07:00
|
|
|
'PermissionsUtils.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'PopupNotifications.jsm',
|
|
|
|
'Preferences.jsm',
|
|
|
|
'PrivateBrowsingUtils.jsm',
|
2015-03-07 08:53:36 -08:00
|
|
|
'ProfileAge.jsm',
|
2014-03-05 10:39:19 -08:00
|
|
|
'Promise-backend.js',
|
2013-06-17 12:22:56 -07:00
|
|
|
'Promise.jsm',
|
2015-07-30 08:56:12 -07:00
|
|
|
'PromiseMessage.jsm',
|
2014-10-30 05:21:00 -07:00
|
|
|
'PromiseUtils.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'PropertyListUtils.jsm',
|
2013-08-21 10:24:53 -07:00
|
|
|
'RemoteController.jsm',
|
2013-09-13 16:27:19 -07:00
|
|
|
'RemoteFinder.jsm',
|
2015-03-10 09:19:17 -07:00
|
|
|
'RemotePageManager.jsm',
|
2013-07-09 19:45:07 -07:00
|
|
|
'RemoteSecurityUI.jsm',
|
2013-08-06 09:35:39 -07:00
|
|
|
'RemoteWebNavigation.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'RemoteWebProgress.jsm',
|
2015-04-07 01:09:49 -07:00
|
|
|
'ResetProfile.jsm',
|
|
|
|
'secondscreen/RokuApp.jsm',
|
2014-09-19 16:55:18 -07:00
|
|
|
'secondscreen/SimpleServiceDiscovery.jsm',
|
2013-08-25 18:34:23 -07:00
|
|
|
'SelectContentHelper.jsm',
|
|
|
|
'SelectParentHelper.jsm',
|
2015-04-13 15:37:20 -07:00
|
|
|
'Services.jsm',
|
2014-02-19 08:28:00 -08:00
|
|
|
'sessionstore/FormData.jsm',
|
|
|
|
'sessionstore/ScrollPosition.jsm',
|
|
|
|
'sessionstore/XPathGenerator.jsm',
|
2013-10-20 13:50:37 -07:00
|
|
|
'ShortcutUtils.jsm',
|
2013-06-22 07:22:05 -07:00
|
|
|
'Sntp.jsm',
|
2013-10-12 10:59:50 -07:00
|
|
|
'SpatialNavigation.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'Sqlite.jsm',
|
|
|
|
'Task.jsm',
|
|
|
|
'Timer.jsm',
|
2015-04-07 01:09:49 -07:00
|
|
|
'Troubleshoot.jsm',
|
2015-09-14 11:04:19 -07:00
|
|
|
'UpdateUtils.jsm',
|
2014-07-31 22:42:00 -07:00
|
|
|
'WebChannel.jsm',
|
2015-04-07 01:09:49 -07:00
|
|
|
'WindowDraggingUtils.jsm',
|
2014-03-11 14:01:29 -07:00
|
|
|
'ZipUtils.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
]
|
|
|
|
|
2013-08-02 00:03:25 -07:00
|
|
|
EXTRA_PP_JS_MODULES += [
|
2015-04-07 01:09:49 -07:00
|
|
|
'AppConstants.jsm',
|
2015-03-26 08:30:00 -07:00
|
|
|
'SessionRecorder.jsm',
|
2013-08-02 00:03:25 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
if 'Android' != CONFIG['OS_TARGET']:
|
2015-04-07 01:09:49 -07:00
|
|
|
EXTRA_JS_MODULES += [
|
2013-08-02 00:03:25 -07:00
|
|
|
'LightweightThemeConsumer.jsm',
|
|
|
|
]
|
2014-09-12 09:42:28 -07:00
|
|
|
else:
|
|
|
|
DEFINES['ANDROID'] = True
|
2013-08-02 00:03:25 -07:00
|
|
|
|
2014-03-20 17:23:36 -07:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'WindowsRegistry.jsm',
|
|
|
|
]
|
|
|
|
|
2015-03-05 08:18:20 -08:00
|
|
|
for var in ('ANDROID_PACKAGE_NAME',
|
|
|
|
'MOZ_APP_NAME',
|
2015-04-07 01:09:49 -07:00
|
|
|
'MOZ_APP_VERSION',
|
2015-07-11 18:37:54 -07:00
|
|
|
'MOZ_APP_VERSION_DISPLAY',
|
2015-05-21 09:42:07 -07:00
|
|
|
'MOZ_WIDGET_TOOLKIT',
|
|
|
|
'DLL_PREFIX',
|
2015-08-06 00:27:39 -07:00
|
|
|
'DLL_SUFFIX',
|
2015-10-01 01:18:10 -07:00
|
|
|
'DEBUG_JS_MODULES',
|
|
|
|
'SOURCE_REV_URL'):
|
2015-03-05 08:18:20 -08:00
|
|
|
DEFINES[var] = CONFIG[var]
|
2013-11-27 05:55:07 -08:00
|
|
|
|
2015-10-02 15:18:04 -07:00
|
|
|
for var in ('MOZ_TOOLKIT_SEARCH',
|
2015-04-07 01:09:49 -07:00
|
|
|
'MOZ_UPDATER'):
|
2015-03-05 08:18:20 -08:00
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = True
|