2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
|
2014-02-07 01:00:20 +04: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 23:22:56 +04:00
|
|
|
|
2014-05-12 21:01:00 +04:00
|
|
|
SPHINX_TREES['toolkit_modules'] = 'docs'
|
|
|
|
|
2013-06-17 23:22:56 +04:00
|
|
|
EXTRA_JS_MODULES += [
|
2015-06-03 22:43:44 +03:00
|
|
|
'addons/MatchPattern.jsm',
|
2015-06-04 00:53:12 +03:00
|
|
|
'addons/WebNavigation.jsm',
|
|
|
|
'addons/WebNavigationContent.js',
|
2015-04-18 08:01:55 +03:00
|
|
|
'addons/WebRequest.jsm',
|
|
|
|
'addons/WebRequestCommon.jsm',
|
|
|
|
'addons/WebRequestContent.js',
|
2014-07-01 07:50:00 +04:00
|
|
|
'Battery.jsm',
|
2014-03-29 10:31:05 +04:00
|
|
|
'BinarySearch.jsm',
|
2014-02-09 05:40:27 +04:00
|
|
|
'BrowserUtils.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'CertUtils.jsm',
|
2014-01-06 12:44:19 +04:00
|
|
|
'CharsetMenu.jsm',
|
2015-04-03 08:53:00 +03:00
|
|
|
'ClientID.jsm',
|
2013-10-24 03:05:43 +04:00
|
|
|
'debug.js',
|
2013-06-17 23:22:56 +04:00
|
|
|
'DeferredTask.jsm',
|
|
|
|
'Deprecated.jsm',
|
|
|
|
'FileUtils.jsm',
|
2013-09-13 18:41:23 +04:00
|
|
|
'Finder.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'Geometry.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'GMPInstallManager.jsm',
|
|
|
|
'GMPUtils.jsm',
|
2013-06-20 16:38:32 +04:00
|
|
|
'Http.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'InlineSpellChecker.jsm',
|
2014-10-03 18:52:37 +04:00
|
|
|
'InlineSpellCheckerContent.jsm',
|
2013-09-20 13:11:25 +04:00
|
|
|
'LoadContextInfo.jsm',
|
2013-08-26 22:55:58 +04:00
|
|
|
'Log.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'NewTabUtils.jsm',
|
2015-04-02 22:33:46 +03:00
|
|
|
'ObjectUtils.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'PageMenu.jsm',
|
2015-03-06 01:43:05 +03:00
|
|
|
'PageMetadata.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',
|
2014-10-30 15:21:00 +03:00
|
|
|
'PromiseUtils.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'PropertyListUtils.jsm',
|
2013-08-21 21:24:53 +04:00
|
|
|
'RemoteController.jsm',
|
2013-09-14 03:27:19 +04:00
|
|
|
'RemoteFinder.jsm',
|
2015-03-10 19:19:17 +03:00
|
|
|
'RemotePageManager.jsm',
|
2013-07-10 06:45:07 +04:00
|
|
|
'RemoteSecurityUI.jsm',
|
2013-08-06 20:35:39 +04:00
|
|
|
'RemoteWebNavigation.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'RemoteWebProgress.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'ResetProfile.jsm',
|
|
|
|
'secondscreen/RokuApp.jsm',
|
2014-09-20 03:55:18 +04:00
|
|
|
'secondscreen/SimpleServiceDiscovery.jsm',
|
2013-08-26 05:34:23 +04:00
|
|
|
'SelectContentHelper.jsm',
|
|
|
|
'SelectParentHelper.jsm',
|
2015-04-14 01:37:20 +03:00
|
|
|
'Services.jsm',
|
2014-02-19 20:28:00 +04:00
|
|
|
'sessionstore/FormData.jsm',
|
|
|
|
'sessionstore/ScrollPosition.jsm',
|
|
|
|
'sessionstore/XPathGenerator.jsm',
|
2013-10-21 00:50:37 +04:00
|
|
|
'ShortcutUtils.jsm',
|
2013-06-22 18:22:05 +04:00
|
|
|
'Sntp.jsm',
|
2013-10-12 21:59:50 +04:00
|
|
|
'SpatialNavigation.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
'Sqlite.jsm',
|
|
|
|
'Task.jsm',
|
|
|
|
'TelemetryTimestamps.jsm',
|
|
|
|
'Timer.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'Troubleshoot.jsm',
|
2015-04-14 01:37:20 +03:00
|
|
|
'UpdateChannel.jsm',
|
2014-08-01 09:42:00 +04:00
|
|
|
'WebChannel.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'WindowDraggingUtils.jsm',
|
2014-03-12 01:01:29 +04:00
|
|
|
'ZipUtils.jsm',
|
2013-06-17 23:22:56 +04:00
|
|
|
]
|
|
|
|
|
2013-08-02 11:03:25 +04:00
|
|
|
EXTRA_PP_JS_MODULES += [
|
2015-04-07 11:09:49 +03:00
|
|
|
'AppConstants.jsm',
|
2015-03-26 18:30:00 +03:00
|
|
|
'SessionRecorder.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',
|
|
|
|
]
|
2014-09-12 20:42:28 +04:00
|
|
|
else:
|
|
|
|
DEFINES['ANDROID'] = True
|
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',
|
2015-05-21 19:42:07 +03:00
|
|
|
'MOZ_WIDGET_TOOLKIT',
|
|
|
|
'DLL_PREFIX',
|
|
|
|
'DLL_SUFFIX'):
|
2015-03-05 19:18:20 +03:00
|
|
|
DEFINES[var] = CONFIG[var]
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2015-03-05 19:18:20 +03:00
|
|
|
for var in ('MOZILLA_OFFICIAL',
|
2015-04-07 11:09:49 +03:00
|
|
|
'MOZ_TOOLKIT_SEARCH',
|
|
|
|
'MOZ_UPDATER'):
|
2015-03-05 19:18:20 +03:00
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = True
|