2015-01-05 19:17:27 +00:00
|
|
|
How to download Skia
|
|
|
|
====================
|
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
Install depot_tools and Git
|
|
|
|
---------------------------
|
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)
|
|
|
|
to download depot_tools (which includes gclient, git-cl, and Ninja).
|
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
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
depot_tools will also install Git on your system, if it wasn't installed
|
|
|
|
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
|
|
|
|
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
|
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
|
|
|
|
2016-11-04 16:32:07 +00:00
|
|
|
You 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).
|