1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
14 compile_commands\.json
20 # Emacs directory variable files.
23 # User files that may appear at the root
33 # Empty marker file that's generated when we check out NSS
34 ^security/manager/\.nss\.checkout$
39 # gecko.log is generated by various test harnesses
42 # Ignore newtab component build assets
43 ^browser/components/newtab/bin/prerender.js
44 ^browser/components/newtab/bin/prerender.js.map
45 ^browser/components/newtab/data/locales.json
46 ^browser/components/newtab/logs/
48 # Build directories for js shell
54 # SpiderMonkey configury
56 ^js/src/old-configure$
57 ^js/src/autom4te.cache$
58 # SpiderMonkey test result logs
59 ^js/src/tests/results-.*\.(html|txt)$
60 ^js/src/devtools/rootAnalysis/t/out
61 # SpiderMonkey clone of the webassembly spec repository
64 # Java HTML5 parser classes
65 ^parser/html/java/(html|java)parser/
70 # Ignore the files and directory that Eclipse IDE creates
75 # Ignore the files and directory that JetBrains IDEs create.
78 # Android Monitor in Android Studio creates a captures/ directory.
83 ^tools/infer/test/.gradle/
85 # Local Gradle configuration properties.
88 # Python stuff installed at build time.
89 ^third_party/python/psutil/.*\.so
90 ^third_party/python/psutil/.*\.pyd
91 ^third_party/python/psutil/build/
92 ^third_party/python/psutil/tmp/
97 # Ignore chrome.manifest files from the devtools loader
98 ^devtools/client/chrome.manifest$
99 ^devtools/shared/chrome.manifest$
101 # Ignore node_modules directories in devtools
102 ^devtools/.*/node_modules/
104 # git checkout of libstagefright
105 ^media/libstagefright/android$
107 # Tag files generated by GNU Global
113 # Git clone directory for updating web-platform-tests
114 ^testing/web-platform/sync/
116 # Third party metadata for web-platform-tests
117 ^testing/web-platform/products/
119 # Android Gradle artifacts.
120 ^mobile/android/gradle/.gradle
122 # XCode project cruft
125 # Rust/Cargo output from running `cargo` directly
128 # Ignore mozharness execution files
129 ^testing/mozharness/.tox/
130 ^testing/mozharness/build/
131 ^testing/mozharness/logs/
132 ^testing/mozharness/.coverage
133 ^testing/mozharness/nosetests.xml
135 # Ignore tox generated dir
138 # Ignore ESLint and other tool's node_modules.
140 ^tools/browsertime/node_modules/
141 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
143 # Ignore talos virtualenv and tp5n files.
144 # The tp5n set is supposed to be decompressed at
145 # testing/talos/talos/tests/tp5n in order to run tests like tps
146 # locally. Similarly, running talos requires a Python package virtual
147 # environment. Both the virtual environment and tp5n files end up littering
148 # the status command, so we ignore them.
149 ^testing/talos/.Python
151 ^testing/talos/include/
153 ^testing/talos/talos/tests/tp5n.zip
154 ^testing/talos/talos/tests/tp5n.tar.gz
155 ^testing/talos/talos/tests/tp5n
156 ^testing/talos/talos/tests/devtools/damp.manifest.develop
159 ^testing/talos/talos/mitmproxy/mitmdump
160 ^testing/talos/talos/mitmproxy/mitmproxy
161 ^testing/talos/talos/mitmproxy/mitmweb
163 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
164 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
165 # i.e. speedometer, motionmark, stylebench
166 ^testing/talos/talos/tests/webkit/PerformanceTests
168 # Ignore toolchains.json created by tooltool.
171 # Ignore files created when running a reftest.
177 # Ignore sync tps logs and reports
181 # Ignore Visual Studio Code workspace files.
182 \.vscode/(?!extensions\.json|tasks\.json)
184 # Ignore Infer output
187 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
190 # Ignore various raptor performance framework files
191 ^testing/raptor/.raptor-venv
192 ^testing/raptor/raptor-venv
193 ^testing/raptor/raptor/tests/json/
194 ^testing/raptor/webext/raptor/auto_gen_test_config.js
196 # Ignore browsertime output directory
199 # Ignore the build directories of WebRender standalone builds.