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 CONFIGURE_SUBST_FILES += ['installer/Makefile']
9 SPHINX_TREES['/browser'] = 'docs'
11 with Files('docs/**'):
12 SCHEDULES.exclusive = ['docs']
15 'l10n-registry.manifest',
34 if CONFIG['MAKENSISU']:
35 DIRS += ['installer/windows']
38 'tools/mozscreenshots',
41 DIST_SUBDIR = 'browser'
44 # These defines are read in firefox.js
45 DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
47 for cdm in CONFIG['MOZ_EME_MODULES']:
48 DEFINES['MOZ_%s_EME' % cdm.upper()] = True
50 if CONFIG['MOZ_GPSD']:
51 DEFINES['MOZ_GPSD'] = True
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',
58 FINAL_TARGET_FILES += ['app/blocklist.xml']
59 FINAL_TARGET_FILES.defaults += ['app/permissions']
62 BUG_COMPONENT = ("Firefox", "General")
64 with Files("Makefile.in"):
65 BUG_COMPONENT = ("Firefox Build System", "General")
68 BUG_COMPONENT = ("Firefox Build System", "General")
70 with Files("**/moz.build"):
71 BUG_COMPONENT = ("Firefox Build System", "General")
73 with Files("moz.configure"):
74 BUG_COMPONENT = ("Firefox Build System", "General")
76 with Files("app.mozbuild"):
77 BUG_COMPONENT = ("Firefox Build System", "General")
79 with Files("moz.build"):
80 BUG_COMPONENT = ("Firefox Build System", "General")
82 with Files("confvars.sh"):
83 BUG_COMPONENT = ("Firefox Build System", "General")
85 with Files("LICENSE"):
86 BUG_COMPONENT = ("Firefox Build System", "General")
88 with Files("branding/**"):
89 BUG_COMPONENT = ("Firefox", "General")
91 with Files("config/**"):
92 BUG_COMPONENT = ("Firefox Build System", "General")
94 with Files("docs/**"):
95 BUG_COMPONENT = ("Toolkit", "Telemetry")
97 with Files("fonts/**"):
98 BUG_COMPONENT = ("Core", "Graphics: Text")
100 with Files("installer/**"):
101 BUG_COMPONENT = ("Firefox", "Installer")
103 with Files("tools/**"):
104 BUG_COMPONENT = ("Firefox", "General")
106 with Files('l10n-registry.manifest'):
107 BUG_COMPONENT = ('Core', 'Localization')