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/.
8 BUG_COMPONENT = ('mozilla.org', 'Licensing')
10 with Files('LICENSE'):
11 BUG_COMPONENT = ('mozilla.org', 'Licensing')
14 BUG_COMPONENT = ('mozilla.org', 'Licensing')
16 with Files('aclocal.m4'):
17 BUG_COMPONENT = ('Firefox Build System', 'General')
19 with Files('Cargo.*'):
20 BUG_COMPONENT = ('Firefox Build System', 'General')
22 with Files('client.*'):
23 BUG_COMPONENT = ('Firefox Build System', 'General')
25 with Files('CLOBBER'):
26 BUG_COMPONENT = ('Firefox Build System', 'General')
28 with Files('*configure*'):
29 BUG_COMPONENT = ('Firefox Build System', 'General')
32 BUG_COMPONENT = ('Core', 'mach')
35 BUG_COMPONENT = ('Firefox Build System', 'General')
37 with Files('GNUmakefile'):
38 BUG_COMPONENT = ('Firefox Build System', 'General')
40 with Files('*gradle*'):
41 BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
42 SCHEDULES.exclusive = ['android']
45 BUG_COMPONENT = ('Firefox Build System', 'General')
47 with Files('**/l10n.toml'):
48 BUG_COMPONENT = ('Core', 'Localization')
51 with Files('README.txt'):
52 BUG_COMPONENT = ('Core', 'General')
54 with Files("nsprpub/**"):
55 BUG_COMPONENT = ("NSPR", "NSPR")
57 with Files('**/Makefile.in'):
58 BUG_COMPONENT = ('Firefox Build System', 'General')
61 with Files("**/*.js"):
62 SCHEDULES.inclusive += ['test-verify', 'docs']
64 with Files("**/*.jsm"):
65 SCHEDULES.inclusive += ['docs']
67 with Files("**/*.rst"):
68 SCHEDULES.inclusive += ['docs']
70 with Files("**/*.md"):
71 SCHEDULES.inclusive += ['docs']
73 with Files("**/*.html"):
74 SCHEDULES.inclusive += ['test-verify']
76 with Files("**/*.xhtml"):
77 SCHEDULES.inclusive += ['test-verify']
79 with Files("**/*.xul"):
80 SCHEDULES.inclusive += ['test-verify']
82 CONFIGURE_SUBST_FILES += [
84 'config/emptyvars.mk',
87 if CONFIG['ENABLE_CLANG_PLUGIN']:
88 DIRS += ['build/clang-plugin']
98 if not CONFIG['JS_STANDALONE'] or not CONFIG['MOZ_BUILD_APP']:
99 CONFIGURE_DEFINE_FILES += [
113 GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
114 GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
124 if CONFIG['MOZ_BUILD_APP']:
125 # Bring in the configuration for the configured application.
126 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
128 include('/toolkit/toolkit.mozbuild')
130 CONFIGURE_SUBST_FILES += ['.cargo/config']
132 include('build/templates.mozbuild')