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/.
|
|
|
|
|
|
|
|
# These component dirs are built for all apps (including suite)
|
|
|
|
if CONFIG['MOZ_ENABLE_XREMOTE']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['remote']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += [
|
2014-05-01 04:28:12 -07:00
|
|
|
'aboutcache',
|
2013-02-25 13:19:09 -08:00
|
|
|
'aboutmemory',
|
2014-07-14 22:10:06 -07:00
|
|
|
'addoncompat',
|
2013-02-25 13:19:09 -08:00
|
|
|
'alerts',
|
|
|
|
'apppicker',
|
|
|
|
'commandlines',
|
|
|
|
'console',
|
|
|
|
'contentprefs',
|
|
|
|
'cookie',
|
2013-11-15 07:46:44 -08:00
|
|
|
'crashmonitor',
|
2013-05-09 15:57:31 -07:00
|
|
|
'diskspacewatcher',
|
2013-02-25 13:19:09 -08:00
|
|
|
'downloads',
|
|
|
|
'exthelper',
|
|
|
|
'filepicker',
|
2013-10-12 11:17:43 -07:00
|
|
|
'finalizationwitness',
|
2014-06-06 13:06:15 -07:00
|
|
|
'formautofill',
|
2013-02-25 13:19:09 -08:00
|
|
|
'find',
|
2013-04-21 19:23:25 -07:00
|
|
|
'jsdownloads',
|
2013-02-25 13:19:09 -08:00
|
|
|
'mediasniffer',
|
|
|
|
'microformats',
|
|
|
|
'osfile',
|
|
|
|
'parentalcontrols',
|
|
|
|
'passwordmgr',
|
|
|
|
'perf',
|
|
|
|
'places',
|
2014-06-28 03:03:00 -07:00
|
|
|
'promiseworker',
|
2013-02-25 13:19:09 -08:00
|
|
|
'prompts',
|
|
|
|
'protobuf',
|
|
|
|
'reflect',
|
2013-12-19 08:47:25 -08:00
|
|
|
'sqlite',
|
2013-02-25 13:19:09 -08:00
|
|
|
'startup',
|
|
|
|
'statusfilter',
|
|
|
|
'telemetry',
|
|
|
|
'thumbnails',
|
|
|
|
'typeaheadfind',
|
|
|
|
'urlformatter',
|
|
|
|
'viewconfig',
|
|
|
|
'viewsource',
|
2013-06-10 08:01:59 -07:00
|
|
|
'workerloader',
|
2014-01-09 08:10:04 -08:00
|
|
|
'workerlz4',
|
2014-08-19 07:31:00 -07:00
|
|
|
'xulstore'
|
2013-02-25 13:19:09 -08:00
|
|
|
]
|
|
|
|
|
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-19 14:08:25 -08:00
|
|
|
if CONFIG['MOZ_CRASHREPORTER']:
|
2014-07-28 16:57:59 -07: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-19 14:08:25 -08:00
|
|
|
|
2013-05-11 10:54:31 -07:00
|
|
|
if CONFIG['MOZ_SOCIAL']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['social']
|
2013-05-11 10:54:31 -07:00
|
|
|
|
2013-02-25 13:19:09 -08:00
|
|
|
if CONFIG['BUILD_CTYPES']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['ctypes']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_FEEDS']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['feeds']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_HELP_VIEWER']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['help']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
if CONFIG['NS_PRINTING']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['printing']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_XUL']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['autocomplete', 'satchel']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_TOOLKIT_SEARCH']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['search']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_URL_CLASSIFIER']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['url-classifier']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_CAPTIVEDETECT']:
|
2014-07-28 16:57:59 -07:00
|
|
|
DIRS += ['captivedetect']
|
2013-02-25 13:19:09 -08:00
|
|
|
|
|
|
|
DIRS += ['build']
|
2013-06-10 08:19:28 -07:00
|
|
|
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsDefaultCLH.js',
|
|
|
|
'nsDefaultCLH.manifest',
|
|
|
|
]
|