Bug 1822393 - Set the source and target compatibility compile options for non-GeckoVi...
[gecko.git] / .hgignore
blobfdc9913e65a6bd04961a7334c60b4132b9a831cf
1 # .hgignore - List of filenames hg should ignore
3 # See docs/code-quality/lint/linters/ignorefile.rst for lint-ignore-next-line
4 # syntax.
6 # Filenames that should be ignored wherever they appear
7 ~$
8 \.pyc$
9 \.pyo$
10 (^|/)TAGS$
11 (^|/)tags$
12 (^|/)\.DS_Store$
13 \.pdb$
14 (^|/)\.eslintcache$
15 \.gcda$
16 \.gcno$
17 \.gcov$
18 (^|/)compile_commands\.json$
20 # Ignore ID generated by idutils.
21 (^|/)ID$
23 # Generated by hg or patch (e.g. revert, failed patch, ...)
24 \.orig$
25 \.rej$
27 # Filesystem temporaries
28 (^|/)\.fuse_hidden.*$
30 # Ignore Python .egg-info directories for first-party modules (but,
31 # still add vendored packages' .egg-info directories)
32 # lint-ignore-next-line: syntax-difference
33 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
35 # Vim swap files.
36 ^\.sw[a-z]$
37 \.[^/]*\.sw[a-z]$
39 # Emacs directory variable files.
40 \.dir-locals\.el
41 # Emacs project sentinel files.
42 \.projectile
44 # User files that may appear at the root
45 ^\.clang-tidy
46 ^\.clangd
47 ^\.mozconfig
48 ^mozconfig*
49 ^\.moz-fast-forward
50 ^old-configure$
51 ^config\.cache$
52 ^config\.log$
53 ^\.clang_complete
54 ^machrc$
55 ^\.machrc$
57 # pyenv artifact
58 ^\.python-version$
60 # Empty marker file that's generated when we check out NSS
61 ^security/manager/\.nss\.checkout$
63 # Build directories
64 ^obj.*/
66 # gecko.log is generated by various test harnesses
67 ^gecko\.log$
69 # Ignore all node_modules directories except for ones under third_party
70 ^node_modules/
71 ^devtools/.*/node_modules/
72 ^tools/browsertime/node_modules/
73 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
74 ^browser/components/asrouter/node_modules/
75 ^browser/components/newtab/node_modules/
76 ^browser/components/aboutwelcome/node_modules/
77 ^tools/esmify/node_modules/
78 ^tools/ts/node_modules/
80 # Ignore newtab component build assets
81 ^browser/components/newtab/logs/
83 # Ignore about:welcome component build assets
84 ^browser/components/aboutwelcome/logs/
86 # Ignore ASRouter component build assets
87 ^browser/components/asrouter/logs/
89 # Ignore ASRouter generated test files
90 ^browser/components/asrouter/content-src/schemas/corpus/CFRMessageProvider\.messages\.json
91 ^browser/components/asrouter/content-src/schemas/corpus/OnboardingMessageProvider\.messages\.json
92 ^browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider\.messages\.json
93 ^browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider_toast_notification\.messages\.json
95 # Ignore Pocket component build and dev assets
96 ^browser/components/pocket/content/panels/css/main\.compiled\.css\.map
98 # Ignore downloaded thirdparty build artifacts.
99 ^toolkit/components/translations/bergamot-translator/thirdparty
101 # Build directories for js shell
102 _DBG\.OBJ/
103 _OPT\.OBJ/
104 ^js/src/.*-obj/
105 ^js/src/obj-.*/
107 # SpiderMonkey configury
108 ^js/src/old-configure$
109 ^js/src/autom4te\.cache$
111 # SpiderMonkey test result logs
112 ^js/src/tests/results-.*\.html$
113 ^js/src/tests/results-.*\.txt$
114 ^js/src/devtools/rootAnalysis/t/out
116 # SpiderMonkey wasm/generate-spectests artifacts
117 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
118 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
119 ^js/src/jit-test/etc/wasm/generate-spectests/target/
121 # Java HTML5 parser classes
122 ^parser/html/java/htmlparser/
123 ^parser/html/java/javaparser/
124 ^parser/html/java/javaparser\.jar$
125 ^parser/html/java/translator\.jar$
127 # SVN directories
128 \.svn/
130 # Ignore the files and directory that Eclipse IDE creates
131 \.project$
132 \.cproject$
133 \.settings/
135 # Ignore the files and directory that JetBrains IDEs create.
136 \.idea/
137 \.iml$
139 # Android Monitor in Android Studio creates a captures/ directory.
140 ^captures/
142 # Gradle cache.
143 ^\.gradle/
145 # Local Gradle configuration properties.
146 ^local\.properties$
148 # Git repositories
149 # lint-ignore-next-line: hg-only
150 \.git/
152 # Ignore chrome.manifest files from the devtools loader
153 ^devtools/client/chrome\.manifest$
154 ^devtools/shared/chrome\.manifest$
156 # Ignore debugger build directories
157 ^devtools/client/debugger/assets/build
158 ^devtools/client/debugger/assets/module-manifest\.json
160 # Ignore node_module directories and npm artifacts
161 ^remote/test/puppeteer/.*\.tsbuildinfo
162 ^remote/test/puppeteer/.*/lib/
163 ^remote/test/puppeteer/.*/node_modules/
164 ^remote/test/puppeteer/.*/\.wireit/
165 ^remote/test/puppeteer/\.devcontainer/
166 ^remote/test/puppeteer/\.github
167 ^remote/test/puppeteer/\.husky
168 ^remote/test/puppeteer/\.wireit/
169 ^remote/test/puppeteer/coverage/
170 ^remote/test/puppeteer/docker/
171 ^remote/test/puppeteer/docs/puppeteer-core\.api\.json
172 ^remote/test/puppeteer/docs/puppeteer\.api\.json
173 ^remote/test/puppeteer/experimental/
174 ^remote/test/puppeteer/lib/
175 ^remote/test/puppeteer/node_modules/
176 ^remote/test/puppeteer/package-lock\.json
177 ^remote/test/puppeteer/packages/ng-schematics/test/build
178 ^remote/test/puppeteer/packages/puppeteer/.*/README\.md
179 ^remote/test/puppeteer/packages/puppeteer-core/src/generated
180 ^remote/test/puppeteer/packages/puppeteer-core/.*/README\.md
181 ^remote/test/puppeteer/src/generated
182 ^remote/test/puppeteer/test/build
183 ^remote/test/puppeteer/test/installation/puppeteer.*\.tgz
184 ^remote/test/puppeteer/test/output-firefox
185 ^remote/test/puppeteer/test/output-chromium
186 ^remote/test/puppeteer/testserver/lib/
187 ^remote/test/puppeteer/tools/internal/
188 ^remote/test/puppeteer/tools/mocha-runner/bin/
189 ^remote/test/puppeteer/website
191 ^third_party/js/PKI\.js/node_modules/
192 ^third_party/js/PKI\.js/package-lock\.json
194 # git checkout of libstagefright
195 ^media/libstagefright/android$
197 # Tag files generated by GNU Global
198 (^|/)GTAGS$
199 (^|/)GRTAGS$
200 (^|/)GSYMS$
201 (^|/)GPATH$
203 # Git clone directory for updating web-platform-tests
204 ^testing/web-platform/sync/
206 # Third party metadata for web-platform-tests
207 ^testing/web-platform/products/
209 # Android Gradle artifacts.
210 ^mobile/android/gradle/\.gradle
212 # XCode project cruft
213 ^[^/]*\.xcodeproj/
215 # Rust/Cargo output from running `cargo` directly
216 ^target/
217 ^servo/ports/geckolib/target/
218 ^dom/base/rust/target/
219 ^servo/components/style/target/
220 ^dom/webgpu/tests/cts/vendor/target/
222 # Ignore mozharness execution files
223 ^testing/mozharness/\.tox/
224 ^testing/mozharness/build/
225 ^testing/mozharness/logs/
226 ^testing/mozharness/\.coverage
227 ^testing/mozharness/nosetests\.xml
229 # Ignore tox generated dir
230 \.tox/
232 # Ignore talos virtualenv and tp5n files.
233 # The tp5n set is supposed to be decompressed at
234 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
235 # locally. Similarly, running talos requires a Python package virtual
236 # environment. Both the virtual environment and tp5n files end up littering
237 # the status command, so we ignore them.
238 ^testing/talos/\.Python
239 ^testing/talos/bin/
240 ^testing/talos/include/
241 ^testing/talos/lib/
242 ^testing/talos/talos/fis/tp5n\.zip
243 ^testing/talos/talos/fis/tp5n\.tar\.gz
244 ^testing/talos/talos/fis/tp5n
245 ^testing/talos/talos/tests/tp5n\.zip
246 ^testing/talos/talos/tests/tp5n\.tar\.gz
247 ^testing/talos/talos/tests/tp5n
248 ^testing/talos/talos/tests/devtools/damp\.manifest\.develop
249 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint\.manifest\.develop
250 ^testing/talos/talos/webextensions/
251 ^talos-venv
252 ^py3venv
253 ^testing/talos/talos/mitmproxy/mitmdump
254 ^testing/talos/talos/mitmproxy/mitmproxy
255 ^testing/talos/talos/mitmproxy/mitmweb
257 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
258 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
259 # i.e. speedometer, motionmark, stylebench
260 ^testing/talos/talos/tests/webkit/PerformanceTests
262 # Ignore sync tps logs and reports
263 tps\.log$
264 tps_result\.json$
266 # Ignore toolchains.json created by tooltool.
267 ^toolchains\.json$
269 # Unit test
270 \.pytest_cache/
272 # Ruff
273 \.ruff_cache/
275 # Ignore files created when running a reftest.
276 ^lextab\.py$
278 # Ignore Visual Studio/Visual Studio Code workspace files.
279 ^\.vs/
280 # lint-ignore-next-line: syntax-difference
281 ^\.vscode/(?!extensions\.json$|tasks\.json$)
282 .*\.user$
284 # Thunderbird source tree
285 ^comm/
287 # Ignore various raptor performance framework files
288 ^testing/raptor/\.raptor-venv
289 ^testing/raptor/raptor-venv
290 ^testing/raptor/raptor/tests/json/
291 ^testing/raptor/webext/raptor/auto_gen_test_config\.js
293 # Ignore condprofile build directory
294 ^testing/condprofile/build
296 # Ignore browsertime output directory
297 ^browsertime-results
299 # Ignore the build directories of WebGPU and WebRender standalone builds.
300 ^gfx/wgpu/target
301 ^gfx/wgpu/.*/build
302 ^gfx/wr/target/
304 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
305 ^taskcluster/docker/image_builder/build-image/target
307 # Ignore ICU4X experimentation data files.
308 # See intl/ICU4X.md for more details.
309 ^config/external/icu4x
311 # Ignore the index files generated by clangd.
312 ^\.cache/clangd/index/
314 # Ignore mypy files
315 \.mypy_cache/
317 # Ignore Storybook generated files
318 ^browser/components/storybook/node_modules/
319 ^browser/components/storybook/storybook-static/
320 ^browser/components/storybook/\.storybook/chrome-map\.js
321 ^browser/components/storybook/custom-elements\.json
323 # Ignore jscodeshift installed by mach esmify on windows
324 ^tools/esmify/jscodeshift
325 ^tools/esmify/jscodeshift\.cmd
326 ^tools/esmify/jscodeshift\.ps1
327 ^tools/esmify/package-lock\.json
329 # Ignore TypeScript declarations reference file updated by tooling.
330 ^tools/@types/index.d.ts
332 # Ignore support files for en-US dictionary updates
333 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
334 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
335 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/.*en_US-mozilla.*
337 # Ignore automatically generated mots documentation
338 ^docs/mots/index\.rst
340 # Ignore generated directory with .class files for GeckoView annotation processor
341 ^mobile/android/annotations/bin/