Bug 1491897 [wpt PR 13034] - Delete goal-parameter.htm, a=testonly
[gecko.git] / moz.build
blob15ff88acf5f66e844415f81fe6733baae8bbfcfc
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 with Files('AUTHORS'):
8     BUG_COMPONENT = ('mozilla.org', 'Licensing')
10 with Files('LICENSE'):
11     BUG_COMPONENT = ('mozilla.org', 'Licensing')
13 with Files('LEGAL'):
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')
31 with Files('mach'):
32     BUG_COMPONENT = ('Core', 'mach')
34 with Files('*moz*'):
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']
47 with Files('*.json'):
48     BUG_COMPONENT = ('Firefox Build System', 'General')
50 with Files('**/l10n.toml'):
51     BUG_COMPONENT = ('Core', 'Localization')
52     FINAL = True
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')
62     FINAL = True
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 += [
86     'config/autoconf.mk',
87     'config/emptyvars.mk',
90 if CONFIG['ENABLE_CLANG_PLUGIN']:
91     DIRS += ['build/clang-plugin']
93 DIRS += [
94     'config',
95     'python',
96     'taskcluster',
97     'testing/mozbase',
98     'third_party/python',
101 if not CONFIG['JS_STANDALONE'] or not CONFIG['MOZ_BUILD_APP']:
102     CONFIGURE_DEFINE_FILES += [
103         'mozilla-config.h',
104     ]
105     EXPORTS += [
106         '!buildid.h',
107         '!mozilla-config.h',
108         '!source-repo.h',
109     ]
111     GENERATED_FILES += [
112         'buildid.h',
113         'source-repo.h',
114     ]
116     GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
117     GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
119     DIRS += [
120         'build',
121     ]
123 DIRS += [
124     'mfbt',
127 if CONFIG['MOZ_BUILD_APP']:
128     # Bring in the configuration for the configured application.
129     include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
130 else:
131     include('/toolkit/toolkit.mozbuild')
133 CONFIGURE_SUBST_FILES += ['.cargo/config']
135 include('build/templates.mozbuild')