Source code

Revision control

Other Tools

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/.
6
7
with Files("**"):
8
BUG_COMPONENT = ("Firefox", "General")
9
10
with Files("distribution.js"):
11
BUG_COMPONENT = ("Firefox", "Distributions")
12
13
with Files("tests/**"):
14
BUG_COMPONENT = ("Firefox", "General")
15
16
with Files("tests/browser/browser_contentpermissionprompt.js"):
17
BUG_COMPONENT = ("Firefox", "Site Permissions")
18
19
with Files("tests/unit/test_distribution.js"):
20
BUG_COMPONENT = ("Firefox", "Distributions")
21
22
with Files("safebrowsing/**"):
23
BUG_COMPONENT = ("Toolkit", "Safe Browsing")
24
25
with Files('controlcenter/**'):
26
BUG_COMPONENT = ('Firefox', 'General')
27
28
29
DIRS += [
30
'about',
31
'aboutconfig',
32
'aboutlogins',
33
'attribution',
34
'contextualidentity',
35
'customizableui',
36
'dirprovider',
37
'downloads',
38
'enterprisepolicies',
39
'extensions',
40
'fxmonitor',
41
'library',
42
'migration',
43
'newtab',
44
'originattributes',
45
'places',
46
'pocket',
47
'preferences',
48
'privatebrowsing',
49
'protections',
50
'protocolhandler',
51
'resistfingerprinting',
52
'search',
53
'sessionstore',
54
'shell',
55
'syncedtabs',
56
'uitour',
57
'urlbar',
58
'translation',
59
'webshare',
60
]
61
62
DIRS += ['build']
63
64
if CONFIG['NIGHTLY_BUILD']:
65
DIRS += [
66
'payments',
67
]
68
69
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
70
DIRS += ['touchbar']
71
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
72
DIRS += ['installerprefs']
73
74
XPIDL_SOURCES += [
75
'nsIBrowserHandler.idl',
76
]
77
78
XPIDL_MODULE = 'browsercompsbase'
79
80
XPCOM_MANIFESTS += [
81
'components.conf',
82
]
83
84
EXTRA_COMPONENTS += [
85
'BrowserComponents.manifest',
86
'tests/startupRecorder.js',
87
'tests/testComponents.manifest',
88
]
89
90
EXTRA_JS_MODULES += [
91
'BrowserContentHandler.jsm',
92
'BrowserGlue.jsm',
93
'distribution.js',
94
]
95
96
BROWSER_CHROME_MANIFESTS += [
97
'safebrowsing/content/test/browser.ini',
98
'tests/browser/browser.ini',
99
]
100
101
if CONFIG['MOZ_UPDATER']:
102
BROWSER_CHROME_MANIFESTS += [
103
'tests/browser/whats_new_page/browser.ini',
104
]
105
106
XPCSHELL_TESTS_MANIFESTS += [
107
'tests/unit/xpcshell.ini'
108
]