Bug 1869043 add a main thread record of track audio outputs r=padenot
[gecko.git] / gfx / skia / README_MOZILLA
blobaf7a00374334ff99396f2052a157c3859ada4872
1 This is an import of Skia. See skia/include/core/SkMilestone.h for the milestone number.
3 Current upstream hash: 4655534302e6a3601c77eae70cc65b202609ab66 (milestone 79)
5 How to update
6 =============
8 To update to a new version of Skia:
10 - Clone Skia from upstream using the instructions here: https://skia.org/user/download
11   Usually: `git clone https://skia.googlesource.com/skia`
12 - Checkout the wanted revision (`git checkout -b <hash>`). See below for the current
13   hash.
14 - Copy the entire source tree from a Skia clone to mozilla-central/gfx/skia/skia
15   (make sure that . files are also copied as .gn is mandatory).
16 - Download gn: cd gfx/skia/skia/bin && python fetch-gn && cd -
17   Note that these scripts might need Python 2.7. Please use a virtualenv if needed.
18 - cd gfx/skia && ./generate_mozbuild.py
20 Once that's done, use git status to view the files that have changed. Keep an eye on GrUserConfig.h
21 and SkUserConfig.h as those probably don't want to be overwritten by upstream versions.
23 This process will be made more automatic in the future.
25 Debug
26 =====
28 In case of issues when updating, run the command manually.
29 For example, if the following error occurs:
30 `subprocess.CalledProcessError: Command 'cd skia && bin/gn gen out/linux --args='target_os="linux" ' > /dev/null && bin/gn desc out/linux :skia sources' returned non-zero exit status 1`
31 Run:
32 `cd skia && bin/gn gen out/linux --args='target_os="linux"'`
33 and look at the errors.