gecko-dev/toolkit/components/moz.build
Axel Hecht 5432d3ed03 Bug 1274580 - Don't build narrate on Android. r=eeejay, r=margaret
The narrate module in toolkit might be used on Android
at some point, but currently isn't, and the tests also
depend on /browser/.

MozReview-Commit-ID: 3uLNtHE2KWF

--HG--
extra : transplant_source : %8A%F4Ib%F1J%09%D0%95%0D%91f%D3%A3O%17%98%11%08%A1
2016-05-23 16:27:45 +02:00

111 lines
2.3 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']:
DIRS += ['remote']
DIRS += [
'aboutcache',
'aboutcheckerboard',
'aboutmemory',
'aboutperformance',
'addoncompat',
'alerts',
'apppicker',
'asyncshutdown',
'commandlines',
'console',
'contentprefs',
'cookie',
'crashmonitor',
'diskspacewatcher',
'downloads',
'extensions',
'exthelper',
'filepicker',
'filewatcher',
'finalizationwitness',
'formautofill',
'find',
'gfx',
'jsdownloads',
'lz4',
'mediasniffer',
'microformats',
'osfile',
'parentalcontrols',
'passwordmgr',
'perf',
'perfmonitoring',
'places',
'privatebrowsing',
'processsingleton',
'promiseworker',
'prompts',
'protobuf',
'reader',
'remotebrowserutils',
'reflect',
'securityreporter',
'sqlite',
'startup',
'statusfilter',
'telemetry',
'thumbnails',
'timermanager',
'tooltiptext',
'typeaheadfind',
'utils',
'urlformatter',
'viewconfig',
'workerloader',
'xulstore'
]
if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
DIRS += ['narrate', 'viewsource'];
if CONFIG['NS_PRINTING']:
DIRS += ['printing']
if CONFIG['MOZ_CRASHREPORTER']:
DIRS += ['crashes']
if CONFIG['MOZ_SOCIAL']:
DIRS += ['social']
if CONFIG['BUILD_CTYPES']:
DIRS += ['ctypes']
if CONFIG['MOZ_FEEDS']:
DIRS += ['feeds']
if CONFIG['MOZ_HELP_VIEWER']:
DIRS += ['help']
if CONFIG['MOZ_XUL']:
DIRS += ['autocomplete', 'satchel']
if CONFIG['MOZ_TOOLKIT_SEARCH']:
DIRS += ['search']
if CONFIG['MOZ_URL_CLASSIFIER']:
DIRS += ['url-classifier']
DIRS += ['captivedetect']
if CONFIG['MOZ_WIDGET_TOOLKIT'] != "gonk" and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
DIRS += ['terminator']
DIRS += ['build']
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
EXTRA_COMPONENTS += [
'nsDefaultCLH.js',
'nsDefaultCLH.manifest',
]