2007-09-26 04:49:12 +04:00
|
|
|
# .hgignore - List of filenames hg should ignore
|
|
|
|
|
|
|
|
# Filenames that should be ignored wherever they appear
|
2007-07-12 22:09:30 +04:00
|
|
|
~$
|
2010-01-08 15:57:46 +03:00
|
|
|
\.py(c|o)$
|
2010-04-29 12:33:37 +04:00
|
|
|
(?i)(^|/)TAGS$
|
2009-10-16 22:48:16 +04:00
|
|
|
(^|/)ID$
|
2009-03-24 02:58:39 +03:00
|
|
|
(^|/)\.DS_Store$
|
2016-03-01 17:18:22 +03:00
|
|
|
\.pdb
|
2019-07-12 18:24:07 +03:00
|
|
|
\.eslintcache
|
2018-06-20 13:05:46 +03:00
|
|
|
\.gcda
|
|
|
|
\.gcno
|
|
|
|
\.gcov
|
2018-08-21 17:54:44 +03:00
|
|
|
compile_commands\.json
|
2007-09-26 04:49:12 +04:00
|
|
|
|
2021-09-28 17:59:27 +03:00
|
|
|
# Ignore Python .egg-info directories for first-party modules (but,
|
|
|
|
# still add vendored packages' .egg-info directories)
|
|
|
|
^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
|
|
|
|
|
2011-09-13 04:25:24 +04:00
|
|
|
# Vim swap files.
|
|
|
|
^\.sw.$
|
|
|
|
.[^/]*\.sw.$
|
|
|
|
|
2014-09-10 01:40:00 +04:00
|
|
|
# Emacs directory variable files.
|
|
|
|
\.dir-locals\.el
|
2020-06-03 22:46:16 +03:00
|
|
|
# Emacs project sentinel files.
|
|
|
|
\.projectile
|
2014-09-10 01:40:00 +04:00
|
|
|
|
2007-09-26 04:49:12 +04:00
|
|
|
# User files that may appear at the root
|
2022-04-27 12:10:21 +03:00
|
|
|
^\.clang-tidy
|
2009-04-22 04:42:14 +04:00
|
|
|
^\.mozconfig
|
2012-05-02 20:43:45 +04:00
|
|
|
^mozconfig*
|
2007-09-26 04:49:12 +04:00
|
|
|
^configure$
|
2016-02-25 18:01:55 +03:00
|
|
|
^old-configure$
|
2007-09-26 04:49:12 +04:00
|
|
|
^config\.cache$
|
|
|
|
^config\.log$
|
2012-05-18 21:55:58 +04:00
|
|
|
^\.clang_complete
|
2016-03-28 18:18:24 +03:00
|
|
|
^\.?machrc$
|
2020-07-08 02:41:55 +03:00
|
|
|
# pyenv artifact
|
|
|
|
^\.python-version$
|
2007-09-26 04:49:12 +04:00
|
|
|
|
2008-05-15 09:54:06 +04:00
|
|
|
# Empty marker file that's generated when we check out NSS
|
|
|
|
^security/manager/\.nss\.checkout$
|
|
|
|
|
2007-09-26 04:49:12 +04:00
|
|
|
# Build directories
|
2008-08-01 09:44:18 +04:00
|
|
|
^obj
|
2007-09-26 04:49:12 +04:00
|
|
|
|
2017-04-25 17:30:38 +03:00
|
|
|
# gecko.log is generated by various test harnesses
|
|
|
|
^gecko\.log
|
|
|
|
|
2019-05-17 19:45:30 +03:00
|
|
|
# Ignore newtab component build assets
|
|
|
|
^browser/components/newtab/logs/
|
|
|
|
|
2022-01-25 19:11:07 +03:00
|
|
|
# Ignore Pocket component build and dev assets
|
|
|
|
browser/components/pocket/content/panels/css/main.compiled.css.map
|
|
|
|
|
2007-09-26 04:49:12 +04:00
|
|
|
# Build directories for js shell
|
|
|
|
_DBG\.OBJ/
|
|
|
|
_OPT\.OBJ/
|
2014-04-24 00:41:51 +04:00
|
|
|
^js/src/.*-obj/
|
2018-08-20 09:03:00 +03:00
|
|
|
^js/src/obj-.*/
|
2007-09-26 04:49:12 +04:00
|
|
|
|
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile. Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR. Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR. Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.
Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.
Give SpiderMonkey it its own copies of many of the files from ./config
and ./build. These are all exact copies, except as follows:
. js/src/config/Makefile.in: js/src only has a subset of
js/src/config, and thus a subset of the makefile targets.
. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
variables to set, not set by the top-level configure script, so it
needs a custom automake.mk template.
. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
so that we can build without having an NSPR source tree handy.
Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.
Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.
Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library. Don't include the js-config script in
Macintosh packages.
Teach client.mk how to rebuild js/src/configure.
Tell Mercurial to ignore files generated by autoconf in js/src.
Further work:
. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
This is fixed in a subsequent patch.
. js/src/configure is a trimmed copy of ./configure. It could be
trimmed more.
--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 18:29:22 +03:00
|
|
|
# SpiderMonkey configury
|
|
|
|
^js/src/configure$
|
2016-02-25 18:01:55 +03:00
|
|
|
^js/src/old-configure$
|
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile. Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR. Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR. Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.
Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.
Give SpiderMonkey it its own copies of many of the files from ./config
and ./build. These are all exact copies, except as follows:
. js/src/config/Makefile.in: js/src only has a subset of
js/src/config, and thus a subset of the makefile targets.
. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
variables to set, not set by the top-level configure script, so it
needs a custom automake.mk template.
. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
so that we can build without having an NSPR source tree handy.
Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.
Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.
Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library. Don't include the js-config script in
Macintosh packages.
Teach client.mk how to rebuild js/src/configure.
Tell Mercurial to ignore files generated by autoconf in js/src.
Further work:
. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
This is fixed in a subsequent patch.
. js/src/configure is a trimmed copy of ./configure. It could be
trimmed more.
--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 18:29:22 +03:00
|
|
|
^js/src/autom4te.cache$
|
2009-10-16 22:48:16 +04:00
|
|
|
# SpiderMonkey test result logs
|
|
|
|
^js/src/tests/results-.*\.(html|txt)$
|
2016-03-25 21:41:54 +03:00
|
|
|
^js/src/devtools/rootAnalysis/t/out
|
2021-04-13 19:41:46 +03:00
|
|
|
# SpiderMonkey wasm/generate-spectests artifacts
|
|
|
|
^js/src/jit-test/etc/wasm/generate-spectests/specs/
|
|
|
|
^js/src/jit-test/etc/wasm/generate-spectests/tests/
|
|
|
|
^js/src/jit-test/etc/wasm/generate-spectests/target/
|
2009-07-18 00:50:20 +04:00
|
|
|
|
|
|
|
# Java HTML5 parser classes
|
2009-09-25 23:57:09 +04:00
|
|
|
^parser/html/java/(html|java)parser/
|
2012-01-05 20:26:14 +04:00
|
|
|
|
|
|
|
# SVN directories
|
|
|
|
\.svn/
|
2012-01-17 01:31:44 +04:00
|
|
|
|
|
|
|
# Ignore the files and directory that Eclipse IDE creates
|
2012-02-14 02:36:16 +04:00
|
|
|
\.project$
|
|
|
|
\.cproject$
|
|
|
|
\.settings/
|
2012-09-19 22:20:19 +04:00
|
|
|
|
2015-10-22 01:07:55 +03:00
|
|
|
# Ignore the files and directory that JetBrains IDEs create.
|
2013-07-16 18:32:55 +04:00
|
|
|
\.idea/
|
2015-10-22 01:07:55 +03:00
|
|
|
\.iml$
|
2017-07-19 21:08:06 +03:00
|
|
|
# Android Monitor in Android Studio creates a captures/ directory.
|
|
|
|
^captures/
|
2015-10-22 01:07:55 +03:00
|
|
|
|
|
|
|
# Gradle cache.
|
|
|
|
^.gradle/
|
2013-07-16 18:32:55 +04:00
|
|
|
|
2015-12-10 18:51:42 +03:00
|
|
|
# Local Gradle configuration properties.
|
|
|
|
^local.properties$
|
|
|
|
|
2013-02-01 23:20:17 +04:00
|
|
|
# Git repositories
|
|
|
|
.git/
|
2013-04-30 11:22:25 +04:00
|
|
|
|
|
|
|
# Ignore chrome.manifest files from the devtools loader
|
2015-09-21 20:07:31 +03:00
|
|
|
^devtools/client/chrome.manifest$
|
|
|
|
^devtools/shared/chrome.manifest$
|
2014-05-08 04:32:00 +04:00
|
|
|
|
2016-07-26 19:35:42 +03:00
|
|
|
# Ignore node_modules directories in devtools
|
2016-09-11 19:38:51 +03:00
|
|
|
^devtools/.*/node_modules/
|
2016-07-26 19:35:42 +03:00
|
|
|
|
2019-08-16 15:58:17 +03:00
|
|
|
# Ignore node_module directories and npm artifacts
|
|
|
|
^remote/test/puppeteer/package-lock.json
|
|
|
|
^remote/test/puppeteer/node_modules/
|
2022-01-04 15:11:44 +03:00
|
|
|
^remote/test/puppeteer/.github
|
|
|
|
^remote/test/puppeteer/.husky
|
2019-11-13 00:19:11 +03:00
|
|
|
^remote/test/puppeteer/.local-chromium/
|
2020-06-02 23:49:00 +03:00
|
|
|
^remote/test/puppeteer/.local-firefox/
|
2020-06-05 21:53:38 +03:00
|
|
|
^remote/test/puppeteer/experimental/
|
|
|
|
^remote/test/puppeteer/lib/
|
|
|
|
^remote/test/puppeteer/test/output-firefox
|
|
|
|
^remote/test/puppeteer/test/output-chromium
|
2022-01-04 15:11:44 +03:00
|
|
|
^remote/test/puppeteer/website
|
2019-08-16 15:58:17 +03:00
|
|
|
|
2014-05-22 06:42:39 +04:00
|
|
|
# git checkout of libstagefright
|
|
|
|
^media/libstagefright/android$
|
|
|
|
|
2014-05-08 04:32:00 +04:00
|
|
|
# Tag files generated by GNU Global
|
2019-03-30 02:16:09 +03:00
|
|
|
(^|/)GTAGS$
|
|
|
|
(^|/)GRTAGS$
|
|
|
|
(^|/)GSYMS$
|
|
|
|
(^|/)GPATH$
|
2014-06-28 00:25:03 +04:00
|
|
|
|
2014-09-04 15:52:43 +04:00
|
|
|
# Git clone directory for updating web-platform-tests
|
|
|
|
^testing/web-platform/sync/
|
2014-08-26 21:58:00 +04:00
|
|
|
|
2017-05-23 15:48:29 +03:00
|
|
|
# Third party metadata for web-platform-tests
|
|
|
|
^testing/web-platform/products/
|
|
|
|
|
2014-12-23 06:49:04 +03:00
|
|
|
# Android Gradle artifacts.
|
|
|
|
^mobile/android/gradle/.gradle
|
2015-06-15 14:46:08 +03:00
|
|
|
|
|
|
|
# XCode project cruft
|
2017-09-24 23:45:17 +03:00
|
|
|
^[^/]*\.xcodeproj/
|
2015-07-24 16:30:18 +03:00
|
|
|
|
2018-03-02 01:33:35 +03:00
|
|
|
# Rust/Cargo output from running `cargo` directly
|
|
|
|
^target/
|
2018-01-12 19:08:07 +03:00
|
|
|
|
2015-07-24 16:30:18 +03:00
|
|
|
# Ignore mozharness execution files
|
2016-03-01 17:18:22 +03:00
|
|
|
^testing/mozharness/.tox/
|
2015-07-24 16:30:18 +03:00
|
|
|
^testing/mozharness/build/
|
2016-03-01 17:18:22 +03:00
|
|
|
^testing/mozharness/logs/
|
|
|
|
^testing/mozharness/.coverage
|
|
|
|
^testing/mozharness/nosetests.xml
|
2015-09-30 16:44:48 +03:00
|
|
|
|
2015-11-25 22:56:02 +03:00
|
|
|
# Ignore tox generated dir
|
|
|
|
.tox/
|
|
|
|
|
Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework. The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install. This mach command is intended to be leverage
for getting more folks able to use browsertime easily.
In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles. If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.
I elected to piggy-back install on the eslint installation process,
since this is very similar. To that end, I generalized what was there
very slightly. I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from. In particular I wasn't certain the code could rely on a
complete mozbuild checkout.
I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago. At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary. There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.
Differential Revision: https://phabricator.services.mozilla.com/D26820
--HG--
extra : moz-landing-system : lando
2019-05-07 02:56:49 +03:00
|
|
|
# Ignore ESLint and other tool's node_modules.
|
2017-03-22 14:27:00 +03:00
|
|
|
^node_modules/
|
Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework. The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install. This mach command is intended to be leverage
for getting more folks able to use browsertime easily.
In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles. If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.
I elected to piggy-back install on the eslint installation process,
since this is very similar. To that end, I generalized what was there
very slightly. I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from. In particular I wasn't certain the code could rely on a
complete mozbuild checkout.
I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago. At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary. There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.
Differential Revision: https://phabricator.services.mozilla.com/D26820
--HG--
extra : moz-landing-system : lando
2019-05-07 02:56:49 +03:00
|
|
|
^tools/browsertime/node_modules/
|
2017-07-14 13:05:33 +03:00
|
|
|
^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
|
2020-08-11 02:32:15 +03:00
|
|
|
^browser/components/newtab/node_modules/
|
2022-04-27 23:10:16 +03:00
|
|
|
^browser/components/storybook/node_modules/
|
2015-10-13 19:35:42 +03:00
|
|
|
|
|
|
|
# Ignore talos virtualenv and tp5n files.
|
|
|
|
# The tp5n set is supposed to be decompressed at
|
2019-11-25 21:31:36 +03:00
|
|
|
# testing/talos/talos/fis|tests/tp5n in order to run tests like tps
|
2015-10-13 19:35:42 +03:00
|
|
|
# locally. Similarly, running talos requires a Python package virtual
|
|
|
|
# environment. Both the virtual environment and tp5n files end up littering
|
|
|
|
# the status command, so we ignore them.
|
|
|
|
^testing/talos/.Python
|
|
|
|
^testing/talos/bin/
|
|
|
|
^testing/talos/include/
|
|
|
|
^testing/talos/lib/
|
2019-11-25 21:31:36 +03:00
|
|
|
^testing/talos/talos/fis/tp5n.zip
|
|
|
|
^testing/talos/talos/fis/tp5n.tar.gz
|
|
|
|
^testing/talos/talos/fis/tp5n
|
2016-03-01 17:18:22 +03:00
|
|
|
^testing/talos/talos/tests/tp5n.zip
|
2016-11-08 03:35:12 +03:00
|
|
|
^testing/talos/talos/tests/tp5n.tar.gz
|
2016-03-01 17:18:22 +03:00
|
|
|
^testing/talos/talos/tests/tp5n
|
|
|
|
^testing/talos/talos/tests/devtools/damp.manifest.develop
|
2019-08-31 09:58:00 +03:00
|
|
|
^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
|
|
|
|
^testing/talos/talos/webextensions/
|
2016-11-08 03:35:12 +03:00
|
|
|
^talos-venv
|
2017-06-05 21:51:06 +03:00
|
|
|
^py3venv
|
2017-08-15 22:30:23 +03:00
|
|
|
^testing/talos/talos/mitmproxy/mitmdump
|
|
|
|
^testing/talos/talos/mitmproxy/mitmproxy
|
|
|
|
^testing/talos/talos/mitmproxy/mitmweb
|
2016-04-25 21:28:46 +03:00
|
|
|
|
2018-01-17 21:59:55 +03:00
|
|
|
# Ignore talos webkit benchmark files; source is copied from in-tree /third_party
|
|
|
|
# into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
|
|
|
|
# i.e. speedometer, motionmark, stylebench
|
|
|
|
^testing/talos/talos/tests/webkit/PerformanceTests
|
2017-11-28 23:35:44 +03:00
|
|
|
|
2017-10-20 11:53:20 +03:00
|
|
|
# Ignore toolchains.json created by tooltool.
|
|
|
|
^toolchains\.json
|
|
|
|
|
2021-11-02 17:33:49 +03:00
|
|
|
# Unit test
|
|
|
|
\.pytest_cache/
|
|
|
|
|
2016-04-25 21:28:46 +03:00
|
|
|
# Ignore files created when running a reftest.
|
|
|
|
^lextab.py$
|
2016-07-29 20:43:29 +03:00
|
|
|
|
2017-09-21 22:44:13 +03:00
|
|
|
# Ignore sync tps logs and reports
|
|
|
|
tps\.log
|
|
|
|
tps_result\.json
|
|
|
|
|
2021-10-18 17:46:13 +03:00
|
|
|
# Ignore Visual Studio/Visual Studio Code workspace files.
|
|
|
|
\.vs/
|
2017-05-04 18:03:54 +03:00
|
|
|
\.vscode/(?!extensions\.json|tasks\.json)
|
2022-03-11 18:40:52 +03:00
|
|
|
\.user$
|
2017-02-08 22:41:52 +03:00
|
|
|
|
2017-11-15 00:46:47 +03:00
|
|
|
# https://bz.mercurial-scm.org/show_bug.cgi?id=5322
|
|
|
|
^comm/
|
2018-04-17 00:15:38 +03:00
|
|
|
|
|
|
|
# Ignore various raptor performance framework files
|
|
|
|
^testing/raptor/.raptor-venv
|
|
|
|
^testing/raptor/raptor-venv
|
2019-06-19 10:44:35 +03:00
|
|
|
^testing/raptor/raptor/tests/json/
|
2018-04-17 00:15:38 +03:00
|
|
|
^testing/raptor/webext/raptor/auto_gen_test_config.js
|
2018-12-10 22:05:01 +03:00
|
|
|
|
2022-03-16 15:39:55 +03:00
|
|
|
# Ignore condprofile build directory
|
|
|
|
^testing/condprofile/build
|
|
|
|
|
2019-06-10 22:43:22 +03:00
|
|
|
# Ignore browsertime output directory
|
|
|
|
^browsertime-results
|
|
|
|
|
2019-11-15 03:29:53 +03:00
|
|
|
# Ignore the build directories of WebGPU and WebRender standalone builds.
|
|
|
|
gfx/wgpu/target
|
|
|
|
gfx/wgpu/.*/build
|
2019-02-11 16:37:44 +03:00
|
|
|
gfx/wr/target/
|
2019-07-12 15:17:04 +03:00
|
|
|
|
|
|
|
# Ignore this files in certviewer
|
|
|
|
toolkit/components/certviewer/content/node_modules/
|
|
|
|
toolkit/components/certviewer/content/package-lock.json
|
2020-07-07 22:53:32 +03:00
|
|
|
|
|
|
|
# Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
|
|
|
|
^taskcluster/docker/image_builder/build-image/target
|
2021-11-16 18:09:09 +03:00
|
|
|
|
|
|
|
# Ignore ICU4X experimentation data files.
|
|
|
|
# See intl/ICU4X.md for more details.
|
|
|
|
^config/external/icu4x
|
2022-01-12 20:20:04 +03:00
|
|
|
|
|
|
|
# Ignore the index files generated by clangd.
|
|
|
|
^.cache/clangd/index/
|
2022-03-31 16:52:11 +03:00
|
|
|
|
|
|
|
# Ignore mypy files
|
|
|
|
\.mypy_cache/
|