Bug 1603309 - Make sure the Screenshots WebExtension is enabled during performance...
[gecko.git] / toolkit / moz.build
blob1b7ad052f51ea2c87c3afdc0bbcc80773aa7d471
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 SPHINX_TREES['/toolkit'] = 'docs'
9 EXTRA_COMPONENTS += [
10     'l10n-registry.manifest',
13 DIRS += [
14     'actors',
15     'components',
16     'content',
17     'crashreporter',
18     'forgetaboutsite',
19     'locales',
20     'modules',
21     'mozapps/downloads',
22     'mozapps/extensions',
23     'mozapps/preferences',
24     'pluginproblem',
25     'profile',
26     'recordreplay',
27     'themes',
30 if CONFIG['MOZ_UPDATER'] and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
31     DIRS += ['mozapps/update']
33 if CONFIG['MOZ_MAINTENANCE_SERVICE'] or CONFIG['MOZ_UPDATER']:
34     DIRS += [
35         'mozapps/update/common',
36     ]
38 if CONFIG['MOZ_MAINTENANCE_SERVICE']:
39     DIRS += [
40         'components/maintenanceservice'
41     ]
43 DIRS += ['xre']
45 if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
46     DIRS += ['mozapps/handling']
47 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
48     DIRS += ['system/unixproxy']
49 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
50     DIRS += ['system/osxproxy']
51 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
52     DIRS += ['system/windowsproxy',
53             'system/windowsDHCPClient']
54 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
55     DIRS += ['system/androidproxy']
57 TEST_HARNESS_FILES.testing.mochitest.browser.toolkit.crashreporter.test.browser += [
58     'crashreporter/test/browser/crashreport.sjs',
61 with Files('docs/**'):
62     BUG_COMPONENT = ('Toolkit', 'General')
64 with Files('moz.*'):
65     BUG_COMPONENT = ('Firefox Build System', 'General')
67 with Files('toolkit.mozbuild'):
68     BUG_COMPONENT = ('Firefox Build System', 'General')
70 with Files('library/**'):
71     BUG_COMPONENT = ('Firefox Build System', 'General')
73 with Files('mozapps/installer/windows/**'):
74     BUG_COMPONENT = ('Toolkit', 'NSIS Installer')
76 with Files('mozapps/preferences/**'):
77     BUG_COMPONENT = ('Toolkit', 'Preferences')
79 with Files('pluginproblem/**'):
80     BUG_COMPONENT = ('Core', 'Plug-ins')
82 with Files('l10n-registry.manifest'):
83     BUG_COMPONENT = ('Core', 'Localization')