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/.
|
|
|
|
|
|
|
|
# These component dirs are built for all apps (including suite)
|
|
|
|
if CONFIG['MOZ_ENABLE_XREMOTE']:
|
2014-07-29 03:57:59 +04:00
|
|
|
DIRS += ['remote']
|
2013-02-26 01:19:09 +04:00
|
|
|
|
2014-07-29 03:57:59 +04:00
|
|
|
DIRS += [
|
2014-05-01 15:28:12 +04:00
|
|
|
'aboutcache',
|
2016-01-23 04:27:28 +03:00
|
|
|
'aboutcheckerboard',
|
2013-02-26 01:19:09 +04:00
|
|
|
'aboutmemory',
|
2016-01-28 15:41:14 +03:00
|
|
|
'aboutperformance',
|
2014-07-15 09:10:06 +04:00
|
|
|
'addoncompat',
|
2013-02-26 01:19:09 +04:00
|
|
|
'alerts',
|
|
|
|
'apppicker',
|
2014-09-11 17:01:00 +04:00
|
|
|
'asyncshutdown',
|
2017-01-10 21:34:38 +03:00
|
|
|
'browser',
|
2013-02-26 01:19:09 +04:00
|
|
|
'commandlines',
|
|
|
|
'contentprefs',
|
2016-07-11 21:03:00 +03:00
|
|
|
'contextualidentity',
|
2013-11-15 19:46:44 +04:00
|
|
|
'crashmonitor',
|
2013-05-10 02:57:31 +04:00
|
|
|
'diskspacewatcher',
|
2013-02-26 01:19:09 +04:00
|
|
|
'downloads',
|
2015-06-04 01:34:44 +03:00
|
|
|
'extensions',
|
2013-02-26 01:19:09 +04:00
|
|
|
'exthelper',
|
2014-09-02 14:34:00 +04:00
|
|
|
'filewatcher',
|
2013-10-12 22:17:43 +04:00
|
|
|
'finalizationwitness',
|
2014-06-07 00:06:15 +04:00
|
|
|
'formautofill',
|
2013-02-26 01:19:09 +04:00
|
|
|
'find',
|
2015-06-17 01:49:26 +03:00
|
|
|
'gfx',
|
2013-04-22 06:23:25 +04:00
|
|
|
'jsdownloads',
|
2015-10-28 14:35:05 +03:00
|
|
|
'lz4',
|
2013-02-26 01:19:09 +04:00
|
|
|
'mediasniffer',
|
|
|
|
'microformats',
|
2017-01-19 01:10:46 +03:00
|
|
|
'mozprotocol',
|
2013-02-26 01:19:09 +04:00
|
|
|
'osfile',
|
|
|
|
'parentalcontrols',
|
|
|
|
'passwordmgr',
|
|
|
|
'perf',
|
2016-01-28 15:41:14 +03:00
|
|
|
'perfmonitoring',
|
2013-02-26 01:19:09 +04:00
|
|
|
'places',
|
2015-07-28 19:17:18 +03:00
|
|
|
'privatebrowsing',
|
2014-10-07 22:46:25 +04:00
|
|
|
'processsingleton',
|
2014-06-28 14:03:00 +04:00
|
|
|
'promiseworker',
|
2013-02-26 01:19:09 +04:00
|
|
|
'prompts',
|
|
|
|
'protobuf',
|
2014-12-11 03:44:53 +03:00
|
|
|
'reader',
|
2016-01-13 00:44:08 +03:00
|
|
|
'remotebrowserutils',
|
2013-02-26 01:19:09 +04:00
|
|
|
'reflect',
|
2016-01-30 11:07:38 +03:00
|
|
|
'securityreporter',
|
2013-12-19 20:47:25 +04:00
|
|
|
'sqlite',
|
2013-02-26 01:19:09 +04:00
|
|
|
'startup',
|
|
|
|
'statusfilter',
|
|
|
|
'telemetry',
|
|
|
|
'thumbnails',
|
2015-04-15 03:00:02 +03:00
|
|
|
'timermanager',
|
2016-04-12 23:50:47 +03:00
|
|
|
'tooltiptext',
|
2013-02-26 01:19:09 +04:00
|
|
|
'typeaheadfind',
|
2015-07-08 23:19:12 +03:00
|
|
|
'utils',
|
2016-09-01 02:28:29 +03:00
|
|
|
'url-classifier',
|
2013-02-26 01:19:09 +04:00
|
|
|
'urlformatter',
|
|
|
|
'viewconfig',
|
2017-01-10 21:34:38 +03:00
|
|
|
'windowcreator',
|
|
|
|
'windowwatcher',
|
2013-06-10 19:01:59 +04:00
|
|
|
'workerloader',
|
2014-08-19 18:31:00 +04:00
|
|
|
'xulstore'
|
2013-02-26 01:19:09 +04:00
|
|
|
]
|
|
|
|
|
2016-09-03 22:10:51 +03:00
|
|
|
if CONFIG['ENABLE_INTL_API']:
|
|
|
|
DIRS += ['mozintl']
|
|
|
|
|
2015-06-08 10:08:29 +03:00
|
|
|
if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
|
2016-05-23 17:27:45 +03:00
|
|
|
DIRS += ['narrate', 'viewsource'];
|
2015-06-08 10:08:29 +03:00
|
|
|
|
|
|
|
if CONFIG['NS_PRINTING']:
|
|
|
|
DIRS += ['printing']
|
|
|
|
|
Bug 875562 - Part 2: Create CrashManager API for managing crash data; r=ted, Yoric
The tree doesn't have a robust and reusable API for interfacing with
crash data. This patch is the start of a new API.
In this patch, the CrashManager type is introduced. It has APIs for
retrieving the lists of files related to crash dumps. In subsequent
patches, I will convert existing code in the tree that does similar
things to the new API. I will also build the events/timeline API onto
this type.
I made CrashManager generic because I hate, hate, hate singletons and
global variables. Allowing it to be instantiated multiple times with
different options (instead of say binding a global instance to ProfD)
makes the testing story much, much nicer. That is reason enough, IMO. In
a subsequent patch, I'll add an XPCOM service that instantiates the
"global" instance of CrashManager with the appropriate options.
It was tempting to add this code into the existing CrashReports.jsm.
However, this file does not import cleanly in xpcshell tests and I
didn't want to bloat scope to include fixing that file... yet.
CrashReports.jsm is using synchronous I/O. So, depending on how
adventerous I feel, I may replace consumers of CrashReports.jsm with the
new CrashManager.jsm, remove CrashReports.jsm, and eliminate another
source of synchronous I/O in the tree.
--HG--
extra : rebase_source : 379fa6a78b53bc0dea0c7c64e8b1bdcf85b61a7c
2013-11-20 02:08:25 +04:00
|
|
|
if CONFIG['MOZ_CRASHREPORTER']:
|
2014-07-29 03:57:59 +04:00
|
|
|
DIRS += ['crashes']
|
Bug 875562 - Part 2: Create CrashManager API for managing crash data; r=ted, Yoric
The tree doesn't have a robust and reusable API for interfacing with
crash data. This patch is the start of a new API.
In this patch, the CrashManager type is introduced. It has APIs for
retrieving the lists of files related to crash dumps. In subsequent
patches, I will convert existing code in the tree that does similar
things to the new API. I will also build the events/timeline API onto
this type.
I made CrashManager generic because I hate, hate, hate singletons and
global variables. Allowing it to be instantiated multiple times with
different options (instead of say binding a global instance to ProfD)
makes the testing story much, much nicer. That is reason enough, IMO. In
a subsequent patch, I'll add an XPCOM service that instantiates the
"global" instance of CrashManager with the appropriate options.
It was tempting to add this code into the existing CrashReports.jsm.
However, this file does not import cleanly in xpcshell tests and I
didn't want to bloat scope to include fixing that file... yet.
CrashReports.jsm is using synchronous I/O. So, depending on how
adventerous I feel, I may replace consumers of CrashReports.jsm with the
new CrashManager.jsm, remove CrashReports.jsm, and eliminate another
source of synchronous I/O in the tree.
--HG--
extra : rebase_source : 379fa6a78b53bc0dea0c7c64e8b1bdcf85b61a7c
2013-11-20 02:08:25 +04:00
|
|
|
|
2013-02-26 01:19:09 +04:00
|
|
|
if CONFIG['BUILD_CTYPES']:
|
2014-07-29 03:57:59 +04:00
|
|
|
DIRS += ['ctypes']
|
2013-02-26 01:19:09 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_FEEDS']:
|
2014-07-29 03:57:59 +04:00
|
|
|
DIRS += ['feeds']
|
2013-02-26 01:19:09 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_XUL']:
|
2017-01-10 21:34:38 +03:00
|
|
|
DIRS += ['autocomplete', 'printingui', 'satchel']
|
2013-02-26 01:19:09 +04:00
|
|
|
|
2016-09-26 19:34:06 +03:00
|
|
|
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
|
|
|
DIRS += ['filepicker']
|
|
|
|
|
2013-02-26 01:19:09 +04:00
|
|
|
if CONFIG['MOZ_TOOLKIT_SEARCH']:
|
2014-07-29 03:57:59 +04:00
|
|
|
DIRS += ['search']
|
2013-02-26 01:19:09 +04:00
|
|
|
|
2015-07-03 18:14:51 +03:00
|
|
|
DIRS += ['captivedetect']
|
2013-02-26 01:19:09 +04:00
|
|
|
|
2016-07-11 16:16:56 +03:00
|
|
|
if CONFIG['OS_TARGET'] != 'Android':
|
2014-11-10 15:58:14 +03:00
|
|
|
DIRS += ['terminator']
|
|
|
|
|
2013-02-26 01:19:09 +04:00
|
|
|
DIRS += ['build']
|
2013-06-10 19:19:28 +04:00
|
|
|
|
2015-09-26 00:50:56 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsDefaultCLH.js',
|
|
|
|
'nsDefaultCLH.manifest',
|
|
|
|
]
|