Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Nick Alexander 19d52d9edc Bug 1566174 - Part 2: Add browsertime dependencies to Raptor tasks when --browsertime flag is present. r=rwood,tomprince
This commit prepares the decks for turning specific Raptor tasks into
Raptor + browsertime tasks.  The `--browsertime` flag to `mach try
...` flips the switch; eventually, the Raptor harness will recognize
the `--browsertime` flag and use browsertime to perform the pageload
measurements.

To run browsertime, we need:

1) Node.js
2) the browsertime `node_modules` (provided by the
   `toolchain-browsertime` task)
3) ffmpeg (for producing videos from captured frames)
4) chromedriver (in the future, when targeting Chrome/Chromium)
5) geckodriver (provided by the `toolchain-*-geckodriver` tasks)
6) `PATH` configured

This commit arranges those things.

Since the configuration varies by test platform, and eventually we
expect the changes implemented by the flag to be moved into YAML task
definitions, we elect to use `by-test-platform` conditionals as much
as possible.  The end expression is pleasant, thanks to
`evaluate_keyed_by`.

Handling PATH, however, is a rabbit hole.  At this time, it's not
possible to use `fetch` task repackaging, because `releng-hardware`
doesn't support `zstandard` (Bug 1576244) and there's no appetite to
avoid `zstandard` entirely (Bug 1576698).  Generally PATH is
configured using `mozharness` configuration files, which can execute
arbitrary Python and configure the PATH only for browsertime jobs.
However, the Raptor mozharness script itself runs the Raptor harness
in a stripped down environment, throwing away modifications to PATH.
It's not clear what impacts changing that has, so we leave it alone,
and add a `--browsertime-ffmpeg` flag and custom handling in the
Raptor harness.  This can transition smoothly into a browsertime flag
(so that the PATH doesn't need to be set at all) and into a unified
interface for Raptor and `mach browsertime` to configure the
browsertime execution environment.

Differential Revision: https://phabricator.services.mozilla.com/D38781

--HG--
extra : moz-landing-system : lando
2019-09-06 18:53:49 +00:00
.cargo Bug 1577717: Bump Cranelift to fc88520b88bcaad4e4a92f28a5e17347af20edbd; r=jseward 2019-08-30 15:12:56 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1578282 - Use flattened tree parent when getting inserted node container. r=Jamie 2019-09-06 00:24:21 +00:00
browser Bug 1577031 - make Protection Report page sharable via UITour. r=johannh 2019-09-06 15:45:28 +00:00
build Bug 1578825 - add a strict version check for the NDK version; r=nalexander 2019-09-04 19:20:39 +00:00
caps Bug 1578623 create worklet global with JSPrincipals having reference to WorkletImpl r=baku,bzbarsky 2019-09-06 02:01:44 +00:00
chrome Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
config Bug 1578776 - wrap some synchronization-related STL headers; r=firefox-build-system-reviewers,mshal 2019-09-04 17:56:49 +00:00
devtools Bug 1579379 - Debugger infinite hang when hovering over variables. r=davidwalsh 2019-09-06 17:35:48 +00:00
docshell Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc 2019-09-06 16:51:10 +00:00
dom Bug 1575620 - Fix refreshing session restore when using prototype cache. r=smaug 2019-09-05 22:26:25 +00:00
editor Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc 2019-09-06 16:51:10 +00:00
extensions Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium 2019-09-04 02:40:32 +00:00
gfx Bug 1572913 - check ClearType level in ScaledFontDWrite::GetDefaultAAMode. r=jrmuizel 2019-09-06 18:45:56 +00:00
gradle/wrapper Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander 2019-07-24 18:48:54 +00:00
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Bug 1578164. Use async notifications when requesting decode of an image in most places. r=aosmond 2019-09-03 15:36:23 +00:00
intl Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
ipc Bug 1578398 - Check 'CanSend()' when calling Send__delete__(), r=mccr8 2019-09-05 18:08:58 +00:00
js Bug 1571388 - Disallow enabling or disabling the Baseline Interpreter via setJitCompilerOption. r=tcampbell 2019-09-06 14:41:49 +00:00
layout Bug 1579295 - Replace <body> with <main> for shape-outside tests. r=jfkthame 2019-09-06 08:25:39 +00:00
media Bug 1570669 - Only redact peer reflex candidates if host address obfuscation is enabled; r=mjf 2019-09-06 15:23:53 +00:00
memory Bug 1547519 - Fix jemalloc redirections for MinGW build r=glandium 2019-09-04 02:40:08 +00:00
mfbt Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium 2019-09-04 02:40:32 +00:00
mobile Bug 1557009 - Add ContentBlockingController to GeckoSession to allow managing exceptions list for content blocking. r=snorp,geckoview-reviewers,Ehsan,agi 2019-09-06 17:21:16 +00:00
modules Bug 1577760: Don't compile in version of mar-channel-id in `mar` tool; r=rstrong 2019-09-06 18:37:14 +00:00
mozglue Bug 1557564 - Enable Base Profiler in Windows. r=aklotz,gerald 2019-09-03 23:27:46 +00:00
netwerk Bug 1579466 - Check GetEsniUsed return value in nsHttpConnection. r=mayhemer 2019-09-06 17:56:16 +00:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to use NSPR 4.22. 2019-08-19 14:23:11 +00:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Bug 1575620 - Fix refreshing session restore when using prototype cache. r=smaug 2019-09-05 22:26:25 +00:00
python Bug 1578596 - Require rustc 1.37. r=firefox-build-system-reviewers,mshal 2019-09-04 19:08:28 +00:00
remote bug 1540655: remote: document how to vendor Puppeteer; r=remote-protocol-reviewers,jdescottes 2019-08-16 12:58:34 +00:00
security Bug 1577836 - Remove nsIX509CertList from getCerts and loadCertsFromCache r=keeler 2019-09-05 21:35:54 +00:00
services Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-09-02 09:00:31 +00:00
servo Bug 1578295 - Use cbindgen for counters. r=mats 2019-09-02 23:11:26 +00:00
startupcache Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
storage Bug 1575692 - do not recreate the DB file via the directory service inside DatabaseLocker class off the mainthread, r=mak 2019-08-27 14:31:48 +00:00
taskcluster Bug 1566174 - Part 2: Add browsertime dependencies to Raptor tasks when --browsertime flag is present. r=rwood,tomprince 2019-09-06 18:53:49 +00:00
testing Bug 1566174 - Part 2: Add browsertime dependencies to Raptor tasks when --browsertime flag is present. r=rwood,tomprince 2019-09-06 18:53:49 +00:00
third_party Bug 1579425 - Part 2: Revendor dependencies. r=froydnj 2019-09-06 17:49:58 +00:00
toolkit Bug 1557009 - Add ContentBlockingController to GeckoSession to allow managing exceptions list for content blocking. r=snorp,geckoview-reviewers,Ehsan,agi 2019-09-06 17:21:16 +00:00
tools Bug 1579425 - Part 1: Update goblin and object. r=froydnj 2019-09-06 17:49:51 +00:00
uriloader Backed out changeset 7dc9a45ef7d6 (bug 1237782) for causing browser chrome failures on browser_disableAppcache.js CLOSED TREE 2019-09-06 19:10:20 +03:00
view Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert 2019-09-05 21:37:32 +00:00
widget Backed out changeset a8975a4aebc0 (bug 1521893) for bc leasks on (nsIconLoaderObserver, nsIconLoaderService, nsTouchBarInputIcon). CLOSED TREE 2019-09-06 22:03:15 +03:00
xpcom Backed out 6 changesets (bug 1518442) as requested by jdai. 2019-09-06 17:58:57 +03:00
xpfe/appshell Bug 1576407: Part 4 - Stop storing opener redundantly on nsGlobalWindowOuter. r=farre 2019-08-28 18:07:45 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1576729 - disable ship-geckoview on release to stop failure email spam r=aryx p=aki 2019-08-27 09:29:03 +00:00
.eslintignore Bug 1578194 - ESLint's ignore should properly ignore dot files in node_modules as well. r=mossop 2019-09-03 16:45:09 +00:00
.eslintrc.js Bug 1578679 - Remove unnecessary section from .eslintrc.js now that the xml files it references have been removed. r=bgrins 2019-09-04 16:33:11 +00:00
.flake8 Bug 1573566 - Move the real libxul definition in a subdirectory. r=froydnj 2019-08-16 21:44:10 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore Bug 1575089 - Add a new Talos test that measures warm startup time with a number of real-world WebExtensions installed. r=rwood 2019-08-31 06:58:00 +00:00
.hgtags No bug - Tagging mozilla-central b338d55d5007ce5a7d4cdce3aaa8e9f63c5555f7 with FIREFOX_NIGHTLY_70_END a=release DONTBUILD CLOSED TREE 2019-09-02 08:59:36 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes 2019-08-26 01:44:59 +00:00
.prettierrc Bug 1578564 - Workaround a prettier warning so that we can run it on html/xhtml files. r=vporof 2019-09-04 06:59:03 +00:00
.taskcluster.yml Bug 1459355: Don't pass parameters as part of actions; r=dustin 2019-08-09 17:02:15 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-09-02 09:00:31 +00:00
Cargo.lock Bug 1579425 - Part 1: Update goblin and object. r=froydnj 2019-09-06 17:49:51 +00:00
Cargo.toml Bug 1577717: Bump Cranelift to fc88520b88bcaad4e4a92f28a5e17347af20edbd; r=jseward 2019-08-30 15:12:56 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium 2019-08-21 03:07:16 +00:00
README.txt
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
build.gradle Bug 1572859 - Package more aggressively when building GeckoView (and Fennec) within Gradle. r=agi 2019-08-14 20:38:42 +00:00
client.mk
client.py
configure.in
configure.py Bug 844509 - Always encode config.status as utf-8. r=nalexander 2019-08-21 21:26:32 +00:00
gradle.properties Bug 1577814 - Increase Gradle heap size. r=nalexander 2019-08-30 17:13:46 +00:00
gradlew
gradlew.bat
mach Bug 1577501 - [mach] Make sure ./mach help <command> uses the correct Python, r=glandium 2019-09-03 00:39:22 +00:00
moz.build Bug 1575760 - Generate .cargo/config as part of the build rather than as a configure subst file. r=firefox-build-system-reviewers,chmanchester 2019-08-22 21:27:24 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1456544 - Remove mms-bitfields from the MinGW build r=nalexander 2019-08-26 16:16:36 +00:00
package-lock.json Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop 2019-08-27 14:51:29 +00:00
package.json Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop 2019-08-27 14:51:29 +00:00
settings.gradle
substitute-local-geckoview.gradle Bug 1533465 - Add Gradle script for substituting local GeckoView into downstream consumers. r=sebastian 2019-08-15 21:18:24 +00:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.