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('Pipfile*'):
41 BUG_COMPONENT = ('Firefox Build System', 'General')
43 with Files('*gradle*'):
44 BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
45 SCHEDULES.exclusive = ['android']
48 BUG_COMPONENT = ('Firefox Build System', 'General')
50 with Files('**/l10n.toml'):
51 BUG_COMPONENT = ('Core', 'Localization')
54 with Files('README.txt'):
55 BUG_COMPONENT = ('Core', 'General')
57 with Files("nsprpub/**"):
58 BUG_COMPONENT = ("NSPR", "NSPR")
60 with Files('**/Makefile.in'):
61 BUG_COMPONENT = ('Firefox Build System', 'General')
64 with Files("**/*.js"):
65 SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu', 'docs']
67 with Files("**/*.jsm"):
68 SCHEDULES.inclusive += ['docs']
70 with Files("**/*.rst"):
71 SCHEDULES.inclusive += ['docs']
73 with Files("**/*.md"):
74 SCHEDULES.inclusive += ['docs']
76 with Files("**/*.html"):
77 SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
79 with Files("**/*.xhtml"):
80 SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
82 with Files("**/*.xul"):
83 SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
85 CONFIGURE_SUBST_FILES += [
87 'config/emptyvars.mk',
90 if CONFIG['ENABLE_CLANG_PLUGIN']:
91 DIRS += ['build/clang-plugin']
101 if not CONFIG['JS_STANDALONE'] or not CONFIG['MOZ_BUILD_APP']:
102 CONFIGURE_DEFINE_FILES += [
116 GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
117 GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
127 if CONFIG['MOZ_BUILD_APP']:
128 # Bring in the configuration for the configured application.
129 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
131 include('/toolkit/toolkit.mozbuild')
133 CONFIGURE_SUBST_FILES += ['.cargo/config']
135 include('build/templates.mozbuild')