Bug 1507524 - Update miscellaneous things with the new WR location. r=jrmuizel

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kartikaya Gupta 2018-11-22 21:47:50 +00:00
Родитель 2719e9d65e
Коммит d600969929
4 изменённых файлов: 9 добавлений и 14 удалений

Просмотреть файл

@ -76,9 +76,7 @@ gfx/qcms/.*
gfx/sfntly/.* gfx/sfntly/.*
gfx/skia/.* gfx/skia/.*
gfx/vr/service/openvr/.* gfx/vr/service/openvr/.*
gfx/webrender/.* gfx/wr/.*
gfx/webrender_api/.*
gfx/wrench/.*
gfx/ycbcr/.* gfx/ycbcr/.*
intl/hyphenation/hyphen/.* intl/hyphenation/hyphen/.*
intl/icu/.* intl/icu/.*

Просмотреть файл

@ -248,6 +248,7 @@ editor/libeditor/tests/browserscope/**
# Third-party # Third-party
gfx/ots/** gfx/ots/**
gfx/skia/** gfx/skia/**
gfx/wr/**
# intl/ exclusions # intl/ exclusions
intl/icu/** intl/icu/**

Просмотреть файл

@ -33,7 +33,7 @@ actually land the update into the tree.
Option A: Option A:
Use a script to do the update for you. This will usually work, if you satisfy Use a script to do the update for you. This will usually work, if you satisfy
all the assumptions the script is making. The script can be found at all the assumptions the script is making. The script can be found at
https://github.com/staktrace/moz-scripts/blob/master/try-latest-webrender.sh https://github.com/staktrace/wrupdater/blob/master/try-latest-webrender.sh
and contains documentation on how to use it. Read the documentation carefully and contains documentation on how to use it. Read the documentation carefully
before trying to use it. before trying to use it.
@ -45,18 +45,16 @@ Option B:
roughly: roughly:
- Update your mozilla-central checkout to the latest code on mozilla-central. - Update your mozilla-central checkout to the latest code on mozilla-central.
- Check out and update the webrender repo to the version you want - Check out and update the webrender repo to the version you want
- Copy over the webrender, webrender_api, and part of the wrench folders into - Copy over the webrender repo to gfx/wr. The easiest way to do this is
gfx/. The best way to do this is to simply delete the gfx/webrender, simply delete gfx/wr, and use |cp -R| to copy it back, and then delete the
gfx/webrender_api, and gfx/wrench folders and use |cp -R| to copy them in gfx/wr/.git/ subfolder. Update the revision in
again from the webrender repo, and then delete the gfx/wrench/reftests, gfx/webrender_bindings/revision.txt file with the git changeset hash.
gfx/wrench/benchmarks, and gfx/wrench/script folders. Update the revision
in gfx/webrender_bindings/revision.txt file with the git changeset hash.
- If you need to modify webrender_bindings/Cargo.toml file, do so now. Changes - If you need to modify webrender_bindings/Cargo.toml file, do so now. Changes
at this step usually consist of: at this step usually consist of:
(a) Updating version numbers. Go through the version numbers of ALL the (a) Updating version numbers. Go through the version numbers of ALL the
dependencies in the Cargo.toml file (webrender, euclid, etc.) and make dependencies in the Cargo.toml file (webrender, euclid, etc.) and make
sure the version numbers listed match what's in the new sure the version numbers listed match what's in the new
gfx/webrender/Cargo.toml and gfx/webrender_api/Cargo.toml files. gfx/wr/webrender/Cargo.toml and gfx/wr/webrender_api/Cargo.toml files.
(b) Turning on or off any new features that were added in upstream WR. This (b) Turning on or off any new features that were added in upstream WR. This
used to happen a lot but is pretty rare now. used to happen a lot but is pretty rare now.
- Go to toolkit/library/rust and run |cargo update -p webrender -p webrender_api|. - Go to toolkit/library/rust and run |cargo update -p webrender -p webrender_api|.

Просмотреть файл

@ -34,9 +34,7 @@ gfx/qcms/
gfx/sfntly/ gfx/sfntly/
gfx/skia/ gfx/skia/
gfx/vr/service/openvr/ gfx/vr/service/openvr/
gfx/webrender/ gfx/wr/
gfx/webrender_api/
gfx/wrench/
gfx/ycbcr/ gfx/ycbcr/
intl/hyphenation/hyphen/ intl/hyphenation/hyphen/
intl/icu/ intl/icu/