Bug 1550519 - Show a translucent parent highlight when a subgrid is highlighted....
[gecko.git] / moz.build
blob23bca4911e5f17d72cab82effbbc2f1873b8bccb
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 = ('Firefox Build System', 'Mach Core')
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('*gradle*'):
41     BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
42     SCHEDULES.exclusive = ['android']
44 with Files('*.json'):
45     BUG_COMPONENT = ('Firefox Build System', 'General')
47 with Files('**/l10n.toml'):
48     BUG_COMPONENT = ('Core', 'Localization')
49     FINAL = True
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')
59     FINAL = True
61 with Files("**/*.js"):
62     SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu', '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', 'test-verify-gpu']
76 with Files("**/*.xhtml"):
77     SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
79 with Files("**/*.xul"):
80     SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
82 CONFIGURE_SUBST_FILES += [
83     'config/autoconf.mk',
84     'config/emptyvars.mk',
87 if CONFIG['ENABLE_CLANG_PLUGIN']:
88     DIRS += ['build/clang-plugin']
90 DIRS += [
91     'config',
92     'python',
93     'taskcluster',
94     'testing/mozbase',
95     'third_party/python',
98 if not CONFIG['JS_STANDALONE'] or not CONFIG['MOZ_BUILD_APP']:
99     CONFIGURE_DEFINE_FILES += [
100         'mozilla-config.h',
101     ]
102     EXPORTS += [
103         '!buildid.h',
104         '!mozilla-config.h',
105         '!source-repo.h',
106     ]
108     GENERATED_FILES += [
109         'buildid.h',
110         'source-repo.h',
111     ]
113     GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
114     GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
116     DIRS += [
117         'build',
118     ]
120 if CONFIG['PGO_PROFILE_PATH']:
121     profdata_gen = ('merged.profdata.stub', 'merged.profdata')
122     GENERATED_FILES += [
123         profdata_gen
124     ]
125     GENERATED_FILES[profdata_gen].script = 'build/merge_profdata.py'
126     GENERATED_FILES[profdata_gen].inputs = [
127         '/' + CONFIG['PGO_PROFILE_PATH'],
128     ]
130 DIRS += [
131     'mfbt',
134 if CONFIG['MOZ_BUILD_APP']:
135     # Bring in the configuration for the configured application.
136     include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
137 else:
138     include('/toolkit/toolkit.mozbuild')
140 CONFIGURE_SUBST_FILES += ['.cargo/config']
142 include('build/templates.mozbuild')