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
|
|
|
|
2016-02-03 15:58:03 +03:00
|
|
|
TESTING_JS_MODULES += [
|
|
|
|
'tests/PromiseTestUtils.jsm',
|
|
|
|
]
|
|
|
|
|
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',
|
2016-02-08 20:30:48 +03:00
|
|
|
'addons/WebNavigationFrames.jsm',
|
2015-04-18 08:01:55 +03:00
|
|
|
'addons/WebRequest.jsm',
|
|
|
|
'addons/WebRequestCommon.jsm',
|
|
|
|
'addons/WebRequestContent.js',
|
2016-03-13 16:10:16 +03:00
|
|
|
'AsyncPrefs.jsm',
|
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',
|
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',
|
2015-04-03 08:53:00 +03:00
|
|
|
'ClientID.jsm',
|
2015-10-15 13:45:22 +03:00
|
|
|
'Console.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',
|
2015-06-04 01:34:44 +03:00
|
|
|
'Locale.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',
|
2015-07-30 18:56:12 +03:00
|
|
|
'PromiseMessage.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-06-17 23:22:56 +04:00
|
|
|
'RemoteWebProgress.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'ResetProfile.jsm',
|
2016-02-07 05:15:22 +03:00
|
|
|
'secondscreen/PresentationApp.jsm',
|
2015-04-07 11:09:49 +03:00
|
|
|
'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',
|
2015-04-17 08:08:39 +03:00
|
|
|
'SessionRecorder.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',
|
|
|
|
'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',
|
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
|
|
|
]
|
2016-02-24 17:40:55 +03:00
|
|
|
EXTRA_JS_MODULES.third_party.jsesc += ['third_party/jsesc/jsesc.js']
|
2013-06-17 23:22:56 +04:00
|
|
|
|
2016-01-23 22:55:27 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'cocoa'):
|
|
|
|
DEFINES['CAN_DRAW_IN_TITLEBAR'] = 1
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'gtk3'):
|
|
|
|
DEFINES['MENUBAR_CAN_AUTOHIDE'] = 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',
|
|
|
|
]
|
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',
|
2016-01-05 02:59:44 +03:00
|
|
|
'MOZ_MACBUNDLE_NAME',
|
2015-05-21 19:42:07 +03:00
|
|
|
'MOZ_WIDGET_TOOLKIT',
|
|
|
|
'DLL_PREFIX',
|
2015-08-06 10:27:39 +03:00
|
|
|
'DLL_SUFFIX',
|
2016-02-10 07:38:31 +03:00
|
|
|
'DEBUG_JS_MODULES'):
|
2015-03-05 19:18:20 +03:00
|
|
|
DEFINES[var] = CONFIG[var]
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2015-10-03 01:18:04 +03:00
|
|
|
for var in ('MOZ_TOOLKIT_SEARCH',
|
2016-01-22 23:48:20 +03:00
|
|
|
'MOZ_REQUIRE_SIGNING',
|
2016-02-01 18:49:34 +03:00
|
|
|
'MOZ_SYSTEM_NSS',
|
2015-04-07 11:09:49 +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
|
|
|
|
|
|
|
DEFINES['TOPOBJDIR'] = TOPOBJDIR
|