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
CONFIGURE_SUBST_FILES += ['installer/Makefile']
8
9
SPHINX_TREES['/browser'] = 'docs'
10
11
with Files('docs/**'):
12
SCHEDULES.exclusive = ['docs']
13
14
EXTRA_COMPONENTS += [
15
'l10n-registry.manifest',
16
]
17
18
DIRS += [
19
'actors',
20
'base',
21
'components',
22
'fonts',
23
'fxr',
24
'locales',
25
'modules',
26
'themes',
27
'extensions',
28
]
29
30
DIRS += [
31
'app',
32
]
33
34
if CONFIG['MAKENSISU']:
35
DIRS += ['installer/windows']
36
37
TEST_DIRS += [
38
'tools/mozscreenshots',
39
]
40
41
DIST_SUBDIR = 'browser'
42
export('DIST_SUBDIR')
43
44
# These defines are read in firefox.js
45
DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
46
47
for cdm in CONFIG['MOZ_EME_MODULES']:
48
DEFINES['MOZ_%s_EME' % cdm.upper()] = True
49
50
if CONFIG['MOZ_GPSD']:
51
DEFINES['MOZ_GPSD'] = True
52
53
# These files are specified in this moz.build to pick up DIST_SUBDIR as set in
54
# this directory, which is un-set in browser/app.
55
JS_PREFERENCE_PP_FILES += [
56
'app/profile/firefox.js',
57
]
58
FINAL_TARGET_FILES += ['app/blocklist.xml']
59
FINAL_TARGET_FILES.defaults += ['app/permissions']
60
61
with Files("**"):
62
BUG_COMPONENT = ("Firefox", "General")
63
64
with Files("Makefile.in"):
65
BUG_COMPONENT = ("Firefox Build System", "General")
66
67
with Files("*.mk"):
68
BUG_COMPONENT = ("Firefox Build System", "General")
69
70
with Files("**/moz.build"):
71
BUG_COMPONENT = ("Firefox Build System", "General")
72
73
with Files("moz.configure"):
74
BUG_COMPONENT = ("Firefox Build System", "General")
75
76
with Files("app.mozbuild"):
77
BUG_COMPONENT = ("Firefox Build System", "General")
78
79
with Files("moz.build"):
80
BUG_COMPONENT = ("Firefox Build System", "General")
81
82
with Files("confvars.sh"):
83
BUG_COMPONENT = ("Firefox Build System", "General")
84
85
with Files("LICENSE"):
86
BUG_COMPONENT = ("Firefox Build System", "General")
87
88
with Files("branding/**"):
89
BUG_COMPONENT = ("Firefox", "General")
90
91
with Files("config/**"):
92
BUG_COMPONENT = ("Firefox Build System", "General")
93
94
with Files("docs/**"):
95
BUG_COMPONENT = ("Toolkit", "Telemetry")
96
97
with Files("fonts/**"):
98
BUG_COMPONENT = ("Core", "Graphics: Text")
99
100
with Files("installer/**"):
101
BUG_COMPONENT = ("Firefox", "Installer")
102
103
with Files("tools/**"):
104
BUG_COMPONENT = ("Firefox", "General")
105
106
with Files('l10n-registry.manifest'):
107
BUG_COMPONENT = ('Core', 'Localization')