gecko-dev/toolkit/components/moz.build

80 lines
1.7 KiB
Python

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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']:
PARALLEL_DIRS += ['remote']
PARALLEL_DIRS += [
'aboutmemory',
'alerts',
'apppicker',
'commandlines',
'console',
'contentprefs',
'cookie',
'diskspacewatcher',
'downloads',
'exthelper',
'filepicker',
'find',
'intl',
'jsdownloads',
'mediasniffer',
'microformats',
'osfile',
'parentalcontrols',
'passwordmgr',
'perf',
'places',
'prompts',
'protobuf',
'reflect',
'startup',
'statusfilter',
'telemetry',
'thumbnails',
'typeaheadfind',
'urlformatter',
'viewconfig',
'viewsource',
'workerloader',
]
if CONFIG['MOZ_SOCIAL']:
PARALLEL_DIRS += ['social']
if CONFIG['BUILD_CTYPES']:
PARALLEL_DIRS += ['ctypes']
if CONFIG['MOZ_FEEDS']:
PARALLEL_DIRS += ['feeds']
if CONFIG['MOZ_HELP_VIEWER']:
PARALLEL_DIRS += ['help']
if CONFIG['NS_PRINTING']:
PARALLEL_DIRS += ['printing']
if CONFIG['MOZ_XUL']:
PARALLEL_DIRS += ['autocomplete', 'satchel']
if CONFIG['MOZ_TOOLKIT_SEARCH']:
PARALLEL_DIRS += ['search']
if CONFIG['MOZ_URL_CLASSIFIER']:
PARALLEL_DIRS += ['url-classifier']
if CONFIG['MOZ_CAPTIVEDETECT']:
PARALLEL_DIRS += ['captivedetect']
DIRS += ['build']
EXTRA_COMPONENTS += [
'nsDefaultCLH.js',
'nsDefaultCLH.manifest',
]