2015-01-05 19:17:27 +00:00
|
|
|
How to download Skia
|
|
|
|
====================
|
|
|
|
|
2018-01-10 14:55:05 +00:00
|
|
|
Install `depot_tools` and Git
|
2015-11-09 19:47:09 +00:00
|
|
|
---------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
Follow the instructions on [Installing Chromium's
|
|
|
|
depot_tools](http://www.chromium.org/developers/how-tos/install-depot-tools)
|
2018-01-10 14:55:05 +00:00
|
|
|
to download `depot_tools` (which includes gclient, git-cl, and Ninja).
|
|
|
|
Below is a summary of the necessary steps.
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
<!--?prettify lang=sh?-->
|
|
|
|
|
|
|
|
git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
|
|
|
|
export PATH="${PWD}/depot_tools:${PATH}"
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2018-01-10 14:55:05 +00:00
|
|
|
`depot_tools` will also install Git on your system, if it wasn't installed
|
2015-11-09 19:47:09 +00:00
|
|
|
already.
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
Clone the Skia repository
|
|
|
|
-------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2018-01-10 14:55:05 +00:00
|
|
|
Skia can either be cloned using `git` or the `fetch` tool that is
|
|
|
|
installed with `depot_tools`.
|
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
<!--?prettify lang=sh?-->
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2017-01-13 14:05:46 +00:00
|
|
|
git clone https://skia.googlesource.com/skia.git
|
2018-01-10 14:55:05 +00:00
|
|
|
# or
|
|
|
|
# fetch skia
|
2015-11-09 19:47:09 +00:00
|
|
|
cd skia
|
2017-01-13 14:05:46 +00:00
|
|
|
python tools/git-sync-deps
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-16 15:37:23 +00:00
|
|
|
Getting started with Skia
|
|
|
|
-------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2018-01-10 14:55:05 +00:00
|
|
|
You will probably now want to [build](./build) Skia.
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-16 15:37:23 +00:00
|
|
|
Changing and contributing to Skia
|
|
|
|
---------------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
At this point, you have everything you need to build and use Skia! If
|
|
|
|
you want to make changes, and possibly contribute them back to the Skia
|
|
|
|
project, read [How To Submit a Patch](../dev/contrib/submit).
|